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
vbnet
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
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
string-to-title-case
Disclosure:
My content contains affiliate links.
Recent questions tagged CPP
42,029
questions
54,718
answers
573
users
Recent questions tagged CPP
1
answer
9
views
How to perform multiple 5‑card draws from a shuffled 52‑card deck in C++
asked
23 hours
ago
by
avibootz
cpp
cpp-perform-multiple-5-card-draws-from-52-card-deck
perform-multiple-5-card-draws-from-52-card-deck
1
answer
6
views
How to pick 5 random cards from a 52‑card deck in C++
asked
1 day
ago
by
avibootz
cpp
cpp-pick-5-random-cards-from-a-52-card-deck
pick-5-random-cards-from-a-52-card-deck
1
answer
8
views
How to divide two integers without using the division operator ('/') in C++
asked
1 day
ago
by
avibootz
cpp
cpp-divide-two-integers-without-division-operator
divide-two-integers-without-division-operator
1
answer
5
views
How to randomly place a random value in each row of an 8x8 int array with zero values in C++
asked
2 days
ago
by
avibootz
cpp
cpp-randomly-place-random-value-each-row-8-8-int-array
randomly-place-random-value-each-row-8-8-int-array
1
answer
10
views
How to display string letters sorted by frequency in C++
asked
2 days
ago
by
avibootz
cpp
cpp-display-string-letters-sorted-by-frequency
display-string-letters-sorted-by-frequency
1
answer
8
views
How to find the most frequent letter in a string with C++
asked
2 days
ago
by
avibootz
cpp
cpp-find-most-frequent-letter-string
find-most-frequent-letter-string
1
answer
12
views
How to measure bubble sort with an array of 30,000 random integers in C++
asked
2 days
ago
by
avibootz
cpp
cpp-measure-bubble-sort-array-30000-random-integers
measure-bubble-sort-array-30000-random-integers
1
answer
10
views
How to find the frequency of each digit (0–9) in a number with C++
asked
3 days
ago
by
avibootz
cpp
cpp-find-frequency-each-digit-in-number
find-frequency-each-digit-in-number
1
answer
9
views
How to get the actual length of a UTF-8 encoded std::string in C++
asked
4 days
ago
by
avibootz
cpp
cpp-actual-length-utf-8-encoded-std-string
actual-length-utf-8-encoded-std-string
1
answer
10
views
How to implement a singly linked list with insert, delete, and search operations in C++
asked
4 days
ago
by
avibootz
cpp
cpp-implement-singly-linked-list-with-insert-delete-search
implement-singly-linked-list-with-insert-delete-search
1
answer
9
views
How to count permutations without adjacent repeating in C++
asked
4 days
ago
by
avibootz
cpp
cpp-count-permutations-without-adjacent-repeating
count-permutations-without-adjacent-repeating
1
answer
11
views
How to reverse a singly linked list in-place in C++
asked
5 days
ago
by
avibootz
cpp
cpp-reverse-singly-linked-list-in-place
reverse-singly-linked-list-in-place
1
answer
19
views
How to iterate a vector from the middle outward (stepping left and right alternately) in C++
asked
6 days
ago
by
avibootz
cpp
cpp-iterate-vector-from-middle-outward
iterate-vector-from-middle-outward
1
answer
13
views
How to calculates the distance between two decimal numbers (absolute difference) in C++
asked
Jun 28
by
avibootz
cpp
cpp-calculates-distance-between-two-decimal-numbers
calculates-distance-between-two-decimal-numbers
1
answer
14
views
How to determine whether an n‑bit binary number is divisible by 5 in C++
asked
Jun 27
by
avibootz
cpp
cpp-determine-whether-n-bit-binary-number-divisible-by-5
determine-whether-n-bit-binary-number-divisible-by-5
3
answers
28
views
How to check whether a number is positive/zero/negative without using conditional statements in C++
asked
Jun 27
by
avibootz
cpp
cpp-check-positive-zero-negative-without-conditional-statements
check-positive-zero-negative-without-conditional-statements
1
answer
20
views
How to remove every n-bit from a number and shift the remaining bits right in C++
asked
Jun 25
by
avibootz
cpp
remove-every-n-bit-from-number-shift-remaining-bits-right
1
answer
18
views
How to remove bits at specific positions and shift the remaining bits right in C++
asked
Jun 25
by
avibootz
cpp
cpp-remove-bits-at-specific-positions-shift-remaining-bits-right
remove-bits-at-specific-positions-shift-remaining-bits-right
1
answer
22
views
How to zero every n-bit from a number if that bit is 1 in C++
asked
Jun 25
by
avibootz
cpp
cpp-zero-every-n-bit-from-number
zero-every-n-bit-from-number
1
answer
25
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
cpp
cpp-remove-multiple-bits-shift-remaining-bits-right-to-fill-gaps
remove-multiple-bits-shift-remaining-bits-right-to-fill-gaps
1
answer
17
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
cpp
cpp-remove-bit-from-number-shift-bits-right-to-fill-the-gap
remove-bit-from-number-shift-bits-right-to-fill-the-gap
1
answer
25
views
How to combine two 32-bit values into one 64-bit value in C++
asked
Jun 22
by
avibootz
cpp
cpp-combine-two-32-bit-values-into-one-64-bit-value
combine-two-32-bit-values-into-one-64-bit-value
1
answer
23
views
How to rank elements of an integer vector based on their sorted order in C++
asked
Jun 21
by
avibootz
cpp
cpp-rank-elements-vector-based-on-sorted-order
rank-elements-vector-based-on-sorted-order
1
answer
26
views
How to rank elements of a vector in C++
asked
Jun 21
by
avibootz
cpp
cpp-rank-elements-vector
rank-elements-vector
2
answers
29
views
How to declare and initialize a three-dimensional (3D) array in C++
asked
Jun 20
by
avibootz
cpp
cpp-declare-initialize-3d-array
declare-initialize-3d-array
2
answers
27
views
How to fill the four sides of a square with 1s and the inside with 0s in C++
asked
Jun 20
by
avibootz
cpp
cpp-fill-four-sides-square-1-and-the-inside-with-0s
fill-four-sides-square-1-and-the-inside-with-0s
1
answer
21
views
How to find all the Pythagorean triples with a perimeter no larger than 100 in C++
asked
Jun 19
by
avibootz
cpp
cpp-find-all-pythagorean-triples-perimeter-under-100
find-all-pythagorean-triples-perimeter-under-100
1
answer
22
views
How to find the first 3 primitive Pythagorean triples in C++
asked
Jun 19
by
avibootz
cpp
cpp-find-first-3-pythagorean-triple
find-first-pythagorean-triple
1
answer
23
views
How to find the first Pythagorean triple in C++
asked
Jun 19
by
avibootz
cpp
cpp-find-first-pythagorean-triple
find-first-pythagorean-triple
3
answers
33
views
How to multiply two long numbers in C++
asked
Jun 18
by
avibootz
cpp
cpp-multiply-two-long-numbers
multiply-two-long-numbers
1
answer
27
views
How to get the country name from the alpha-2 country code in C++
asked
Jun 17
by
avibootz
cpp
cpp-country-name-from-country-code
country-name-from-country-code
2
answers
38
views
How to find the country code by the country name in C++
asked
Jun 17
by
avibootz
cpp
cpp-find-country-code-by-country-name
find-country-code-by-country-name
1
answer
36
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
cpp
cpp-first-3-integers-equal-sum-their-digits-raised-some-power
first-3-integers-equal-sum-their-digits-raised-some-power
1
answer
31
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
cpp
cpp-first-integer-equal-sum-its-digits-raised-some-power
first-integer-equal-sum-its-digits-raised-some-power
1
answer
32
views
How to find the first 3 powers of 2 whose leading digits are 12 in C++
asked
Jun 13
by
avibootz
cpp
cpp-first-3-powers-of-2-whose-leading-digits-are-12
first-3-powers-of-2-whose-leading-digits-are-12
1
answer
36
views
How to find the first power of 2 whose leading digits are 12 in C++
asked
Jun 13
by
avibootz
cpp
cpp-first-power-of-2-whose-leading-digits-are-12
first-power-of-2-whose-leading-digits-are-12
1
answer
33
views
How to find the first 10 prime Fibonacci numbers in C++
asked
Jun 12
by
avibootz
cpp
cpp-first-10-prime-fibonacci-numbers
first-10-prime-fibonacci-numbers
3
answers
51
views
How to represent currency in C++
asked
Jun 11
by
avibootz
cpp
cpp-represent-currency
represent-currency
5
answers
58
views
How to use const references in C++
asked
Jun 9
by
avibootz
cpp
cpp-const-references
const-references
6
answers
61
views
How to enforce immutability to prevent the modification of values in C++
asked
Jun 9
by
avibootz
cpp
cpp-enforce-immutability
enforce-immutability
1
answer
30
views
How to convert between mm, cm, meters, kilometers, miles, feet, yards, and inches in C++
asked
Jun 7
by
avibootz
cpp
cpp-convert-mm-cm-meters-km-miles-feet-yards-inches
convert-mm-cm-meters-km-miles-feet-yards-inches
1
answer
23
views
How to convert meters to kilometers, miles, feet, yards, and inches in C++
asked
Jun 7
by
avibootz
cpp
cpp-meters-to-kilometers-miles-feet-yards-inches
meters-to-kilometers-miles-feet-yards-inches
1
answer
25
views
How to replace Boolean with bool using RegEx in C++
asked
Jun 6
by
avibootz
cpp
cpp-replace-boolean-with-bool-regex
replace-boolean-with-bool-regex
1
answer
33
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
cpp
cpp-a-b-prime-a-mul-b-equal-12349-find-a-b
a-b-prime-a-mul-b-equal-12349-find-a-b
2
answers
35
views
How to create 10 random points in C++
asked
Jun 5
by
avibootz
cpp
cpp-create-10-random-points
create-10-random-points
1
answer
26
views
How to create a first-class function in C++
asked
Jun 5
by
avibootz
cpp
cpp-create-first-class-function
create-first-class-function
2
answers
40
views
How to use higher-order functions in C++
asked
Jun 3
by
avibootz
cpp
cpp-use-higher-order-functions
use-higher-order-functions
3
answers
56
views
How to use closure in C++
asked
Jun 2
by
avibootz
cpp
cpp-use-closure
use-closure
1
answer
36
views
How to use an anonymous function in C++
asked
Jun 2
by
avibootz
cpp
cpp-anonymous-function
anonymous-function
1
answer
40
views
How to represent the ABCs as a 5-letter binary code using A for 0 and B for 1 in C++
asked
Jun 1
by
avibootz
cpp
cpp-represent-abc-5-letter-binary-code-a-for-0-b-for-1
represent-abc-5-letter-binary-code-a-for-0-b-for-1
Page:
1
2
3
4
5
6
...
81
next »
...