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
ruby
html
vbnet
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
cpp-string
c-string
swift-string
go-string
php-string
bash
java-string
c#-string
vbnet-string
python-string
cobol
rust-string
scala-string
javascript-string
cpp-vector
typescript-string
pascal-array
f#
opengl
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
rot13
reverse-string-without-pecial-characters
all-dates-between-2-dates
first-repeated-character-string
difference-two-dates-seconds
get-n-digit-after-decimal-point-float
Disclosure:
My content contains affiliate links.
Recent questions tagged CPP
43,835
questions
57,202
answers
573
users
Recent questions tagged CPP
1
answer
8
views
How to find the two largest elements in a vector with C++
asked
15 hours
ago
by
avibootz
cpp
cpp-two-largest-elements-vector
two-largest-elements-vector
1
answer
7
views
How to find the smallest and largest digits in a number in C++
asked
1 day
ago
by
avibootz
cpp
cpp-smallest-largest-digits-number
smallest-largest-digits-number
1
answer
14
views
How to reverse a vector of characters without affecting the special characters in C++
asked
2 days
ago
by
avibootz
cpp
cpp-reverse-vector-characters-without-special-characters
reverse-vector-characters-without-special-characters
1
answer
20
views
How to implement the ROT13 algorithm (replace a letter with the 13th letter after it) in C++
asked
3 days
ago
by
avibootz
cpp
cpp-implement-rot13-algorithm
implement-rot13-algorithm
rot13
1
answer
23
views
How to get the number of months between two dates in C++
asked
3 days
ago
by
avibootz
cpp
cpp-months-between-two-dates-months
months-between-two-dates-months
1
answer
30
views
How to get all dates between 2 dates in C++
asked
5 days
ago
by
avibootz
cpp
cpp-all-dates-between-2-dates
all-dates-between-2-dates
1
answer
37
views
How to access static properties in an object in C++
asked
Oct 30
by
avibootz
cpp
cpp-access-static-properties-in-object
access-static-properties-in-object
2
answers
54
views
How to find three consecutive numbers with the largest sum in a vector of integers in C++
asked
Oct 29
by
avibootz
cpp
cpp-three-consecutive-numbers-largest-sum-vector
three-consecutive-numbers-largest-sum-vector
1
answer
50
views
How to use the move_backward function to move a range of elements to a new location in backwards order in C++
asked
Oct 28
by
avibootz
cpp
cpp-move-backward-function
move-backward-function
1
answer
48
views
How to use the ranges::mismatch function to find the first position where two ranges differ in C++
asked
Oct 28
by
avibootz
cpp
cpp-use-ranges-mismatch-function
use-ranges-mismatch-function
1
answer
53
views
How to use the ranges::for_each function to applies a unary function object to elements in a range in C++
asked
Oct 28
by
avibootz
cpp
cpp-use-ranges-for-each-function
use-ranges-for-each-function
1
answer
48
views
How to use std::fill_n to copy a given value to N elements in a range in C++
asked
Oct 27
by
avibootz
cpp
cpp-fill-n-copy-given-value-n-elements-range
fill-n-copy-given-value-n-elements-range
1
answer
53
views
How to generate 7 random numbers out of 33 (1-33) in C++
asked
Oct 27
by
avibootz
cpp
cpp-generate-7-random-numbers-1-33
generate-7-random-numbers-1-33
3
answers
71
views
How to calculate the largest positive integer in a 64-bit system in C++
asked
Oct 25
by
avibootz
cpp
cpp-largest-positive-integer-64-bit
largest-positive-integer-64-bit
1
answer
58
views
How to sort a std::map first by value, then by key in C++
asked
Oct 23
by
avibootz
cpp
cpp-map
cpp-sort-map-value-key
sort-map-value-key
1
answer
46
views
How to find the maximum distance between two numbers in a vector with C++
asked
Oct 22
by
avibootz
cpp
cpp-maximum-distance-two-numbers-vector
maximum-distance-two-numbers-vector
1
answer
56
views
How to find the minimum distance between two numbers in a vector with C++
asked
Oct 21
by
avibootz
cpp
cpp-minimum-distance-two-numbers-vector
minimum-distance-two-numbers-vector
1
answer
47
views
How to convert a string to a date component in C++
asked
Oct 21
by
avibootz
cpp
cpp-convert-string-date-component
convert-string-date-component
2
answers
65
views
How to convert string to enum in C++
asked
Oct 21
by
avibootz
cpp
cpp-string-to-enum
string-to-enum
2
answers
73
views
How to convert comma-separated values in a string to std::vector<int> with C++
asked
Oct 21
by
avibootz
cpp
cpp-convert-comma-separated-values-string-vector-int
convert-comma-separated-values-string-vector-int
1
answer
60
views
How to convert the std::string to multiple common types in C++
asked
Oct 20
by
avibootz
cpp
cpp-convert-std-string-common-types
convert-std-string-common-types
1
answer
63
views
How to use the commonly used std::string methods in C++
asked
Oct 20
by
avibootz
cpp
cpp-commonly-used-std-string-methods
commonly-used-std-string-methods
1
answer
64
views
How to constructs a Binary Search Tree (BST) from a vector of numbers in C++
asked
Oct 20
by
avibootz
cpp
cpp-constructs-binary-search-tree-from-vector
constructs-binary-search-tree-from-vector
3
answers
90
views
How to compute the total number of combinations for choosing 1 out of 3 in a row with 16 rows in C++
asked
Oct 19
by
avibootz
cpp
cpp-total-combinations-choosing-1-out-of-3-row-16-rows
total-combinations-choosing-1-out-of-3-row-16-rows
1
answer
65
views
How to compute the total number of combinations when choosing 7 numbers out of 33 in C++
asked
Oct 19
by
avibootz
cpp
cpp-total-combinations-choosing-7-out-of-33
total-combinations-choosing-7-out-of-33
2
answers
82
views
How to format a string using fixed-width fields in C++
asked
Oct 17
by
avibootz
cpp
cpp-string
cpp-format-string-fixed-width-fields
format-string-fixed-width-fields
2
answers
107
views
How to get the Nth digit after the decimal point of a floating-point number in C++
asked
Oct 15
by
avibootz
cpp
cpp-get-n-digit-after-decimal-point-float
get-n-digit-after-decimal-point-float
1
answer
102
views
How to get the Nth digit of a number from the right in C++
asked
Oct 13
by
avibootz
cpp
cpp-get-n-digit-of-number-from-right
get-n-digit-of-number-from-right
2
answers
130
views
How to remove file extension in C++
asked
Oct 12
by
avibootz
cpp
cpp-remove-file-extension
remove-file-extension
1
answer
114
views
How to merge two sorted arrays without duplicates in C++
asked
Oct 11
by
avibootz
cpp
cpp-array
cpp-merge-arrays-without-duplicates
merge-arrays-without-duplicates
2
answers
118
views
How to print a variable inside quotation marks in C++
asked
Oct 10
by
avibootz
cpp
cpp-print-variable-inside-quotation-marks
print-variable-inside-quotation-marks
2
answers
117
views
How to extract whole numbers not adjacent to letters <8408<f16f15>9387541<47g28<829o... in C++
asked
Oct 10
by
avibootz
cpp
cpp-extract-numbers-pattern
extract-numbers-pattern
1
answer
80
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
77
views
How to initialize vector elements in C++
asked
Oct 6
by
avibootz
cpp
cpp-initialize-vector-elements
initialize-vector-elements
2
answers
101
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
78
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
83
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
80
views
How to hash a string in C++
asked
Oct 4
by
avibootz
cpp
cpp-string
cpp-hash-string
hash-string
1
answer
70
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
93
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
79
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
104
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
113
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
69
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
78
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
126
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
76
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
124
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
94
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
108
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-date-formats-to-yyyy-mm-dd
Page:
1
2
3
4
5
6
...
84
next »
...