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
winapi
sql
mysql
jquery
pascal-string
lua
winforms
vbnet
kotlin-string
bash
swift-string
c-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
c-array
swift-array
cobol
typescript-string
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
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
sdl3
angularjs
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
dot-product-two-arrays
string-to-title-case
create-infinite-loop
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
function-optional-parameter
decode-leet-speak
decimal-number-to-string-leading-zeros
reconstruct-sparse-matrix-from-compact-triplet-matrix
Disclosure:
My content contains affiliate links.
Recent questions tagged C
40,904
questions
53,356
answers
573
users
Recent questions tagged C
3
answers
5
views
How to create a function with an optional parameter in C
asked
3 hours
ago
by
avibootz
c
c-function-optional-parameter
function-optional-parameter
1
answer
10
views
How to build a pyramid from the numbers 3, 7, 5, 2, 4, 8, 6, 9, 0, 3 in C
asked
1 day
ago
by
avibootz
c
c-build-pyramid-from-numbers
build-pyramid-from-numbers
1
answer
10
views
How to create a hash from two equal-length arrays (keys and values) in C
asked
1 day
ago
by
avibootz
c
c-create-hash-from-two-equal-length-arrays
create-hash-from-two-equal-length-arrays
1
answer
12
views
How to write a generic swap function in C
asked
1 day
ago
by
avibootz
c
c-generic-swap-function
generic-swap-function
1
answer
16
views
How to decode Leet Speak (where numbers resemble letters (7->T, 1->I, 5->S, 3 -> E)) in C
asked
2 days
ago
by
avibootz
c
c-decode-leet-speak
decode-leet-speak
1
answer
14
views
How to convert "7H15 M3554G3" into words in C
asked
2 days
ago
by
avibootz
c
c-convert-7h15-m3554g3-into-words
convert-7h15-m3554g3-into-words
1
answer
18
views
How to express a decimal number as a fixed-length string with leading zeros in C
asked
3 days
ago
by
avibootz
c
c-decimal-number-to-string-leading-zeros
decimal-number-to-string-leading-zeros
1
answer
19
views
How to validate a password (must contain uppercase, lowercase, digit, and special character) in C
asked
4 days
ago
by
avibootz
c
c-validate-password
validate-password
1
answer
21
views
How to reconstruct a full sparse matrix from a compact (triplet) matrix in C
asked
5 days
ago
by
avibootz
c
c-reconstruct-sparse-matrix-from-compact-triplet-matrix
reconstruct-sparse-matrix-from-compact-triplet-matrix
1
answer
25
views
How to compact a sparse matrix in C
asked
5 days
ago
by
avibootz
c
c-compact-sparse-matrix
compact-sparse-matrix
1
answer
27
views
How to check if a given array is a sparse array in C
asked
6 days
ago
by
avibootz
c
c-check-sparse-array
check-sparse-array
1
answer
27
views
How to search for a word in a grid of characters with C
asked
6 days
ago
by
avibootz
c
c-search
c-grid
c-search-word-grid-characters
search-word-grid-characters
1
answer
36
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
34
views
How to localize date format in C
asked
Apr 19
by
avibootz
c
c-localize-date-format
localize-date-format
1
answer
37
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
25
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
27
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
38
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
34
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
22
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
30
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
21
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
24
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
23
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
45
views
How to create an infinite loop in C
asked
Apr 10
by
avibootz
c
c-create-infinite-loop
create-infinite-loop
1
answer
27
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
30
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
30
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
40
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
29
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
51
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
39
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
33
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
66
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
31
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
40
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
27
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
34
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
39
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
40
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
45
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
46
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
33
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
35
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
47
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
34
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
35
views
How to calculate the Ethiopian multiplication in C
asked
Mar 17
by
avibootz
c
c-ethiopian-multiplication
ethiopian-multiplication
1
answer
38
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
36
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
41
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
Page:
1
2
3
4
5
6
...
81
next »
...