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
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
41,857
questions
54,547
answers
573
users
Recent questions tagged cpp
1
answer
9
views
How to remove every n-bit from a number and shift the remaining bits right in C++
asked
1 day
ago
by
avibootz
cpp
remove-every-n-bit-from-number-shift-remaining-bits-right
1
answer
6
views
How to remove bits at specific positions and shift the remaining bits right in C++
asked
1 day
ago
by
avibootz
cpp
cpp-remove-bits-at-specific-positions-shift-remaining-bits-right
remove-bits-at-specific-positions-shift-remaining-bits-right
1
answer
7
views
How to zero every n-bit from a number if that bit is 1 in C++
asked
1 day
ago
by
avibootz
cpp
cpp-zero-every-n-bit-from-number
zero-every-n-bit-from-number
1
answer
12
views
How to remove multiple bits from a number and shift the remaining bits right to fill the gaps in C++
asked
2 days
ago
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
11
views
How to remove a bit from a number and shift all bits to the right to fill the gap in C++
asked
3 days
ago
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
15
views
How to combine two 32-bit values into one 64-bit value in C++
asked
4 days
ago
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
19
views
How to rank elements of an integer vector based on their sorted order in C++
asked
5 days
ago
by
avibootz
cpp
cpp-rank-elements-vector-based-on-sorted-order
rank-elements-vector-based-on-sorted-order
1
answer
21
views
How to rank elements of a vector in C++
asked
5 days
ago
by
avibootz
cpp
cpp-rank-elements-vector
rank-elements-vector
2
answers
20
views
How to declare and initialize a three-dimensional (3D) array in C++
asked
6 days
ago
by
avibootz
cpp
cpp-declare-initialize-3d-array
declare-initialize-3d-array
2
answers
19
views
How to fill the four sides of a square with 1s and the inside with 0s in C++
asked
6 days
ago
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
14
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
12
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
11
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
28
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
21
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
29
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
30
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
26
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
27
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
33
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
29
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
46
views
How to represent currency in C++
asked
Jun 11
by
avibootz
cpp
cpp-represent-currency
represent-currency
5
answers
49
views
How to use const references in C++
asked
Jun 9
by
avibootz
cpp
cpp-const-references
const-references
6
answers
57
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
29
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
22
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
22
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
23
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
29
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
21
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
32
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
47
views
How to use closure in C++
asked
Jun 2
by
avibootz
cpp
cpp-use-closure
use-closure
1
answer
29
views
How to use an anonymous function in C++
asked
Jun 2
by
avibootz
cpp
cpp-anonymous-function
anonymous-function
1
answer
37
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
2
answers
37
views
How to remove parentheses and the text inside them from a string in C++
asked
May 31
by
avibootz
cpp
cpp-remove-parentheses-and-text-from-a-string
remove-parentheses-and-text-from-a-string
1
answer
32
views
How to convert string with brackets into a nested vector in C++
asked
May 31
by
avibootz
cpp
cpp-convert-string-with-brackets-into-nested-vector
convert-string-with-brackets-into-nested-vector
1
answer
35
views
How to find the day of the week on any given date in C++
asked
May 31
by
avibootz
cpp
cpp-date
cpp-find-day-of-week-any-given-date
find-day-of-week-any-given-date
1
answer
32
views
How to convert only the date without time to a string in C++
asked
May 30
by
avibootz
cpp
cpp-convert-only-date-without-time-to-string
convert-only-date-without-time-to-string
1
answer
37
views
How to print all log lines containing a specific date from a text block in C++
asked
May 29
by
avibootz
cpp
cpp-print-all-log-lines-containing-specific-date
print-all-log-lines-containing-specific-date
2
answers
43
views
How to print the log line containing a specific date from a text block in C++
asked
May 29
by
avibootz
cpp
cpp-print-log-line-containing-specific-date
print-log-line-containing-specific-date
1
answer
18
views
How to calculate subtracting X% from Y in C++
asked
May 29
by
avibootz
cpp
cpp-calculate-subtracting-x-percent-from-y
calculate-subtracting-x-percent-from-y
1
answer
19
views
How to calculate add X% to Y in C++
asked
May 29
by
avibootz
cpp
cpp-calculate-add-x-percent-to-y
calculate-add-x-percent-to-y
1
answer
22
views
How to calculate % change from X to Y in C++
asked
May 29
by
avibootz
cpp
cpp-calculate-percent-change-from-x-to-y
calculate-percent-change-from-x-to-y
1
answer
20
views
How to calculate X is what % of Y in C++
asked
May 29
by
avibootz
cpp
cpp-calculate-x-is-what-percent-of-y
calculate-x-is-what-percent-of-y
1
answer
37
views
How to calculate the number of days until Christmas from today in C++
asked
May 28
by
avibootz
cpp
cpp-calculate-days-until-christmas
calculate-days-until-christmas
3
answers
42
views
How to measure function execution time in C++
asked
May 27
by
avibootz
cpp
cpp-measure-function-execution-time
measure-function-execution-time
1
answer
32
views
How to print every month between two years that contains five full weekends (Fri, Sat, Sun) in C++
asked
May 27
by
avibootz
cpp
cpp-every-month-between-two-years-contains-five-full-weekends
every-month-between-two-years-contains-five-full-weekends
1
answer
34
views
How to print every month in a specified year that contains five full weekends (Fri, Sat, Sun) in C++
asked
May 26
by
avibootz
cpp
cpp-every-month-in-specified-year-contains-five-full-weekends
every-month-in-specified-year-contains-five-full-weekends
1
answer
33
views
How to find syntactic close words to a given word in a text block with C++
asked
May 25
by
avibootz
cpp
cpp-syntactic-close-words-to-given-word-in-text-block
syntactic-close-words-to-given-word-in-text-block
1
answer
43
views
How to find the dates of the last Sunday of each month of a given year in C++
asked
May 23
by
avibootz
cpp
cpp-dates-of-last-sunday-each-month-given-year
dates-of-last-sunday-each-month-given-year
Page:
1
2
3
4
5
6
...
80
next »
...