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,726
questions
51,615
answers
573
users
Recent questions tagged cpp
1
answer
5
views
How to generate non‑overlapping random ranges (start,end),(start,end) in C++
asked
18 hours
ago
by
avibootz
cpp
cpp-generate-non-overlapping-random-ranges
generate-non-overlapping-random-ranges
1
answer
9
views
How to merge overlapping ranges (start,end),(start,end) in C++
asked
1 day
ago
by
avibootz
cpp
cpp-merge-overlapping-ranges
merge-overlapping-ranges
2
answers
8
views
How to use the Win32 API ReadFile function to read data from a file in C++
asked
2 days
ago
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
15
views
How to use the function ShellExecuteW to get the current date and time using the Win32 API in C++
asked
3 days
ago
by
avibootz
win32
winapi
cpp
cpp-shellexecutew-get-current-date-and-time
shellexecutew-get-current-date-and-time
1
answer
16
views
How to use the function ShellExecuteW to open an EXE file with arguments using the Win32 API in C++
asked
3 days
ago
by
avibootz
win32
winapi
cpp
cpp-shellexecutew-open-exe-file-with-arguments
shellexecutew-open-exe-file-with-arguments
1
answer
15
views
How to use the function ShellExecuteW to open an EXE file using the Win32 API in C++
asked
3 days
ago
by
avibootz
win32
winapi
cpp
cpp-shellexecutew-open-exe-file
shellexecutew-open-exe-file
2
answers
13
views
How to use the function ShellExecuteW to open a PDF file using the Win32 API in C++
asked
3 days
ago
by
avibootz
win32
shellexecutew-open-pdf-file
cpp
winapi
cpp-shellexecutew-open-pdf-file
1
answer
15
views
How to use the function ShellExecuteW to open a URL using the Win32 API in C++
asked
3 days
ago
by
avibootz
win32
shellexecutew-open-url
cpp
winapi
cpp-shellexecutew-open-url
1
answer
17
views
How to merge two strings based on shared suffix and prefix in C++
asked
4 days
ago
by
avibootz
cpp
cpp-merge-two-strings
merge-two-strings-based-on-shared-suffix-and-prefix
1
answer
12
views
How to sort by strings a mixed pair of string and number elements in a vector with C++
asked
5 days
ago
by
avibootz
cpp
cpp-sort-vector
sort-by-strings-mixed-pair-of-string-number-elements-in-vector
1
answer
12
views
How to sort by numbers a mixed pair of string and number elements in a vector with C++
asked
5 days
ago
by
avibootz
cpp
cpp-sort-vector
sort-by-numbers-mixed-pair-of-string-number-elements-in-vector
1
answer
14
views
How to turn a total number of seconds into years, months, days, minutes and seconds in C++
asked
6 days
ago
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
18
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
21
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
21
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
18
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
18
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
26
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
19
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
32
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
23
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
18
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
19
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
20
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
22
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
25
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
25
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
32
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
29
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
18
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
28
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
41
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
34
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
26
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
26
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
27
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
32
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
30
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
1
answer
36
views
How to remove the middle word from a string in C++
asked
Dec 24, 2025
by
avibootz
cpp
cpp-remove-middle-word-string
remove-middle-word-string
2
answers
31
views
How to find the length of the longest balanced parentheses (e.g. (()())) in C++
asked
Dec 24, 2025
by
avibootz
cpp
cpp-length-longest-balanced-parenthese
length-longest-balanced-parenthese
1
answer
34
views
How to find all the distinct ways to write 5 as a sum of the numbers 1–4 in C++
asked
Dec 23, 2025
by
avibootz
cpp
cpp-all-distinct-ways-write-5-as-sum-of-1-4
all-distinct-ways-write-5-as-sum-of-1-4
1
answer
38
views
How to detect and remove invisible or non‑printing characters that break a string in C++
asked
Dec 23, 2025
by
avibootz
cpp
cpp-detect-remove-invisible-non-printing-characters-string
detect-remove-invisible-non-printing-characters-string
1
answer
29
views
How to mask a range of sensitive parts of a string for general-purpose masking in C++
asked
Dec 23, 2025
by
avibootz
cpp
cpp-mask-range-sensitive-parts-string
mask-range-sensitive-parts-string
1
answer
27
views
How to mask sensitive parts of a string (e.g. email addresses) in C++
asked
Dec 23, 2025
by
avibootz
cpp
cpp-mask-sensitive-parts-string
mask-sensitive-parts-string
2
answers
36
views
How to mask sensitive parts of a string (e.g. credit card numbers) in C++
asked
Dec 23, 2025
by
avibootz
cpp
cpp-mask-sensitive-parts-string
mask-sensitive-parts-string
2
answers
66
views
How to check if the sum of two halves of a number is equal in C++
asked
Dec 20, 2025
by
avibootz
cpp
cpp-sum-two-halves-number-equal
sum-two-halves-number-equal
2
answers
57
views
How to check if two halves of a number are equal in C++
asked
Dec 20, 2025
by
avibootz
cpp
cpp-two-halves-number-equal
two-halves-number-equal
1
answer
37
views
How to check if two strings are isomorphic in C++
asked
Dec 18, 2025
by
avibootz
cpp
cpp-check-two-strings-isomorphic
check-two-strings-isomorphic
2
answers
51
views
How to calculate Levenshtein distance between two strings (min chars to transform str1 into str2) in C++
asked
Dec 18, 2025
by
avibootz
cpp
cpp-levenshtein-distance-between-two-strings
levenshtein-distance-between-two-strings
1
answer
34
views
How to remove text between parentheses in a string using C++
asked
Dec 17, 2025
by
avibootz
cpp
cpp-remove-text-between-parentheses-in-string
remove-text-between-parentheses-in-string
Page:
1
2
3
4
5
6
...
76
next »
...