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
c
java
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
dart
vbnet
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
php-string
cobol
c#-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
sdl3
c-matrix
cpp-array
c#-list
vbnet-list
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
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
longest-substring-without-repeating-characters
calculate-volume-cube
divide-given-amount-into-bills-coins
convert-decimal-number-to-rational-number
count-non-overlapping-instances-substring-in-string
print-floyds-triangle
case-insensitively-check-character-exists-in-string
calculate-area-pentagon
measure-function-execution-time
Disclosure:
My content contains affiliate links.
Recent questions tagged cpp
42,844
questions
55,671
answers
573
users
Recent questions tagged cpp
1
answer
102
views
How to calculate the percentage change between two values in C++
asked
Mar 16
by
avibootz
cpp
cpp-percentage-change-between-two-values
percentage-change-between-two-values
1
answer
99
views
How to write the 7 Boom game. If a number is divided by 7 or includes the digit 7, the user writes Boom in C++
asked
Mar 14
by
avibootz
cpp
cpp-7-boom-game
7-boom-game
2
answers
113
views
How to find the longest shared prefix among all words in a string with C++
asked
Mar 13
by
avibootz
cpp
cpp-longest-shared-prefix-words-string
longest-shared-prefix-words-string
2
answers
99
views
How to group words in a string by the first N letters in C++
asked
Mar 13
by
avibootz
cpp
cpp-group-words-string-first-n-letter
group-words-string-first-n-letter
4
answers
157
views
How to find the longest common prefix of all the words in a string with C++
asked
Mar 11
by
avibootz
cpp
cpp-longest-common-prefix-all-words-string
longest-common-prefix-all-words-string
3
answers
120
views
How to split a string on multiple multi‑character delimiters (and keep them) in C++
asked
Mar 9
by
avibootz
cpp
cpp-split-string-multiple-multi-character-delimiters
split-string-multiple-multi-character-delimiters
2
answers
113
views
How to split a string on multiple single‑character delimiters (and keep them) in C++
asked
Mar 8
by
avibootz
cpp
cpp-split-string-multiple-single-character-delimiters
split-string-multiple-single-character-delimiters
1
answer
87
views
How to remove all adjacent duplicate characters from a string until no more can be removed in C++
asked
Mar 7
by
avibootz
cpp
cpp-remove-adjacent-duplicate-characters-string
remove-adjacent-duplicate-characters-string
1
answer
95
views
How to reverse only the alphabetic characters in a string, keeping other characters in place with C++
asked
Mar 6
by
avibootz
cpp
cpp-reverse-only-alphabetic-characters
reverse-only-alphabetic-characters
1
answer
95
views
How to find missing alphabet characters from a string in C++
asked
Mar 6
by
avibootz
cpp
cpp-missing-alphabet-characters-string
missing-alphabet-characters-string
3
answers
135
views
How to check if a string contains only 0 and 1 and is divisible by 7 in C++
asked
Feb 28
by
avibootz
cpp
cpp-string-contains-only-0-and-1-is-divisible-by-7
string-contains-only-0-and-1-is-divisible-by-7
1
answer
76
views
How to check if a string contains only 0 and 1 in C++
asked
Feb 28
by
avibootz
cpp
cpp-string-contains-only-0-and-1
string-contains-only-0-and-1
1
answer
78
views
How to check if a string contains only 0 and 1 using RegEx in C++
asked
Feb 28
by
avibootz
cpp
cpp-regex
cpp-string-contains-only-0-and-1-regex
string-contains-only-0-and-1-regex
3
answers
121
views
How to check if every digit in a number appears only once in C++
asked
Feb 25
by
avibootz
cpp
cpp-check-digits-number-appears-once
check-digits-number-appears-once
1
answer
117
views
How to check if a number is pandigital in C++
asked
Feb 25
by
avibootz
cpp
cpp-check-number-pandigitaln
check-number-pandigitaln
2
answers
121
views
How to convert an int to scientific notation in C++
asked
Feb 25
by
avibootz
cpp
cpp-convert-int-to-scientific-notation
convert-int-to-scientific-notation
1
answer
89
views
How to find all happy numbers in a specific range with C++
asked
Feb 24
by
avibootz
cpp
cpp-find-happy-numbers-in-specific-range
find-happy-numbers-in-specific-range
1
answer
100
views
How to guarantee a 64‑bit integer across platforms in C++
asked
Feb 22
by
avibootz
cpp
cpp-guarantee-64-bit-integer-across-platforms
guarantee-64-bit-integer-across-platforms
1
answer
93
views
What is the bit size of long on 64-bit Windows in C++
asked
Feb 22
by
avibootz
cpp
win32
cpp-bit-size-long-64-bit-windows
bit-size-long-64-bit-windows
3
answers
145
views
How to remove newlines from a string C++
asked
Feb 21
by
avibootz
cpp
cpp-remove-newlines-from-string
remove-newlines-from-string
1
answer
97
views
How to convert a number to any base in C++
asked
Feb 20
by
avibootz
cpp
cpp-convert-number-to-any-base
convert-number-to-any-base
1
answer
97
views
How to convert meters to yards and vice versa in C++
asked
Feb 20
by
avibootz
cpp
cpp-convert-meters-yards-vice-versa
convert-meters-yards-vice-versa
1
answer
98
views
How to count uppercase, lowercase, special characters, and numeric values using RegEx in C++
asked
Feb 20
by
avibootz
cpp
cpp-count-uppercase-lowercase-special-characters-numeric-regex
count-uppercase-lowercase-special-characters-numeric-regex
1
answer
75
views
How to simulate rolling two dice (game cubes) with values 1–6 in C++
asked
Feb 18
by
avibootz
cpp
cpp-simulate-rolling-two-dice-values-1-6
simulate-rolling-two-dice-values-1-6
1
answer
96
views
How to use the BitBlt function to get pixel color on a screen or window using the Win32 API in C++
asked
Feb 17
by
avibootz
cpp
win32
winapi-use-bitblt-function-get-pixel-color-win32-api
use-bitblt-function-get-pixel-color-win32-api
1
answer
101
views
How to use the GetPixel function to get a pixel color using the Win32 API in C++
asked
Feb 17
by
avibootz
cpp
win32
winapi
cpp-use-getpixel-function-get-pixel-color-win32-api
use-getpixel-function-get-pixel-color-win32-api
1
answer
110
views
How to use the SetPixel function to draw a diagonal line using the Win32 API in C++
asked
Feb 17
by
avibootz
cpp
win32
winapi
cpp-use-setpixel-function-draw-diagonal-line-win32-api
use-setpixel-function-draw-diagonal-line-win32-api
1
answer
101
views
How to use the SetPixel function to draw a small 10x10 blue square using the Win32 API in C++
asked
Feb 17
by
avibootz
cpp
win32
winapi
cpp-use-setpixel-function-draw-square-win32-api
use-setpixel-function-draw-square-win32-api
2
answers
115
views
How to remove the last n occurrences of a substring in a string in C++
asked
Feb 15
by
avibootz
cpp
cpp-remove-last-n-occurrences-substring-string
remove-last-n-occurrences-substring-string
1
answer
117
views
How to use the TextOut function to draw text at a specified location using the Win32 API in C++
asked
Feb 14
by
avibootz
cpp
win32
winapi
cpp-use-textout-function-win32-api
use-textout-function-win32-api
1
answer
102
views
How to use the DeleteFile function using the Win32 API in C++
asked
Feb 14
by
avibootz
cpp
win32
winapi
cpp-use-deletefile-function-win32-api
use-deletefile-function-win32-api
1
answer
83
views
How to replace a random word in a string with a random word from a vector of words using C++
asked
Feb 13
by
avibootz
cpp
cpp-replace-random-word-in-string-with-random-word-from-vector
replace-random-word-in-string-with-random-word-from-vector
1
answer
90
views
How to calculate the products of (jagged) uneven-sized matrix columns in C++
asked
Feb 13
by
avibootz
cpp
cpp-products-uneven-sized-matrix-columns
products-uneven-sized-matrix-columns
1
answer
114
views
How to use the CreateFile function using the Win32 API in C++
asked
Feb 12
by
avibootz
cpp
win32
winapi
cpp-use-createfile-function-win32-api
use-createfile-function-win32-api
1
answer
102
views
How to use the GlobalAlloc function using the Win32 API in C++
asked
Feb 11
by
avibootz
win32
winapi
cpp
cpp-use-globalalloc-function-win32-api
use-globalalloc-function-win32-api
1
answer
105
views
How to use the VirtualAlloc function using the Win32 API in C++
asked
Feb 10
by
avibootz
win32
winapi
cpp
cpp-use-virtualalloc-function-win32-api
use-virtualalloc-function-win32-api
1
answer
116
views
How to find the shortest identical consecutive subvector in an vector with C++
asked
Feb 7
by
avibootz
cpp
cpp-shortest-identical-consecutive-subvector
shortest-identical-consecutive-subvector
2
answers
101
views
How to find a number that can be written as the sum and product of its factors in C++
asked
Feb 7
by
avibootz
cpp
cpp-number-written-as-sum-and-product-of-its-factors
number-written-as-sum-and-product-of-its-factors
1
answer
114
views
How to delete a file using the Win32 API in C++
asked
Feb 6
by
avibootz
cpp
win32
winapi
cpp-delete-file-win32-api
delete-file-win32-api
1
answer
91
views
How to move the n word to the end of a string in C++
asked
Feb 6
by
avibootz
cpp
cpp-move-n-word-to-end-of-string
move-n-word-to-end-of-string
1
answer
99
views
How to move the first word to the end of a string in C++
asked
Feb 5
by
avibootz
cpp
cpp-move-move-first-word-to-end-of-string
move-first-word-to-end-of-string
1
answer
91
views
How to move a word to the end of a string in C++
asked
Feb 3
by
avibootz
cpp
cpp-move-word-to-end-of-string
move-word-to-end-of-string
1
answer
98
views
How to multiply every N consecutive items in a vector with C++
asked
Feb 1
by
avibootz
cpp
cpp-multiply-every-n-of-consecutive-items-in-vector
multiply-every-n-of-consecutive-items-in-vector
2
answers
146
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
124
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
79
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
138
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
122
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
102
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
96
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
Page:
« prev
1
2
3
4
5
6
7
8
9
10
11
...
82
next »
...