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
cpp-string
c-string
swift-string
bash
go-string
php-string
c#-string
java-string
vbnet-string
cobol
python-string
rust-string
scala-string
javascript-string
cpp-vector
pascal-array
f#
opengl
typescript-string
c-array
swift-array
php-array
javascript-array
rust-vector
typescript-array
python-list
scala-array
reactjs
c-windows
nodejs-string
go-array
nodejs-array
kotlin-array
sdl2
cpp-matrix
cpp-array
c-matrix
sdl3
c#-list
vbnet-list
java-array
pascal-matrix
c#-array
swift-matrix
c#-matrix
go-slice
nodejs-express
character-code-ascii-unicode
kotlin-matrix
typescript-matrix
vbnet-array
angularjs
split-string-into-array-by-delimiter
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
rust-matrix
go-matrix
kotlin-list
swap-two-numbers-without-third
swap-two-numbers
mask-number-stars-except-last-4-digits
remove-characters-first-string-from-second-string
generate-8-digit-random-number
compare-two-dates
Disclosure:
My content contains affiliate links.
Recent questions tagged cpp
43,540
questions
56,739
answers
573
users
Recent questions tagged cpp
1
answer
18
views
How to get the Nth digit of a number from the right in C++
asked
1 day
ago
by
avibootz
cpp
cpp-get-n-digit-of-number-from-right
get-n-digit-of-number-from-right
2
answers
24
views
How to remove file extension in C++
asked
2 days
ago
by
avibootz
cpp
cpp-remove-file-extension
remove-file-extension
1
answer
28
views
How to merge two sorted arrays without duplicates in C++
asked
3 days
ago
by
avibootz
cpp
cpp-array
cpp-merge-arrays-without-duplicates
merge-arrays-without-duplicates
2
answers
38
views
How to print a variable inside quotation marks in C++
asked
4 days
ago
by
avibootz
cpp
cpp-print-variable-inside-quotation-marks
print-variable-inside-quotation-marks
2
answers
40
views
How to extract whole numbers not adjacent to letters <8408<f16f15>9387541<47g28<829o... in C++
asked
4 days
ago
by
avibootz
cpp
cpp-extract-numbers-pattern
extract-numbers-pattern
1
answer
38
views
How to compare floating-point values safely in C++
asked
Oct 7
by
avibootz
cpp
cpp-floating-point
cpp-compare-floating-point-safely
compare-floating-point-safely
1
answer
41
views
How to initialize vector elements in C++
asked
Oct 6
by
avibootz
cpp
cpp-initialize-vector-elements
initialize-vector-elements
2
answers
59
views
How to initialize array elements in C++
asked
Oct 6
by
avibootz
cpp
cpp-array
cpp-initialize-array-elements
initialize-array-elements
1
answer
44
views
How to generate a range of floating-point numbers in C++
asked
Oct 4
by
avibootz
cpp
cpp-floating-point
cpp-generate-range-floating-point-numbers
generate-range-floating-point-numbers
1
answer
51
views
How to hash a string and detect collision in C++
asked
Oct 4
by
avibootz
cpp
cpp-string
cpp-hash-string-detect-collision
hash-string-detect-collision
1
answer
56
views
How to hash a string in C++
asked
Oct 4
by
avibootz
cpp
cpp-string
cpp-hash-string
hash-string
1
answer
44
views
How to mark an Enum member as deprecated in C++
asked
Oct 3
by
avibootz
cpp
cpp-enum
cpp-mark-enum-member-deprecated
mark-enum-member-deprecated
1
answer
63
views
How to convert a string to an array of characters in C++
asked
Oct 3
by
avibootz
cpp
cpp-string
cpp-string-to-array-characters
string-to-array-characters
1
answer
54
views
How to retrieve k random numbers from a vector of unknown size at compile time in C++
asked
Oct 1
by
avibootz
cpp
cpp-k-random-numbers-vector-unknown-size-compile-time
k-random-numbers-vector-unknown-size-compile-time
2
answers
67
views
How to find the running median from a stream of integers in C++
asked
Oct 1
by
avibootz
cpp
cpp-running-median-from-stream-integers
running-median-from-stream-integers
2
answers
79
views
How do you find the position of the most significant bit (MSB) of an unsigned integer in C++
asked
Sep 30
by
avibootz
cpp
cpp-position-msb-integer
position-msb-integer
1
answer
50
views
How to use XOR to swap two characters in a string in C++
asked
Sep 29
by
avibootz
cpp
cpp-xor-swap-two-characters-string
xor-swap-two-characters-string
1
answer
47
views
How does XOR work for swapping values in C++
asked
Sep 29
by
avibootz
cpp
cpp-xor-swapping-values
xor-swapping-values
2
answers
87
views
How to find the intersection of two vectors (values that exist in both vectors) in C++
asked
Sep 27
by
avibootz
cpp
cpp-intersection-two-vectors
intersection-two-vectors
1
answer
62
views
How to find the densest multiple words in a text (print the section) in C++
asked
Sep 27
by
avibootz
cpp
cpp-densest-multiple-words-text
densest-multiple-words-text
1
answer
84
views
How to check whether the letters of a word exist in a string (order doesn't matter) in C++
asked
Sep 26
by
avibootz
cpp
cpp-letters-of-word-exist-in-string-order-doesnt-matter
letters-of-word-exist-in-string-order-doesnt-matter
1
answer
69
views
How to find the element with minimum occurrences in a vector with C++
asked
Sep 25
by
avibootz
cpp
cpp-element-minimum-occurrences-vector
element-minimum-occurrences-vector
1
answer
78
views
How to convert multiple date formats to YYYY-MM-DD in C++
asked
Sep 24
by
avibootz
cpp
cpp-convert-date-formats-to-yyyy-mm-dd
convert-convert-date-formats-to-yyyy-mm-dd
2
answers
85
views
How to sort a list of string‑based dates in C++
asked
Sep 23
by
avibootz
cpp
cpp-sort-list-string-based-dates
sort-list-string-based-dates
1
answer
66
views
How to print a number with a thousand separator as spaces in C++
asked
Sep 21
by
avibootz
cpp
cpp-number-thousand-separator-spaces
number-thousand-separator-spaces
1
answer
56
views
How to use Big O notation includes O(1), O(n), O(log n), O(n log n), and O(n²) examples in C++
asked
Sep 20
by
avibootz
cpp
cpp-big-o-notation-examples
big-o-notation-examples
1
answer
76
views
How to compare two dates in C++
asked
Sep 20
by
avibootz
cpp
cpp-compare-two-dates
compare-two-dates
1
answer
74
views
How to implement the two-sum algorithm to return unique pairs only in C++
asked
Sep 19
by
avibootz
cpp
cpp-two-sum-algorithm-return-unique-pairs
two-sum-algorithm-return-unique-pairs
1
answer
74
views
How to implement the two-sum algorithm to return all valid pairs in C++
asked
Sep 19
by
avibootz
cpp
cpp-two-sum-algorithm-return-all-valid-pairs
two-sum-algorithm-return-all-valid-pairs
1
answer
70
views
How to get the middle part of a string in C++
asked
Sep 19
by
avibootz
cpp
cpp-get-middle-part-string
get-middle-part-string
1
answer
65
views
How to convert decimal fractions to hexadecimal fractions in C++
asked
Sep 19
by
avibootz
cpp
cpp-decimal-fractions-to-hexadecimal-fractions
decimal-fractions-to-hexadecimal-fractions
1
answer
71
views
How to extract all floating-point numbers from a string of words in C++
asked
Sep 17
by
avibootz
cpp
cpp-extract-all-floating-point-numbers-string
extract-all-floating-point-numbers-string
1
answer
74
views
How to extract the digits of a floating-point number before and after the decimal point from a string in C++
asked
Sep 17
by
avibootz
cpp
cpp-extract-digits-floating-point-string
extract-digits-floating-point-string
1
answer
63
views
How to extract all full numbers from a string in C++
asked
Sep 16
by
avibootz
cpp
cpp-extract-all-full-numbers-string
extract-all-full-numbers-string
3
answers
123
views
How to format currency into millions of dollars in C++
asked
Sep 16
by
avibootz
cpp
cpp-format-currency-into-millions-of-dollars
format-currency-into-millions-of-dollars
1
answer
78
views
How to select N unique random values that appear exactly once in an existing vector with C++
asked
Sep 13
by
avibootz
cpp
cpp-n-unique-random-values-appear-once-in-vector
n-unique-random-values-appear-once-in-vector
1
answer
87
views
How to select N unique random indices from an existing vector in C++
asked
Sep 12
by
avibootz
cpp
cpp-select-n-unique-random-indices-vector
select-n-unique-random-indices-vector
1
answer
81
views
How to find common words in two strings with C++
asked
Sep 11
by
avibootz
cpp
cpp-string
cpp-find-common-words-two-strings
find-common-words-two-strings
1
answer
84
views
How to compute the factorial of a number greater than 20 in C++
asked
Sep 11
by
avibootz
cpp
cpp-compute-factorial-of-number-greater-20
compute-factorial-of-number-greater-20
1
answer
77
views
How to shorten a URL in C++
asked
Sep 9
by
avibootz
cpp
cpp-shorten-url
shorten-url
2
answers
107
views
How to generate all trigrams (3-character sequences) from a given word in C++
asked
Sep 9
by
avibootz
cpp
cpp-generate-all-trigrams-given-word
generate-all-trigrams-given-word
2
answers
130
views
How to compare two float vectors for exact equality in C++
asked
Sep 8
by
avibootz
cpp
cpp-compare-two-float-vectors-exact-equality
compare-two-float-vectors-exact-equality
1
answer
109
views
How to compare two float vectors using a tolerance in C++
asked
Sep 8
by
avibootz
cpp
cpp-compare-two-float-vectors-tolerance
compare-two-float-vectors-tolerance
1
answer
92
views
How to split text without spaces into a list of words using dictionary-based segmentation in C++
asked
Sep 6
by
avibootz
cpp
cpp-split-text-without-spaces-into-words-dictionary
split-text-without-spaces-into-words-dictionary
1
answer
121
views
How to convert numbers from 0 to 999,999,999,999,999 (up to 999 trillion) into English words in C++
asked
Sep 5
by
avibootz
cpp
cpp-convert-numbers-0-999999999999999-english-words
convert-numbers-0-999999999999999-english-words
1
answer
83
views
How to convert numbers from 0 to 999,999,999 into English words in C++
asked
Sep 5
by
avibootz
cpp
cpp-convert-numbers-0-999999999-english-words
convert-numbers-0-999999999-english-words
1
answer
96
views
How to generate all subsets of a given set using an iterative algorithm in C++
asked
Sep 5
by
avibootz
cpp
cpp-all-subsets-set
all-subsets-set
2
answers
121
views
How to create a binary tree and print the tree with a pretty‑printer that draws branches in C++
asked
Sep 5
by
avibootz
cpp
cpp-create-binary-tree-print-draws-branches
create-binary-tree-print-draws-branches
1
answer
99
views
How to parse a table into a binary tree in C++
asked
Sep 4
by
avibootz
cpp
cpp-parse-table-into-binary-tree
parse-table-into-binary-tree
1
answer
95
views
How to implement a queue using two stacks in C++
asked
Sep 4
by
avibootz
cpp
cpp-implement-queue-two-stacks
implement-queue-two-stacks
Page:
1
2
3
4
5
6
...
83
next »
...