Remember
Register
Search With
Seek4Info.com
Programming & Software Q&A | CollectiveSolver
Questions
Tags
Users
Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.
Contact: aviboots(AT)netvision.net.il
Most popular tags
python
c
java
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
dart
vbnet
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
php-string
cobol
c#-string
java-string
vbnet-string
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
swift-array
typescript-string
c-array
php-array
javascript-array
rust-vector
typescript-array
python-list
reactjs
scala-array
c-windows
nodejs-string
go-array
kotlin-array
nodejs-array
sdl2
cpp-matrix
sdl3
c-matrix
cpp-array
c#-list
vbnet-list
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
angularjs
split-string-into-array-by-delimiter
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
longest-substring-without-repeating-characters
calculate-volume-cube
divide-given-amount-into-bills-coins
convert-decimal-number-to-rational-number
count-non-overlapping-instances-substring-in-string
print-floyds-triangle
case-insensitively-check-character-exists-in-string
calculate-area-pentagon
Disclosure:
My content contains affiliate links.
Recent questions tagged c
42,943
questions
55,787
answers
573
users
Recent questions tagged c
1
answer
3
views
How to sort a nested struct inside an array using custom comparison logic in C
asked
4 hours
ago
by
avibootz
c
c-sort-array-of-structs-contain-nested-structs
sort-array-of-structs-contain-nested-structs
1
answer
8
views
How to find the N most frequent non‑stopwords in a text in C
asked
1 day
ago
by
avibootz
c
c-n-most-frequent-non-stopwords-text
n-most-frequent-non-stopwords-text
1
answer
5
views
How to find the starting index of all occurrences of a word in a string in C
asked
2 days
ago
by
avibootz
c
c-find-starting-index-all-occurrences-word-string
find-starting-index-all-occurrences-word-string
1
answer
9
views
How to find the 3 products with the minimum cost from a given array in C
asked
2 days
ago
by
avibootz
c
products-with-minimum-cost-from-array
1
answer
18
views
How to convert any digital storage unit into all others (B, KB, MB, GB, TB, PB, EB, ZB, YB) in C
asked
4 days
ago
by
avibootz
c
c-convert-any-digital-storage-unit-into-all-others
convert-any-digital-storage-unit-into-all-others
1
answer
18
views
How to write the Tic-Tac-Toe game in C
asked
5 days
ago
by
avibootz
c
c-tic-tac-toe-game
tic-tac-toe-game
1
answer
31
views
How to generate a random RGBA color and opacity in C
asked
6 days
ago
by
avibootz
c
c-generate-random-rgba-color-opacity
generate-random-rgba-color-opacity
1
answer
32
views
How to generate a series of unique HEX colors in C
asked
Aug 23
by
avibootz
c
c-generate-series-unique-hex-colors
generate-series-unique-hex-colors
2
answers
45
views
How to print the numbers 0 to 31 by changing 1 bit each time in C
asked
Aug 21
by
avibootz
c
c-print-0-31-changing-1-bit-each-time
print-0-31-changing-1-bit-each-time
1
answer
38
views
How to find the first and last 10‑digit prime numbers in C
asked
Aug 21
by
avibootz
c
c-first-last-10-digit-prime-numbers
first-last-10-digit-prime-numbers
1
answer
38
views
How to find the next number in the series 1, 8, 27, 64, 125, 216 using C
asked
Aug 20
by
avibootz
c
c-find-next-number-in-series-1-8-27-64-125-216
find-next-number-in-series-1-8-27-64-125-216
1
answer
53
views
How to generate N random 1s in a zero-based matrix with C
asked
Aug 19
by
avibootz
c
c-matrix
c-generate-n-random-1-zero-based-matrix
generate-n-random-1-zero-based-matrix
1
answer
55
views
How to initialize an array with a range of numbers in C
asked
Aug 18
by
avibootz
c
c-initialize-array-range-of-numbers
initialize-array-range-of-numbers
1
answer
58
views
How to do modulo multiplication for 64‑bit values without using BigInteger in C
asked
Aug 16
by
avibootz
c
c-modulo-multiplication-64-bit-values-without-biginteger
modulo-multiplication-64-bit-values-without-biginteger
1
answer
68
views
How to build sparse array in C
asked
Aug 14
by
avibootz
c
c-build-sparse-array
build-sparse-array
1
answer
70
views
How to generates all valid permutations of parentheses for a given n in C
asked
Aug 14
by
avibootz
c
c-generates-all-valid-permutations-of-parentheses-given-n
generates-all-valid-permutations-of-parentheses-given-n
1
answer
102
views
How to extract and sort numbers from a string containing numbers and text in C
asked
Aug 12
by
avibootz
c
c-extract-sort-numbers-string
extract-sort-numbers-string
1
answer
77
views
How to convert radians to degrees and degrees to radians in C
asked
Aug 11
by
avibootz
c
c-convert-radians-degrees-degrees-radians
convert-radians-degrees-degrees-radians
1
answer
74
views
How to find the N smallest values in a 2D array in C
asked
Aug 9
by
avibootz
c
c-find-n-smallest-values-2d-array
find-n-smallest-values-2d-array
1
answer
60
views
How to generate all possible 3X3 magic squares in C
asked
Aug 9
by
avibootz
c
c-generate-all-possible-3-3-magic-squares
generate-all-possible-3-3-magic-squares
1
answer
74
views
How to sort an array with a single loop in C
asked
Aug 8
by
avibootz
c
c-sort-array-with-single-loop
cpp-sort-array-with-single-loop
1
answer
74
views
How to remove extra whitespace from a string in C
asked
Aug 7
by
avibootz
c
c-remove-extra-whitespace-string
remove-extra-whitespace-string
1
answer
76
views
How to calculate the distance between two latitude-longitude points in C
asked
Aug 7
by
avibootz
c
c-distance-between-two-latitude-longitude-points
distance-between-two-latitude-longitude-points
1
answer
70
views
How to convert a decimal to a long in C
asked
Aug 6
by
avibootz
c
c-convert-decimal-to-long
convert-decimal-to-long
1
answer
68
views
How to generate a random 3×3 magic square in C
asked
Aug 6
by
avibootz
c
c-generate-random-3-3-magic-square
generate-random-3-3-magic-square
2
answers
105
views
How to generate a random 4×4 binary magic square (using only 0 and 1) in C
asked
Aug 5
by
avibootz
c
c-generate-random-4-4-binary-magic-square-only-0-1
generate-random-4-4-binary-magic-square-only-0-1
1
answer
62
views
How to search a string using bitwise operators C
asked
Aug 5
by
avibootz
c
c-search-string-using-bitwise-operators
search-string-using-bitwise-operators
4
answers
133
views
How to remove duplicate words with Unicode characters from free‑text in C
asked
Aug 3
by
avibootz
c
c-remove-duplicate-words-unicode-free-text
remove-duplicate-words-unicode-free-text
1
answer
79
views
How to remove duplicate words from free‑text in C
asked
Aug 2
by
avibootz
c
c-remove-duplicate-words-from-free-text
remove-duplicate-words-from-free-text
2
answers
86
views
How to remove duplicate case‑insensitive words separated by multiple delimiters from a string in C
asked
Aug 1
by
avibootz
c
c-remove-duplicate-case-insensitive-words-multiple-delimiters-from-string
remove-duplicate-case-insensitive-words-multiple-delimiters-from-string
2
answers
95
views
How to perform high‑performance reversible text compression using a word dictionary in C
asked
Jul 31
by
avibootz
c
c-text-compression-using-word-dictionary
text-compression-using-word-dictionary
1
answer
76
views
How to determine whether a point lies inside a 2D triangle in C
asked
Jul 31
by
avibootz
c
c-determine-point-inside-2d-triangle
determine-point-inside-2d-triangle
1
answer
85
views
How to traverse an array from both sides at the same time in C
asked
Jul 30
by
avibootz
c
c-traverse-array-both-sides-same-time
traverse-array-both-sides-same-time
2
answers
99
views
How to compute the total number of Powerball lottery combinations (5 out of 99 and 1 out of 26) in C
asked
Jul 28
by
avibootz
c
c-compute-total-number-powerball-lottery-combinations-5-99-and-1-26
compute-total-number-powerball-lottery-combinations-5-99-and-1-26
1
answer
70
views
How to generate random lottery numbers for 6 numbers out of 37 and 1 power number out of 7 in C
asked
Jul 28
by
avibootz
c
c-generate-random-lottery-numbers-for-6-out-of-37-power-1-out-of-7
generate-random-lottery-numbers-for-6-out-of-37-power-1-out-of-7
1
answer
77
views
How to compute the total number of lottery combinations for choosing 6 out of 37 and 1 power out of 7 in C
asked
Jul 26
by
avibootz
c
c-total-lottery-combinations-choosing-6-out-of-37-power-1-out-of-7
total-lottery-combinations-choosing-6-out-of-37-power-1-out-of-7
1
answer
66
views
How to compute the total number of lottery combinations for choosing 6 numbers out of 37 in C
asked
Jul 26
by
avibootz
c
c-total-lottery-combinations-choosing-6-out-of-37
total-lottery-combinations-choosing-6-out-of-37
1
answer
79
views
How to implement the equal algorithm to check whether two integer ranges are equal in C
asked
Jul 26
by
avibootz
c
c-equal
c-implement-equal-algorithm
implement-equal-algorithm
check-whether-two-integer-ranges-equal
1
answer
72
views
How to implement the find_if_not algorithm to find the first element not satisfying a predicate in C
asked
Jul 26
by
avibootz
c
c-find-if-not
c-implement-find-if-not-algorithm
implement-find-if-not-algorithm
find-first-element-not-satisfying-predicate
1
answer
82
views
How to implement the copy_n algorithm to copy N elements in C
asked
Jul 26
by
avibootz
c
c-copy-n
c-implement-copy-n-algorithm
implement-copy-n-algorithm
copy-n-elements
1
answer
76
views
How to implement the copy_if algorithm to copy elements satisfying a predicate in C
asked
Jul 26
by
avibootz
c
c-copy_if
c-implement-copy-if-algorithm
implement-copy-if-algorithm
copy-elements-satisfying-predicate
1
answer
78
views
How to implement the is_permutation algorithm to check if two ranges are permutations in C
asked
Jul 26
by
avibootz
c
c-is-permutation
c-implement-is-permutation-algorithm
implement-is-permutation-algorithm
check-two-ranges-permutations
1
answer
67
views
How to find the Nth set bit in a 64‑bit integer with C
asked
Jul 25
by
avibootz
c
c-find-n-set-bit-in-64-bit-integer
find-n-set-bit-in-64-bit-integer
1
answer
80
views
How to find the Nth set bit in a 32‑bit integer with C
asked
Jul 24
by
avibootz
c
c-find-n-set-bit-in-32-bit-integer
find-n-set-bit-in-32-bit-integer
1
answer
80
views
How to implement is_partitioned algorithm to check whether an array is partitioned according to a predicate in C
asked
Jul 24
by
avibootz
c
c-is-partitioned
c-implement-is-partitioned-algorithm
implement-is-partitioned-algorithm
1
answer
88
views
How to implement the is_sorted algorithm to check if an array is sorted in increasing order in C
asked
Jul 24
by
avibootz
c
c-is-sorted
c-implement-is-sorted-algorithm
implement-is-sorted-algorithm
check-array-sorted-increasing
1
answer
73
views
How to implement the one_of_equal algorithm to check if exactly one element is equal to a value in C
asked
Jul 24
by
avibootz
c
c-one-of-equal
c-implement-one-of-equal-algorithm
implement-one-of-equal-algorithm
1
answer
78
views
How to implement the none_of_equal algorithm to check if no element equal to a value in C
asked
Jul 24
by
avibootz
c
c-none-of-equal
c-implement-none-of-equal-algorithm
implement-none-of-equal-algorithm
1
answer
73
views
How to implement the any_of_equal algorithm to check if any element equal to a value in C
asked
Jul 24
by
avibootz
c
c-any-of-equal
c-implement-any-of-equal-algorithm
implement-any-of-equal-algorithm
1
answer
80
views
How to implement the all_of_equal algorithm to check if all elements are equal to a value in C
asked
Jul 24
by
avibootz
c
c-all-of-equal
c-implement-all-of-equal-algorithm
implement-all-of-equal-algorithm
Page:
1
2
3
4
5
6
...
85
next »
...