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
java
c
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
dart
r
css
bootstrap
win32
groovy
vbnet
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
cobol
c#-string
php-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
cpp-array
c#-list
vbnet-list
c-matrix
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
sdl3
angularjs
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
calculate-area-pentagon
measure-function-execution-time
sort-words-string
exabyte-constant
petabyte-constant
terabyte-constant
math-functions-constants
string-to-title-case
create-infinite-loop
Disclosure:
My content contains affiliate links.
Recent questions tagged C
41,776
questions
54,461
answers
573
users
Recent questions tagged C
1
answer
56
views
How to check if a given array is a sparse array in C
asked
Apr 23
by
avibootz
c
c-check-sparse-array
check-sparse-array
1
answer
51
views
How to search for a word in a grid of characters with C
asked
Apr 23
by
avibootz
c
c-search
c-grid
c-search-word-grid-characters
search-word-grid-characters
1
answer
66
views
How to extract a substring between two tags [start] [end] in a string with C
asked
Apr 20
by
avibootz
c
c-extract-substring-between-two-tags
extract-substring-between-two-tags
3
answers
67
views
How to localize date format in C
asked
Apr 19
by
avibootz
c
c-localize-date-format
localize-date-format
1
answer
55
views
How to get the number of days needed to wait after a day (a[i]) gets warmer given an array of temperatures in C
asked
Apr 18
by
avibootz
c
c-daily-temperatures-days-wait-gets-warmer
daily-temperatures-days-wait-gets-warmer
1
answer
48
views
How to check if a string is title case in C
asked
Apr 17
by
avibootz
c
c-check-string-title-case
check-string-title-case
1
answer
57
views
How to create a doubly linked list in C
asked
Apr 15
by
avibootz
c
c-create-doubly-linked-list
create-doubly-linked-list
2
answers
75
views
How to represent the Boolean "true" and "false" in C
asked
Apr 14
by
avibootz
c
c-represent-boolean-true-false
represent-boolean-true-false
1
answer
61
views
How to find the next number in the series 14, 25, 47, 91 with C
asked
Apr 14
by
avibootz
c
c-next-number-series-14-25-47-91
next-number-series-14-25-47-91
1
answer
52
views
How to print all possible permutations (all possible orderings) of the words in C
asked
Apr 14
by
avibootz
c
c-all-possible-permutations-words
all-possible-permutations-words
1
answer
55
views
What is the difference between Math.Floor() and Math.Truncate() in c
asked
Apr 13
by
avibootz
c
c-difference-math-floor-math-truncate
1
answer
46
views
How to calculate relative past time from a given date & time (e.g., 3 hours ago, 5 days ago, a month ago) in C
asked
Apr 13
by
avibootz
c
c-calculate-relative-past-time-date-time
calculate-relative-past-time-date-time
1
answer
46
views
How to create a singly linked list in C
asked
Apr 11
by
avibootz
c
c-create-singly-linked-list
create-singly-linked-list
1
answer
42
views
How to find the common free time for all employees from an array of non-overlapping intervals in C
asked
Apr 11
by
avibootz
c
c-common-free-time-array-of-non-overlapping-intervals
common-free-time-array-of-non-overlapping-intervals
4
answers
70
views
How to create an infinite loop in C
asked
Apr 10
by
avibootz
c
c-create-infinite-loop
create-infinite-loop
1
answer
55
views
How to remove the minimum number of intervals so that the remaining intervals do not overlap in C
asked
Apr 10
by
avibootz
c
c-remove-minimum-intervals-remaining-do-not-overlap
remove-minimum-intervals-remaining-do-not-overlap
1
answer
75
views
How to add a new interval into a sorted array of non‑overlapping intervals in C
asked
Apr 9
by
avibootz
c
c-add-interval-into-sorted-array-non-overlapping-intervals
add-interval-into-sorted-array-non-overlapping-intervals
1
answer
45
views
How to detect whether any intervals overlap in an array of start and end times with C++
asked
Apr 7
by
avibootz
c
c-detect-intervals-overlap-array-start-end-times
detect-intervals-overlap-array-start-end-times
1
answer
61
views
How to print text diagonally from left to right recursively in C
asked
Apr 7
by
avibootz
c
c-print-text-diagonally-from-left-to-right-recursively
print-text-diagonally-from-left-to-right-recursively
1
answer
41
views
How to find the maximum value we can achieve by picking k elements from an array in C
asked
Apr 5
by
avibootz
c
c-maximum-value-k-elements-array
maximum-value-k-elements-array
1
answer
82
views
How to print text diagonally from left to right in C
asked
Apr 5
by
avibootz
c
c-print-text-diagonally-from-left-to-right
print-text-diagonally-from-left-to-right
1
answer
56
views
How to check whether only 2 bits in a number at a specific position are on (edge‑case‑safe) with C
asked
Apr 3
by
avibootz
c
c-check-2-number-bits-specific-position-on-edge-case-safe
check-2-number-bits-specific-position-on-edge-case-safe
1
answer
48
views
How to check whether only 2 bits in an array of bits at a specific position are on (edge‑case‑safe) with C
asked
Apr 3
by
avibootz
c
c-check-2-array-bits-specific-position-on-edge-case-safe
check-2-array-bits-specific-position-on-edge-case-safe
3
answers
99
views
How to write 4 different functions that check if a number is a power of 2 in C
asked
Apr 2
by
avibootz
c
c-different-functions-check-number-power-of-2
different-functions-check-number-power-of-2
1
answer
56
views
How to write 6 different functions that accept 5 or 7 and return the other number, without using if,switch in C
asked
Mar 31
by
avibootz
c
c-different-functions-accept-5-7-return-other-number
different-functions-accept-5-7-return-other-number
1
answer
61
views
How to copy bits from M into N (numbers) between bit positions i and j (edge‑case‑safe) in C
asked
Mar 29
by
avibootz
c
c-bits
c-copy-bits-m-into-n-between-positions-edge-case-safe
copy-bits-m-into-n-between-positions-edge-case-safe
1
answer
48
views
How to filter elements from an array into a new array (edge‑case‑safe) in C
asked
Mar 29
by
avibootz
c
c-array
c-filter-elements-array-edge-case-safe
filter-elements-array-edge-case-safe
1
answer
59
views
How to get the word before the last word from a string (edge‑case‑safe) in C
asked
Mar 28
by
avibootz
c
c-string
c-get-word-before-last-string-edge-case-safe
get-word-before-last-string-edge-case-safe
1
answer
61
views
How to find the median among three given numbers in C
asked
Mar 26
by
avibootz
c
c-median-among-three-given-numbers
median-among-three-given-numbers
1
answer
49
views
How to find the smallest number greater than a given number, using the same digits in C
asked
Mar 25
by
avibootz
c
c-smallest-number-greater-given-number-same-digits
smallest-number-greater-given-number-same-digits
1
answer
60
views
How to produce a sequential count in octal, starting at zero in C
asked
Mar 24
by
avibootz
c
c-sequential-count-octal
sequential-count-octal
3
answers
64
views
How to create an associative-like array (key-value array) in C
asked
Mar 21
by
avibootz
c
c-associative-array
associative-array
1
answer
55
views
How to apply callback to dynamically allocated 2D array in C
asked
Mar 19
by
avibootz
c
c-apply-callback-dynamically-allocated-2d-array
apply-callback-dynamically-allocated-2d-array
1
answer
48
views
How to apply callback to fixed‑size 2D array in C
asked
Mar 19
by
avibootz
c
c-apply-callback-fixed-size-2d-array
apply-callback-fixed-size-2d-array
1
answer
61
views
How to use callback with arrays of structs (apply callback to each struct) in C
asked
Mar 19
by
avibootz
c
c-callback-arrays-of-structs
callback-arrays-of-structs
2
answers
58
views
How to apply a callback to an array (apply a function to each element) in C
asked
Mar 19
by
avibootz
c
c-callback-to-array
callback-to-array
1
answer
59
views
How to calculate the Ethiopian multiplication in C
asked
Mar 17
by
avibootz
c
c-ethiopian-multiplication
ethiopian-multiplication
1
answer
53
views
How to calculate the percentage of a percentage in C
asked
Mar 17
by
avibootz
c
c-percentage-of-percentage
percentage-of-percentage
1
answer
51
views
How to calculate the percentage change between two values in C
asked
Mar 15
by
avibootz
c
c-percentage-change-between-two-values
percentage-change-between-two-values
1
answer
54
views
How to write the 7 Boom game. If a number is divided by 7 or includes the digit 7, the user writes Boom in C
asked
Mar 15
by
avibootz
c
c-7-boom-game
7-boom-game
1
answer
60
views
How to find the longest shared prefix among all words in a string with C
asked
Mar 13
by
avibootz
c
c-longest-shared-prefix-words-string
longest-shared-prefix-words-string
1
answer
57
views
How to group words in a string by the first N letters in C
asked
Mar 13
by
avibootz
c
c-group-words-string-first-n-letter
group-words-string-first-n-letter
1
answer
60
views
How to find the longest common prefix of all the words in a string with C
asked
Mar 11
by
avibootz
c
c-longest-common-prefix-all-words-string
longest-common-prefix-all-words-string
1
answer
52
views
How to write a minimal implementation of Python’s str.replace() in C
asked
Mar 9
by
avibootz
c
c-minimal-implementation-python-str-replace
minimal-implementation-python-str-replace
1
answer
58
views
How to split a string on multiple single‑character delimiters (and keep them) in C
asked
Mar 9
by
avibootz
c
c-split-string-multiple-single-character-delimiters
split-string-multiple-single-character-delimiters
3
answers
88
views
How to split a string on multiple multi‑character delimiters (and keep them) in C
asked
Mar 8
by
avibootz
c
c-split-string-multiple-multi-character-delimiters
split-string-multiple-multi-character-delimiters
1
answer
70
views
How to remove all adjacent duplicate characters from a string until no more can be removed in C
asked
Mar 7
by
avibootz
c
c-remove-adjacent-duplicate-characters-string
remove-adjacent-duplicate-characters-string
1
answer
45
views
How to reverse only the alphabetic characters in a string, keeping other characters in place with C
asked
Mar 6
by
avibootz
c
c-reverse-only-alphabetic-characters
reverse-only-alphabetic-characters
1
answer
54
views
How to find missing alphabet characters from a string in C
asked
Mar 6
by
avibootz
c
c-missing-alphabet-characters-string
missing-alphabet-characters-string
1
answer
45
views
How to check if a string contains only 0 and 1 and is divisible by 7 in C
asked
Mar 1
by
avibootz
c
c-string-contains-only-0-and-1-is-divisible-by-7
string-contains-only-0-and-1-is-divisible-by-7
Page:
« prev
1
2
3
4
5
6
7
8
...
83
next »
...