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
swift-string
c-string
cpp-string
go-string
php-string
c#-string
cobol
java-string
vbnet-string
rust-string
python-string
scala-string
cpp-vector
f#
opengl
javascript-string
pascal-array
typescript-string
swift-array
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
remove-stop-words-string
check-whether-floating-point-variable-is-integer
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
Disclosure:
My content contains affiliate links.
Recent questions tagged c
43,161
questions
56,039
answers
573
users
Recent questions tagged c
1
answer
9
views
How to select N unique random values that appear exactly once in an existing array with C
asked
2 days
ago
by
avibootz
c
c-n-unique-random-values-appear-once-in-array
n-unique-random-values-appear-once-in-array
1
answer
18
views
How to select N unique random indices from an existing array in C
asked
3 days
ago
by
avibootz
c
c-select-n-unique-random-indices-array
select-n-unique-random-indices-array
1
answer
28
views
How to find common words in two strings with C
asked
4 days
ago
by
avibootz
c
c-stiring
c-find-common-words-two-strings
find-common-words-two-strings
1
answer
23
views
How to compute the factorial of a number greater than 20 in C
asked
4 days
ago
by
avibootz
c
c-compute-factorial-of-number-greater-20
compute-factorial-of-number-greater-20
1
answer
21
views
How to check if a double variable contains an integer and not a floating point or a floating-point tolerance in C
asked
5 days
ago
by
avibootz
c
c-check-double-contains-integer-floating-point-tolerance
check-double-contains-integer-floating-point-tolerance
2
answers
33
views
How to generate all trigrams (3-character sequences) from a given word in C
asked
6 days
ago
by
avibootz
c
c-generate-all-trigrams-given-word
generate-all-trigrams-given-word
1
answer
33
views
How to compare two float arrays for exact equality in C
asked
6 days
ago
by
avibootz
c
c-compare-two-float-arrays-exact-equality
compare-two-float-arrays-exact-equality
1
answer
38
views
How to compare two float arrays using a tolerance in C
asked
Sep 8
by
avibootz
c
c-compare-two-float-arrays-tolerance
compare-two-float-arrays-tolerance
2
answers
57
views
How to split text without spaces into a list of words using dictionary-based segmentation in C
asked
Sep 6
by
avibootz
c
c-split-text-without-spaces-into-words-dictionary
split-text-without-spaces-into-words-dictionary
1
answer
40
views
How to convert numbers from 0 to 999,999,999,999,999 (up to 999 trillion) into English words in C
asked
Sep 5
by
avibootz
c
c-convert-numbers-0-999999999999999-english-words
convert-numbers-0-999999999999999-english-words
1
answer
40
views
How to generate all subsets of a given set using an iterative algorithm in C
asked
Sep 5
by
avibootz
c
c-all-subsets-set
all-subsets-set
1
answer
38
views
How to parse a table into a binary tree in C
asked
Sep 4
by
avibootz
c
c-parse-table-into-binary-tree
parse-table-into-binary-tree
1
answer
35
views
How to implement a queue using two stacks in C
asked
Sep 4
by
avibootz
c
c-implement-queue-two-stacks
implement-queue-two-stacks
1
answer
36
views
How to declare, initialize, and print a complex data structure in C
asked
Sep 4
by
avibootz
c
c-declare-initialize-print-complex-data-structure
declare-initialize-print-complex-data-structure
1
answer
42
views
How to declare, initialize, and print a medium complexity, varied, feature‑rich data structure in C
asked
Sep 2
by
avibootz
c
c-declare-initialize-print-medium-complexity-data-structure
declare-initialize-print-medium-complexity-data-structure
1
answer
59
views
How to sort an array of structs that contain nested structs using custom comparison logic in C
asked
Aug 31
by
avibootz
c
c-sort-array-of-structs-contain-nested-structs
sort-array-of-structs-contain-nested-structs
1
answer
52
views
How to find the N most frequent non‑stopwords in a text in C
asked
Aug 30
by
avibootz
c
c-n-most-frequent-non-stopwords-text
n-most-frequent-non-stopwords-text
1
answer
43
views
How to find the starting index of all occurrences of a word in a string in C
asked
Aug 29
by
avibootz
c
c-find-starting-index-all-occurrences-word-string
find-starting-index-all-occurrences-word-string
1
answer
29
views
How to find the 3 products with the minimum cost from a given array in C
asked
Aug 29
by
avibootz
c
products-with-minimum-cost-from-array
1
answer
43
views
How to convert any digital storage unit into all others (B, KB, MB, GB, TB, PB, EB, ZB, YB) in C
asked
Aug 27
by
avibootz
c
c-convert-any-digital-storage-unit-into-all-others
convert-any-digital-storage-unit-into-all-others
1
answer
39
views
How to write the Tic-Tac-Toe game in C
asked
Aug 26
by
avibootz
c
c-tic-tac-toe-game
tic-tac-toe-game
1
answer
58
views
How to generate a random RGBA color and opacity in C
asked
Aug 25
by
avibootz
c
c-generate-random-rgba-color-opacity
generate-random-rgba-color-opacity
1
answer
54
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
78
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
60
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
56
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
75
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
73
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
79
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
87
views
How to build sparse array in C
asked
Aug 14
by
avibootz
c
c-build-sparse-array
build-sparse-array
1
answer
88
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
112
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
91
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
91
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
82
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
90
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
89
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
89
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
87
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
77
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
121
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
73
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
174
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
94
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
113
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
114
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
88
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
101
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
110
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
84
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
Page:
1
2
3
4
5
6
...
85
next »
...