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
c#
cpp
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
dart
ruby
r
css
bootstrap
groovy
win32
sql
mysql
winapi
jquery
lua
winforms
pascal-string
bash
kotlin-string
swift-string
c-string
cpp-string
go-string
cpp-vector
f#
opengl
java-string
php-string
c#-string
vbnet-string
pascal-array
swift-array
rust-string
python-string
scala-string
c-array
javascript-string
php-array
javascript-array
typescript-string
cobol
rust-vector
typescript-array
python-list
reactjs
scala-array
c-windows
go-array
nodejs-string
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
swift-matrix
c#-matrix
sdl3
angularjs
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
extract-words-with-first-letter-lowercase-from-string
convert-specific-column-decimal-matrix-to-string
convert-specific-row-decimal-matrix-to-string
number-made-prime-deleting-single-digit
convert-days-human-readable-weeks-days
square-root-rounded-down-to-nearest-integer
remove-middle-word-string
area-triangle-herons-formula
inverse-matrix
Disclosure:
My content contains affiliate links.
Recent questions tagged cpp
39,844
questions
51,765
answers
573
users
Recent questions tagged cpp
1
answer
3
views
How to find the shortest identical consecutive subarray in an array with C++
asked
5 hours
ago
by
avibootz
cpp
cpp-shortest-identical-consecutive-subarray
shortest-identical-consecutive-subarray
2
answers
4
views
How to find a number that can be written as the sum and product of its factors in C++
asked
14 hours
ago
by
avibootz
cpp
cpp-number-written-as-sum-and-product-of-its-factors
number-written-as-sum-and-product-of-its-factors
1
answer
5
views
How to delete a file using the Win32 API in C++
asked
1 day
ago
by
avibootz
cpp
win32
winapi
cpp-delete-file-win32-api
delete-file-win32-api
1
answer
5
views
How to move the n word to the end of a string in C++
asked
1 day
ago
by
avibootz
cpp
cpp-move-n-word-to-end-of-string
move-n-word-to-end-of-string
1
answer
7
views
How to move the first word to the end of a string in C++
asked
2 days
ago
by
avibootz
cpp
cpp-move-move-first-word-to-end-of-string
move-first-word-to-end-of-string
1
answer
9
views
How to move a word to the end of a string in C++
asked
4 days
ago
by
avibootz
cpp
cpp-move-word-to-end-of-string
move-word-to-end-of-string
1
answer
17
views
How to multiply every N consecutive items in a vector with C++
asked
6 days
ago
by
avibootz
cpp
cpp-multiply-every-n-of-consecutive-items-in-vector
multiply-every-n-of-consecutive-items-in-vector
2
answers
32
views
How to create a vector of dates between a start and end date in C++
asked
Jan 30
by
avibootz
cpp
cpp-create-vector-of-dates
create-vector-of-dates
2
answers
22
views
How to get the total disk size using the Win32 API in C++
asked
Jan 30
by
avibootz
win32
winapi
cpp
cpp-get-total-disk-size-win32-api
get-total-disk-size-win32-api
1
answer
18
views
How to get the size of a file in C++
asked
Jan 30
by
avibootz
cpp
cpp-get-the-size-of-file
get-the-size-of-file
2
answers
29
views
How to get the size of a file using the Win32 API in C++
asked
Jan 30
by
avibootz
win32
winapi
cpp
cpp-get-the-size-of-file-win32-api
get-the-size-of-file-win32-api
2
answers
29
views
How to sort a vector of structs by multiple columns in C++
asked
Jan 28
by
avibootz
cpp
cpp-sort-vector-of-structs-by-multiple-columns
sort-vector-of-structs-by-multiple-columns
1
answer
22
views
How to generate non‑overlapping random ranges (start,end),(start,end) in C++
asked
Jan 27
by
avibootz
cpp
cpp-generate-non-overlapping-random-ranges
generate-non-overlapping-random-ranges
1
answer
22
views
How to merge overlapping ranges (start,end),(start,end) in C++
asked
Jan 26
by
avibootz
cpp
cpp-merge-overlapping-ranges
merge-overlapping-ranges
2
answers
29
views
How to use the Win32 API ReadFile function to read data from a file in C++
asked
Jan 25
by
avibootz
win32
winapi
cpp
cpp-use-win32-api-readfile-function-to-read-from-file
use-win32-api-readfile-function-to-read-from-file
1
answer
30
views
How to use the function ShellExecuteW to get the current date and time using the Win32 API in C++
asked
Jan 24
by
avibootz
win32
winapi
cpp
cpp-shellexecutew-get-current-date-and-time
shellexecutew-get-current-date-and-time
1
answer
25
views
How to use the function ShellExecuteW to open an EXE file with arguments using the Win32 API in C++
asked
Jan 24
by
avibootz
win32
winapi
cpp
cpp-shellexecutew-open-exe-file-with-arguments
shellexecutew-open-exe-file-with-arguments
1
answer
23
views
How to use the function ShellExecuteW to open an EXE file using the Win32 API in C++
asked
Jan 24
by
avibootz
win32
winapi
cpp
cpp-shellexecutew-open-exe-file
shellexecutew-open-exe-file
2
answers
31
views
How to use the function ShellExecuteW to open a PDF file using the Win32 API in C++
asked
Jan 24
by
avibootz
win32
shellexecutew-open-pdf-file
cpp
winapi
cpp-shellexecutew-open-pdf-file
1
answer
26
views
How to use the function ShellExecuteW to open a URL using the Win32 API in C++
asked
Jan 24
by
avibootz
win32
shellexecutew-open-url
cpp
winapi
cpp-shellexecutew-open-url
1
answer
24
views
How to merge two strings based on shared suffix and prefix in C++
asked
Jan 23
by
avibootz
cpp
cpp-merge-two-strings
merge-two-strings-based-on-shared-suffix-and-prefix
1
answer
22
views
How to sort by strings a mixed pair of string and number elements in a vector with C++
asked
Jan 22
by
avibootz
cpp
cpp-sort-vector
sort-by-strings-mixed-pair-of-string-number-elements-in-vector
1
answer
24
views
How to sort by numbers a mixed pair of string and number elements in a vector with C++
asked
Jan 22
by
avibootz
cpp
cpp-sort-vector
sort-by-numbers-mixed-pair-of-string-number-elements-in-vector
1
answer
22
views
How to turn a total number of seconds into years, months, days, minutes and seconds in C++
asked
Jan 21
by
avibootz
cpp
cpp-turn-total-number-of-seconds-into-years-months-days-minutes-seconds
turn-total-number-of-seconds-into-years-months-days-minutes-seconds
1
answer
25
views
How to check if a string is IPv4 or IPv6 or invalid in C++
asked
Jan 19
by
avibootz
cpp
cpp-check-if-string-is-ipv4-or-ipv6-or-invalid
check-if-string-is-ipv4-or-ipv6-or-invalid
2
answers
31
views
How to print a calendar for a specific month and year in C++
asked
Jan 18
by
avibootz
cpp
cpp-print-calendar-for-specific-month-and-year
print-calendar-for-specific-month-and-year
1
answer
24
views
How to print the calendar for a specific year in C++
asked
Jan 17
by
avibootz
cpp
cpp-print-calendar-for-specific-year
print-calendar-for-specific-year
1
answer
24
views
How to group words by first letter in C++
asked
Jan 15
by
avibootz
cpp
cpp-group-words-by-first-letter
group-words-by-first-letter
1
answer
21
views
How to find the volume of a capsule in C++
asked
Jan 12
by
avibootz
cpp
cpp-find-volume-of-capsule
find-volume-of-capsule
1
answer
32
views
How to implement ternary search to find a value in a sorted vector with C++
asked
Jan 11
by
avibootz
cpp
cpp-implement-ternary-search-to-find-value-in-sorted-vector
implement-ternary-search-to-find-value-in-sorted-vector
1
answer
25
views
How to caculate the harmonic series Hn = 1 + 1/2 + 1/3 + 1/4 + 1/n in C++
asked
Jan 11
by
avibootz
cpp
cpp-caculate-harmonic-series
caculate-harmonic-series
4
answers
40
views
How to convert a character (flatten) matrix to a single string in C++
asked
Jan 10
by
avibootz
cpp
cpp-convert-character-matrix-to-single-string
convert-character-matrix-to-single-string
flatten_char_matrix
2
answers
26
views
How to find the max absolute difference between consecutive characters in a string with C++
asked
Jan 9
by
avibootz
cpp
cpp-max-absolute-difference-between-consecutive-characters-in-string
max-absolute-difference-between-consecutive-characters-in-string
1
answer
22
views
How to merge all overlapping intervals in a given 2D array of intervals with C++
asked
Jan 8
by
avibootz
cpp
cpp-merge-overlapping-intervals-2d-array
merge-overlapping-intervals-2d-array
1
answer
24
views
How to find numbers expressible as the sum of a prime square, cube, and prime fourth power in C++
asked
Jan 8
by
avibootz
cpp
cpp-numbers-expressible-sum-prime-square-cube-fourth-power
numbers-expressible-sum-prime-square-cube-fourth-power
1
answer
23
views
How to hash a set of GUIDs in C++
asked
Jan 7
by
avibootz
cpp
cpp-hash-set-of-guids
hash-set-of-guids
1
answer
25
views
How to check if each letter in a string maps to the first letter of a word in another string with C++
asked
Jan 6
by
avibootz
cpp
cpp-each-letter-string-maps-first-letter-word-another-string
each-letter-string-maps-first-letter-word-another-string
1
answer
30
views
How to check if a string can be constructed by using the letters of another string in C++
asked
Jan 5
by
avibootz
cpp
cpp-string-constructed-letters-another-string
string-constructed-letters-another-string
1
answer
29
views
How to check whether a string is composed only of words from a given list in C++
asked
Jan 5
by
avibootz
cpp
cpp-check-string-composed-only-of-words-from-list
check-string-composed-only-of-words-from-list
1
answer
36
views
How to generate uniform random integers in a range with C++
asked
Jan 4
by
avibootz
cpp
cpp-random
cpp-generate-uniform-random-integers-in-range
generate-uniform-random-integers-in-range
1
answer
32
views
How to determine if a given date is the Nth weekday of the month in C++
asked
Jan 4
by
avibootz
cpp
cpp-determine-given-date-nth-weekday-month
determine-given-date-nth-weekday-month
1
answer
25
views
How to product of array except self (arr[i] is equal to the product of all the elements except arr[i]) in C++
asked
Jan 2
by
avibootz
cpp
cpp-product-array-except-self-arr_i
product-array-except-self-arr_i
1
answer
32
views
How to find if a list of 6-digit random numbers contains 3 random digits in C++
asked
Jan 2
by
avibootz
cpp
cpp-list-6-digit-random-numbers-contains-3-random-digits
list-6-digit-random-numbers-contains-3-random-digits
1
answer
44
views
How to find if a 6-digit random number contains 3 random digits in C++
asked
Jan 1
by
avibootz
cpp
cpp-6-digit-random-number-contains-3-random-digits
6-digit-random-number-contains-3-random-digits
2
answers
37
views
How to clear bits in the given range in C++
asked
Dec 28, 2025
by
avibootz
cpp
cpp-clear-bits-given-range
clear-bits-given-range
1
answer
30
views
How to get the 4 least significant bits in a byte with C++
asked
Dec 27, 2025
by
avibootz
cpp
cpp-get-4-least-significant-bits-byte
get-4-least-significant-bits-byte
1
answer
31
views
How to check if the least significant bit (LSB) of a number is set or not in C++
asked
Dec 27, 2025
by
avibootz
cpp
cpp-check-least-significant-bit-lst-set
check-least-significant-bit-lst-set
1
answer
33
views
How to represent the number of different ways in which n can be separated with stars in C++
asked
Dec 27, 2025
by
avibootz
cpp
cpp-number-different-ways-n-reparated-stars
number-different-ways-n-reparated-stars
1
answer
36
views
How to write 10 as the sum of primes in exactly five different ways in C++
asked
Dec 27, 2025
by
avibootz
cpp
cpp-write-10-sum-primes-five-different-ways
write-10-sum-primes-five-different-ways
1
answer
35
views
How to check whether a user string contains any forbidden words from a list in C++
asked
Dec 26, 2025
by
avibootz
cpp
cpp-check-user-string-contains-forbidden-words
check-user-string-contains-forbidden-words
Page:
1
2
3
4
5
6
...
76
next »
...