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
cpp-string
c-string
swift-string
bash
go-string
php-string
c#-string
java-string
vbnet-string
cobol
python-string
rust-string
scala-string
javascript-string
cpp-vector
pascal-array
f#
opengl
typescript-string
c-array
swift-array
php-array
javascript-array
rust-vector
typescript-array
python-list
scala-array
reactjs
c-windows
nodejs-string
go-array
nodejs-array
kotlin-array
sdl2
cpp-matrix
cpp-array
c-matrix
sdl3
c#-list
vbnet-list
java-array
pascal-matrix
c#-array
swift-matrix
c#-matrix
go-slice
nodejs-express
character-code-ascii-unicode
kotlin-matrix
typescript-matrix
vbnet-array
angularjs
split-string-into-array-by-delimiter
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
rust-matrix
go-matrix
kotlin-list
swap-two-numbers-without-third
swap-two-numbers
mask-number-stars-except-last-4-digits
remove-characters-first-string-from-second-string
generate-8-digit-random-number
compare-two-dates
Disclosure:
My content contains affiliate links.
Recent questions tagged c
43,500
questions
56,675
answers
573
users
Recent questions tagged c
2
answers
24
views
How to remove file extension in C
asked
19 hours
ago
by
avibootz
c
c-remove-file-extension
remove-file-extension
3
answers
35
views
How to print a variable inside quotation marks in C
asked
2 days
ago
by
avibootz
c
c-print-variable-inside-quotation-marks
print-variable-inside-quotation-marks
1
answer
27
views
How to extract whole numbers not adjacent to letters <8408<f16f15>9387541<47g28<829o... in C
asked
2 days
ago
by
avibootz
c
c-extract-numbers-pattern
extract-numbers-pattern
2
answers
52
views
How to compare floating-point values safely in C
asked
5 days
ago
by
avibootz
c
c-floating-point
c-compare-floating-point-safely
compare-floating-point-safely
1
answer
47
views
How to initialize array elements in C
asked
6 days
ago
by
avibootz
c
c-array
c-initialize-array-elements
initialize-array-elements
1
answer
43
views
How to generate a range of floating-point numbers in C
asked
Oct 4
by
avibootz
c
c-floating-point
c-generate-range-floating-point-numbers
generate-range-floating-point-numbers
1
answer
60
views
How to hash a string and detect collision in C
asked
Oct 3
by
avibootz
c
c-string
c-hash-string-detect-collision
hash-string-detect-collision
1
answer
52
views
How to hash a string in C
asked
Oct 3
by
avibootz
c
c-string
c-hash-string
hash-string
1
answer
45
views
How to retrieve k random numbers from a vector of unknown size at compile time in C
asked
Oct 2
by
avibootz
c
c-k-random-numbers-array-unknown-size-compile-time
k-random-numbers-array-unknown-size-compile-time
1
answer
59
views
How to use XOR to swap two characters in a string in C
asked
Sep 29
by
avibootz
c
c-xor-swap-two-characters-string
xor-swap-two-characters-string
1
answer
52
views
How does XOR work for swapping values in C
asked
Sep 29
by
avibootz
c
c-xor-swapping-values
xor-swapping-values
1
answer
73
views
How to find the intersection of two arrays (values that exist in both arrays) in C
asked
Sep 27
by
avibootz
c
c-intersection-two-arrays
intersection-two-arrays
1
answer
77
views
How to check whether the letters of a word exist in a string (order doesn't matter) in C
asked
Sep 26
by
avibootz
c
c-letters-of-word-exist-in-string-order-doesnt-matter
letters-of-word-exist-in-string-order-doesnt-matter
1
answer
68
views
How to find the element with minimum occurrences in an array with C
asked
Sep 25
by
avibootz
c
c-element-minimum-occurrences-array
element-minimum-occurrences-array
1
answer
77
views
How to convert multiple date formats to YYYY-MM-DD in C
asked
Sep 24
by
avibootz
c
c-convert-date-formats-to-yyyy-mm-dd
convert-convert-date-formats-to-yyyy-mm-dd
1
answer
59
views
How to sort a list of string‑based dates in C
asked
Sep 23
by
avibootz
c
c-sort-list-string-based-dates
sort-list-string-based-dates
1
answer
64
views
How to print a number with a thousand separator as spaces in C
asked
Sep 21
by
avibootz
c
c-number-thousand-separator-spaces
number-thousand-separator-spaces
1
answer
57
views
How to use Big O notation includes O(1), O(n), O(log n), O(n log n), and O(n²) examples in C
asked
Sep 21
by
avibootz
c
c-big-o-notation-examples
big-o-notation-examples
1
answer
75
views
How to compare two dates in C
asked
Sep 20
by
avibootz
c
c-compare-two-dates
compare-two-dates
1
answer
67
views
How to get the country name from the 2-letter country code (alpha-2) in C
asked
Sep 19
by
avibootz
c
c-country-name-from-country-code
country-name-from-country-code
1
answer
76
views
How to extract all floating-point numbers from a string of words in C
asked
Sep 17
by
avibootz
c
c-extract-all-floating-point-numbers-string
extract-all-floating-point-numbers-string
1
answer
84
views
How to extract all digits from a string in C
asked
Sep 16
by
avibootz
c
c-extract-all-digits-string
extract-all-digits-string
2
answers
90
views
How to format currency into millions of dollars in C
asked
Sep 16
by
avibootz
c
c-format-currency-into-millions-of-dollars
format-currency-into-millions-of-dollars
1
answer
81
views
How to select N unique random values that appear exactly once in an existing array with C
asked
Sep 13
by
avibootz
c
c-n-unique-random-values-appear-once-in-array
n-unique-random-values-appear-once-in-array
1
answer
82
views
How to select N unique random indices from an existing array in C
asked
Sep 12
by
avibootz
c
c-select-n-unique-random-indices-array
select-n-unique-random-indices-array
1
answer
84
views
How to find common words in two strings with C
asked
Sep 11
by
avibootz
c
c-stiring
c-find-common-words-two-strings
find-common-words-two-strings
1
answer
82
views
How to compute the factorial of a number greater than 20 in C
asked
Sep 11
by
avibootz
c
c-compute-factorial-of-number-greater-20
compute-factorial-of-number-greater-20
1
answer
72
views
How to check if a double variable contains an integer and not a floating point or a floating-point tolerance in C
asked
Sep 10
by
avibootz
c
c-check-double-contains-integer-floating-point-tolerance
check-double-contains-integer-floating-point-tolerance
2
answers
108
views
How to generate all trigrams (3-character sequences) from a given word in C
asked
Sep 9
by
avibootz
c
c-generate-all-trigrams-given-word
generate-all-trigrams-given-word
1
answer
88
views
How to compare two float arrays for exact equality in C
asked
Sep 9
by
avibootz
c
c-compare-two-float-arrays-exact-equality
compare-two-float-arrays-exact-equality
1
answer
89
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
136
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
85
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
97
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
86
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
87
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
94
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
84
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
104
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
98
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
90
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
83
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
87
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
80
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
98
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
98
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
141
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
98
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
96
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
104
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
Page:
1
2
3
4
5
6
...
85
next »
...