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
f#
opengl
typescript-string
pascal-array
swift-array
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
split-string-into-array-by-delimiter
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
remove-characters-first-string-from-second-string
generate-8-digit-random-number
compare-two-dates
extract-all-digits-string
get-first-digit-after-decimal-point-float
remove-stop-words-string
check-whether-floating-point-variable-is-integer
longest-substring-without-repeating-characters
Disclosure:
My content contains affiliate links.
Recent questions tagged cpp
43,401
questions
56,365
answers
573
users
Recent questions tagged cpp
1
answer
6
views
How to generate a range of floating-point numbers in C++
asked
1 day
ago
by
avibootz
cpp
cpp-floating-point
cpp-generate-range-floating-point-numbers
generate-range-floating-point-numbers
1
answer
6
views
How to hash a string and detect collision in C++
asked
1 day
ago
by
avibootz
cpp
cpp-string
cpp-hash-string-detect-collision
hash-string-detect-collision
1
answer
8
views
How to hash a string in C++
asked
1 day
ago
by
avibootz
cpp
cpp-string
cpp-hash-string
hash-string
1
answer
7
views
How to mark an Enum member as deprecated in C++
asked
1 day
ago
by
avibootz
cpp
cpp-enum
cpp-mark-enum-member-deprecated
mark-enum-member-deprecated
1
answer
10
views
How to convert a string to an array of characters in C++
asked
2 days
ago
by
avibootz
cpp
cpp-string
cpp-string-to-array-characters
string-to-array-characters
1
answer
19
views
How to retrieve k random numbers from a vector of unknown size at compile time in C++
asked
3 days
ago
by
avibootz
cpp
cpp-k-random-numbers-vector-unknown-size-compile-time
k-random-numbers-vector-unknown-size-compile-time
2
answers
21
views
How to find the running median from a stream of integers in C++
asked
3 days
ago
by
avibootz
cpp
cpp-running-median-from-stream-integers
running-median-from-stream-integers
2
answers
27
views
How do you find the position of the most significant bit (MSB) of an unsigned integer in C++
asked
5 days
ago
by
avibootz
cpp
cpp-position-msb-integer
position-msb-integer
1
answer
24
views
How to use XOR to swap two characters in a string in C++
asked
5 days
ago
by
avibootz
cpp
cpp-xor-swap-two-characters-string
xor-swap-two-characters-string
1
answer
25
views
How does XOR work for swapping values in C++
asked
5 days
ago
by
avibootz
cpp
cpp-xor-swapping-values
xor-swapping-values
2
answers
49
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
37
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
56
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
46
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
44
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
57
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
48
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
37
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
58
views
How to compare two dates in C++
asked
Sep 20
by
avibootz
cpp
cpp-compare-two-dates
compare-two-dates
1
answer
53
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
50
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
51
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
52
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
62
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
59
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
50
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
100
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
63
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
69
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
68
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
74
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
60
views
How to shorten a URL in C++
asked
Sep 9
by
avibootz
cpp
cpp-shorten-url
shorten-url
2
answers
88
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
108
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
93
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
80
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
103
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
70
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
82
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
99
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
77
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
79
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
1
answer
77
views
How to declare, initialize, and print a complex data structure in C++
asked
Sep 3
by
avibootz
cpp
cpp-declare-initialize-print-complex-data-structure
declare-initialize-print-complex-data-structure
1
answer
78
views
How to declare, initialize, and print a medium complexity, varied, feature‑rich data structure in C++
asked
Sep 2
by
avibootz
cpp
cpp-declare-initialize-print-medium-complexity-data-structure
declare-initialize-print-medium-complexity-data-structure
1
answer
86
views
How to sort a vector of structs that contain nested structs using custom comparison logic in C++
asked
Aug 31
by
avibootz
cpp
cpp-sort-vector-of-structs-contain-nested-structs
sort-vector-of-structs-contain-nested-structs
1
answer
111
views
How to find the N most frequent non‑stopwords in a text in C++
asked
Aug 30
by
avibootz
cpp
cpp-n-most-frequent-non-stopwords-text
n-most-frequent-non-stopwords-text
1
answer
77
views
How to find the starting index of all occurrences of a word in a string in C++
asked
Aug 29
by
avibootz
cpp
cpp-find-starting-index-all-occurrences-word-string
find-starting-index-all-occurrences-word-string
1
answer
65
views
How to find the 3 products with the minimum cost from a given array in C++
asked
Aug 29
by
avibootz
cpp
cpp-products-with-minimum-cost-from-array
products-with-minimum-cost-from-array
1
answer
82
views
How to print a tabular representation of memory sizes in C++
asked
Aug 28
by
avibootz
cpp
cpp-tabular-representation-memory-sizes
tabular-representation-memory-sizes
1
answer
77
views
How to convert any digital storage unit into all others (B, KB, MB, GB, TB, PB, EB, ZB, YB) in C++
asked
Aug 27
by
avibootz
cpp
cpp-convert-any-digital-storage-unit-into-all-others
convert-any-digital-storage-unit-into-all-others
Page:
1
2
3
4
5
6
...
83
next »
...