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
vbnet
bootstrap
win32
groovy
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
print-floyds-triangle
case-insensitively-check-character-exists-in-string
calculate-area-pentagon
measure-function-execution-time
sort-words-string
exabyte-constant
petabyte-constant
terabyte-constant
math-functions-constants
Disclosure:
My content contains affiliate links.
Recent questions tagged c
42,187
questions
54,895
answers
573
users
Recent questions tagged c
1
answer
6
views
How to generate a UUID (Universally Unique Identifier) in C
asked
4 hours
ago
by
avibootz
c
c-generate-uuid
generate-uuid
1
answer
9
views
How to sort a string in the order: lowercase letters - uppercase letters - odd digits - even digits in C
asked
13 hours
ago
by
avibootz
c
c-sort-string-order-lowercase-uppercase-odd-even
sort-string-order-lowercase-uppercase-odd-even
1
answer
9
views
How to compute sin and cos together in C
asked
2 days
ago
by
avibootz
c
c-compute-sin-cos-together
compute-sin-cos-together
1
answer
10
views
How to create an alphabet rangoli (geometric and character pattern) of size N in C
asked
2 days
ago
by
avibootz
c
c-create-alphabet-rangoli
create-alphabet-rangoli
2
answers
13
views
How to wrap a string into lines of width w in C
asked
3 days
ago
by
avibootz
c
c-wrap-string-into-lines-width-w
wrap-string-into-lines-width-w
1
answer
10
views
How to compute the day of the week for January 1st of any given year in C
asked
3 days
ago
by
avibootz
c
c-day-of-week-january-1st-any-given-year
day-of-week-january-1st-any-given-year
1
answer
14
views
How to get common letters that appear in every word in a list of words with C
asked
4 days
ago
by
avibootz
c
c-common-letters-every-word-list-words
common-letters-every-word-list-words
1
answer
15
views
How to check whether a word is an ABC word in C
asked
4 days
ago
by
avibootz
c
c-cpp-check-whether-word-is-abc-word
cpp-check-whether-word-is-abc-word
1
answer
11
views
How to generate the power set of {1,2,3,4} in C
asked
5 days
ago
by
avibootz
c
c-generate-power-set-of-1-2-3-4
generate-power-set-of-1-2-3-4
1
answer
19
views
How to generate 100 normally distributed random numbers with a mean of 1.0 in C
asked
6 days
ago
by
avibootz
c
c-generate-100-normally-distributed-random-numbers-mean-of-1-0
generate-100-normally-distributed-random-numbers-mean-of-1-0
1
answer
22
views
How to encode and decode any string into Base‑36 in C
asked
Jul 7
by
avibootz
c
c-encode-decode-string-base-36
encode-decode-string-base-36
1
answer
22
views
How to generate random positive integers that sum to N in C
asked
Jul 6
by
avibootz
c
c-generate-random-integers-sum-to-n
generate-random-integers-sum-to-n
1
answer
28
views
How to perform multiple 5‑card draws from a shuffled 52‑card deck in C
asked
Jul 5
by
avibootz
c
c-perform-multiple-5-card-draws-from-52-card-deck
perform-multiple-5-card-draws-from-52-card-deck
1
answer
29
views
How to pick 5 random cards from a 52‑card deck in C
asked
Jul 4
by
avibootz
c
c-pick-5-random-cards-from-a-52-card-deck
pick-5-random-cards-from-a-52-card-deck
1
answer
20
views
How to randomly place a random value in each row of an 8x8 int array with zero values in C
asked
Jul 3
by
avibootz
c
c-randomly-place-random-value-each-row-8-8-int-array
randomly-place-random-value-each-row-8-8-int-array
1
answer
25
views
How to display string letters sorted by frequency in C
asked
Jul 3
by
avibootz
c
c-display-string-letters-sorted-by-frequency
display-string-letters-sorted-by-frequency
1
answer
18
views
How to find the most frequent letter in a string with C
asked
Jul 2
by
avibootz
c
c-find-most-frequent-letter-string
find-most-frequent-letter-string
1
answer
18
views
How to measure bubble sort with an array of 30,000 random integers in C
asked
Jul 2
by
avibootz
c
c-measure-bubble-sort-array-30000-random-integers
measure-bubble-sort-array-30000-random-integers
1
answer
16
views
How to reverse a singly linked list in-place in C
asked
Jun 30
by
avibootz
c
c-reverse-singly-linked-list-in-place
reverse-singly-linked-list-in-place
1
answer
23
views
How to iterate an array from the middle outward (stepping left and right alternately) in C
asked
Jun 28
by
avibootz
c
c-iterate-array-from-middle-outward
iterate-array-from-middle-outward
1
answer
21
views
How to calculates the distance between two decimal numbers (absolute difference) in C
asked
Jun 28
by
avibootz
c
c-calculates-distance-between-two-decimal-numbers
calculates-distance-between-two-decimal-numbers
1
answer
20
views
How to determine whether an n‑bit binary number is divisible by 5 in C
asked
Jun 27
by
avibootz
c
c-determine-whether-n-bit-binary-number-divisible-by-5
determine-whether-n-bit-binary-number-divisible-by-5
1
answer
22
views
How to check whether a number is positive/zero/negative without using conditional statements in C
asked
Jun 27
by
avibootz
c
c-check-positive-zero-negative-without-conditional-statements
check-positive-zero-negative-without-conditional-statements
1
answer
27
views
How to remove every n-bit from a number and shift the remaining bits right in C
asked
Jun 25
by
avibootz
c
c-remove-every-n-bit-from-number-shift-remaining-bits-right
remove-every-n-bit-from-number-shift-remaining-bits-right
1
answer
23
views
How to zero every n-bit from a number if that bit is 1 in C
asked
Jun 25
by
avibootz
c
c-zero-every-n-bit-from-number
zero-every-n-bit-from-number
1
answer
23
views
How to remove multiple bits from a number and shift the remaining bits right to fill the gaps in C
asked
Jun 24
by
avibootz
c
c-remove-multiple-bits-shift-remaining-bits-right-to-fill-gaps
remove-multiple-bits-shift-remaining-bits-right-to-fill-gaps
1
answer
29
views
How to remove a bit from a number and shift all bits to the right to fill the gap in C
asked
Jun 23
by
avibootz
c
c-remove-bit-from-number-shift-bits-right-to-fill-the-gap
remove-bit-from-number-shift-bits-right-to-fill-the-gap
1
answer
28
views
How to combine two 32-bit values into one 64-bit value in C
asked
Jun 22
by
avibootz
c
c-combine-two-32-bit-values-into-one-64-bit-value
combine-two-32-bit-values-into-one-64-bit-value
1
answer
33
views
How to rank elements of an integer array based on their sorted order in C
asked
Jun 21
by
avibootz
c
c-rank-elements-array-based-on-sorted-order
rank-elements-array-based-on-sorted-order
1
answer
27
views
How to rank elements of an array in C
asked
Jun 21
by
avibootz
c
c-rank-elements-array
rank-elements-array
1
answer
23
views
How to find all the Pythagorean triples with a perimeter no larger than 100 in C
asked
Jun 19
by
avibootz
c
c-find-all-pythagorean-triples-perimeter-under-100
find-all-pythagorean-triples-perimeter-under-100
1
answer
26
views
How to find the first 3 primitive Pythagorean triples in C
asked
Jun 19
by
avibootz
c
c-find-first-pythagorean-triple
find-first-pythagorean-triple
1
answer
27
views
How to find the first Pythagorean triple in C
asked
Jun 19
by
avibootz
c
c-find-first-pythagorean-triple
find-first-pythagorean-triple
2
answers
38
views
How to multiply two long numbers in C
asked
Jun 18
by
avibootz
c
c-multiply-two-long-numbers
multiply-two-long-numbers
1
answer
29
views
How to find the country code by the country name in C
asked
Jun 17
by
avibootz
c
c-find-country-code-by-country-name
find-country-code-by-country-name
1
answer
44
views
How to find the first 3 integers equal to the sum of their digits raised to some power in C
asked
Jun 14
by
avibootz
c
c-first-3-integers-equal-sum-their-digits-raised-some-power
first-3-integers-equal-sum-their-digits-raised-some-power
1
answer
41
views
How to find the first integer equal to the sum of its digits raised to some power in C
asked
Jun 13
by
avibootz
c
c-first-integer-equal-sum-its-digits-raised-some-power
first-integer-equal-sum-its-digits-raised-some-power
1
answer
33
views
How to find the first 3 powers of 2 whose leading digits are 12 in C
asked
Jun 13
by
avibootz
c
c-first-3-powers-of-2-whose-leading-digits-are-12
first-3-powers-of-2-whose-leading-digits-are-12
1
answer
39
views
How to find the first power of 2 whose leading digits are 12 in C
asked
Jun 13
by
avibootz
c
c-first-power-of-2-whose-leading-digits-are-12
first-power-of-2-whose-leading-digits-are-12
1
answer
35
views
How to find the first 10 prime Fibonacci numbers in C
asked
Jun 12
by
avibootz
c
c-first-10-prime-fibonacci-numbers
first-10-prime-fibonacci-numbers
4
answers
55
views
How to represent currency in C
asked
Jun 11
by
avibootz
c
c-represent-currency
represent-currency
1
answer
39
views
How to use opaque structs where the fields are hidden from the user and enforce immutability in C
asked
Jun 8
by
avibootz
c
c-opaque-structs-fields-hidden-from-user-enforce-immutability
opaque-structs-fields-hidden-from-user-enforce-immutability
1
answer
31
views
How to enforce immutability inside a struct to prevent the modification of values in C
asked
Jun 8
by
avibootz
c
c-enforce-immutability-inside-struct
enforce-immutability-inside-struct
1
answer
35
views
How to enforce immutability in function arguments to prevent the modification of values in C
asked
Jun 8
by
avibootz
c
c-enforce-immutability-in-function-arguments
enforce-immutability-in-function-arguments
1
answer
31
views
How to enforce immutability to prevent the modification of values in C
asked
Jun 8
by
avibootz
c
c-enforce-immutability
enforce-immutability
3
answers
49
views
How to enforce immutability through pointers to prevent the modification of values in C
asked
Jun 8
by
avibootz
c
c-enforce-immutability-through-pointers
enforce-immutability-through-pointers
1
answer
38
views
How to convert between mm, cm, meters, kilometers, miles, feet, yards, and inches in C
asked
Jun 7
by
avibootz
c
c-convert-mm-cm-meters-km-miles-feet-yards-inches
convert-mm-cm-meters-km-miles-feet-yards-inches
1
answer
29
views
How to convert meters to kilometers, miles, feet, yards, and inches in C
asked
Jun 7
by
avibootz
c
c-meters-to-kilometers-miles-feet-yards-inches
meters-to-kilometers-miles-feet-yards-inches
1
answer
34
views
How to find A and B where A and B are prime numbers and A * B = 12349 in C
asked
Jun 5
by
avibootz
c
c-a-b-prime-a-mul-b-equal-12349-find-a-b
a-b-prime-a-mul-b-equal-12349-find-a-b
2
answers
41
views
How to create 10 random points in C
asked
Jun 5
by
avibootz
c
c-create-10-random-points
create-10-random-points
Page:
1
2
3
4
5
6
...
83
next »
...