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
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
bash
swift-string
c-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
c-array
swift-array
vbnet
cobol
typescript-string
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
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
sdl3
angularjs
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
dot-product-two-arrays
string-to-title-case
create-infinite-loop
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
represent-boolean-true-false
different-functions-check-number-power-of-2
get-last-word-string
remove-last-word-string
Disclosure:
My content contains affiliate links.
Recent questions tagged cpp
40,759
questions
53,131
answers
573
users
Recent questions tagged cpp
4
answers
13
views
How to extract a substring between two tags [start] [end] in a string with C++
asked
17 hours
ago
by
avibootz
cpp
cpp-extract-substring-between-two-tags
extract-substring-between-two-tags
1
answer
12
views
How to compute the angle between two vectors in C++
asked
23 hours
ago
by
avibootz
cpp
cpp-compute-angle-two-vectors
compute-angle-two-vectors
1
answer
11
views
How to compute the cross product of two 3D vectors in C++
asked
1 day
ago
by
avibootz
cpp
cpp-compute-cross-product-two-3d-vector
compute-cross-product-two-3d-vector
1
answer
11
views
How to add two vectors element‑wise in C++
asked
1 day
ago
by
avibootz
cpp
cpp-add-two-vectors-element-wise
add-two-vectors-element-wise
1
answer
10
views
How to normalize a vector in C++
asked
1 day
ago
by
avibootz
cpp
cpp-normalize-vector
normalize-vector
1
answer
16
views
How do you compute the magnitude (norm) of a vector in C++
asked
1 day
ago
by
avibootz
cpp
cpp-magnitude-norm-vector
magnitude-norm-vector
1
answer
17
views
How to represent a mathematical vector in C++
asked
1 day
ago
by
avibootz
cpp
cpp-represent-mathematical-vector
represent-mathematical-vector
2
answers
17
views
How to localize date format in C++
asked
2 days
ago
by
avibootz
cpp
cpp-localize-date-format
localize-date-format
1
answer
17
views
How to check if a string is title case in C++
asked
3 days
ago
by
avibootz
cpp
cpp-check-string-title-case
check-string-title-case
3
answers
23
views
How to convert a string to title case in C++
asked
4 days
ago
by
avibootz
cpp
cpp-string-to-title-case
string-to-title-case
11
answers
31
views
How to copy a string in C++
asked
5 days
ago
by
avibootz
cpp
cpp-copy-string
copy-string
1
answer
20
views
How to create a doubly linked list in C++
asked
5 days
ago
by
avibootz
cpp
cpp-create-doubly-linked-list
create-doubly-linked-list
1
answer
26
views
How to represent the Boolean "true" and "false" in C++
asked
6 days
ago
by
avibootz
cpp
cpp-represent-boolean-true-false
represent-boolean-true-false
2
answers
25
views
How to find the next number in the series 14, 25, 47, 91 with C++
asked
6 days
ago
by
avibootz
cpp
cpp-next-number-series-14-25-47-91
next-number-series-14-25-47-91
2
answers
17
views
How to print all possible permutations (all possible orderings) of the words in C++
asked
Apr 14
by
avibootz
cpp
cpp-all-possible-permutations-words
all-possible-permutations-words
1
answer
22
views
How to calculate relative past time from a given date & time (e.g., 3 hours ago, 5 days ago, a month ago) in C++
asked
Apr 13
by
avibootz
cpp
cpp-calculate-relative-past-time-date-time
calculate-relative-past-time-date-time
1
answer
25
views
How to create a singly linked list in C++
asked
Apr 11
by
avibootz
cpp
cpp-create-singly-linked-list
create-singly-linked-list
1
answer
16
views
How to find the common free time for all employees from a vector of non-overlapping intervals in C++
asked
Apr 11
by
avibootz
cpp
cpp-common-free-time-vector-of-non-overlapping-intervals
common-free-time-vector-of-non-overlapping-intervals
4
answers
35
views
How to create an infinite loop in C++
asked
Apr 10
by
avibootz
cpp
cpp-create-infinite-loop
create-infinite-loop
1
answer
23
views
How to remove the minimum number of intervals so that the remaining intervals do not overlap in C++
asked
Apr 9
by
avibootz
cpp
cpp-remove-minimum-intervals-remaining-do-not-overlap
remove-minimum-intervals-remaining-do-not-overlap
1
answer
28
views
How to add a new interval into a sorted vector of non‑overlapping intervals in C++
asked
Apr 9
by
avibootz
cpp
cpp-add-interval-into-sorted-vector-non-overlapping-intervals
add-interval-into-sorted-vector-non-overlapping-intervals
2
answers
29
views
How to detect whether any intervals overlap in a vector of start and end times with C++
asked
Apr 7
by
avibootz
cpp
cpp-detect-intervals-overlap-vector-start-end-times
detect-intervals-overlap-vector-start-end-times
1
answer
24
views
What to include to use LLONG_MIN in C++
asked
Apr 7
by
avibootz
cpp
cpp-include-llong-min
include-llong-min
3
answers
30
views
How to find the max sum of a subarray of length k with unique elements (edge‑case‑safe) in C++
asked
Apr 7
by
avibootz
cpp
cpp-max-sum-subarray-length-k-unique-elements
max-sum-subarray-length-k-unique-elements
1
answer
24
views
How to print text diagonally from left to right recursively in C++
asked
Apr 7
by
avibootz
cpp
cpp-print-text-diagonally-from-left-to-right-recursively
print-text-diagonally-from-left-to-right-recursively
1
answer
30
views
How to print text diagonally from left to right in C++
asked
Apr 7
by
avibootz
cpp
cpp-print-text-diagonally-from-left-to-right
print-text-diagonally-from-left-to-right
1
answer
25
views
How to find the 3rd smallest element in a vector with C++
asked
Apr 5
by
avibootz
cpp
cpp-3rd-smallest-element-vector
3rd-smallest-element-vector
1
answer
33
views
What to include to use nth_element in C++
asked
Apr 5
by
avibootz
cpp
cpp-include-nth_element
include-nth_element
1
answer
30
views
What to include to use priority_queue in C
asked
Apr 5
by
avibootz
cpp
cpp-include-priority_queue
include-priority_queue
3
answers
38
views
How to find the maximum value we can achieve by picking k elements from a vector in C++
asked
Apr 5
by
avibootz
cpp
cpp-maximum-value-k-elements-vector
maximum-value-k-elements-vector
1
answer
22
views
How to get a list of powers of 2 of bits of a number whose sum is equal to the number in C++
asked
Apr 4
by
avibootz
cpp
cpp-list-powers-of-2-of-bits-of-number-sum-equal-to-number
list-powers-of-2-of-bits-of-number-sum-equal-to-number
1
answer
36
views
How to check whether only 2 bits in a number at a specific position are on (edge‑case‑safe) with C++
asked
Apr 3
by
avibootz
cpp
cpp-check-2-number-bits-specific-position-on-edge-case-safe
check-2-number-bits-specific-position-on-edge-case-safe
1
answer
34
views
How to check whether only 2 bits in a vector of bits at a specific position are on (edge‑case‑safe) with C++
asked
Apr 3
by
avibootz
cpp
cpp-check-2-vector-bits-specific-position-on-edge-case-safe
check-2-vector-bits-specific-position-on-edge-case-safe
1
answer
25
views
How to write 5 different functions that check if a number is a power of 2 in C++
asked
Apr 2
by
avibootz
cpp
cpp-different-functions-check-number-power-of-2
different-functions-check-number-power-of-2
2
answers
45
views
How to write 4 different functions that check if a number is a power of 2 in C++
asked
Apr 1
by
avibootz
cpp
cpp-different-functions-check-number-power-of-2
different-functions-check-number-power-of-2
1
answer
26
views
How to find the longest subarray with exactly k distinct numbers in C++
asked
Apr 1
by
avibootz
cpp
cpp-longest-subarray-exactly-k-distinct-numbers
longest-subarray-exactly-k-distinct-numbers
1
answer
28
views
How to write 6 different functions that accept 5 or 7 and return the other number, without using if,switch in C++
asked
Mar 31
by
avibootz
cpp
cpp-different-functions-accept-5-7-return-other-number
different-functions-accept-5-7-return-other-number
1
answer
32
views
How to copy bits from M into N (numbers) between bit positions i and j (edge‑case‑safe) in C++
asked
Mar 29
by
avibootz
cpp
cpp-bits
cpp-copy-bits-m-into-n-between-positions-edge-case-safe
copy-bits-m-into-n-between-positions-edge-case-safe
2
answers
21
views
How to filter elements from a collection into a new collection in a generic way (edge‑case‑safe) in C++
asked
Mar 29
by
avibootz
cpp
cpp-filter-elements-collection-generic-edge-case-safe
filter-elements-collection-generic-edge-case-safe
2
answers
37
views
How to get the word before the last word from a string (edge‑case‑safe) in C++
asked
Mar 28
by
avibootz
cpp
cpp-string
cpp-get-word-before-last-string-edge-case-safe
get-word-before-last-string-edge-case-safe
3
answers
37
views
How to get all possible subsets from a given group of numbers in C++
asked
Mar 27
by
avibootz
cpp
cpp-all-possible-subsets-group-of-numbers
all-possible-subsets-group-of-numbers
2
answers
34
views
How to find the median among three given numbers in C++
asked
Mar 26
by
avibootz
cpp
cpp-median-among-three-given-numbers
median-among-three-given-numbers
2
answers
35
views
How to find the smallest number greater than a given number, using the same digits in C++
asked
Mar 25
by
avibootz
cpp
cpp-smallest-number-greater-given-number-same-digits
smallest-number-greater-given-number-same-digits
2
answers
53
views
How to produce a sequential count in octal, starting at zero in C++
asked
Mar 23
by
avibootz
cpp
cpp-sequential-count-octal
sequential-count-octal
3
answers
37
views
How to iterate over a collection of key-value pairs (associative array) in C++
asked
Mar 22
by
avibootz
cpp
cpp-iterate-collection-key-value-pairs
iterate-collection-key-value-pairs
3
answers
43
views
How to apply a callback to an array (apply a function to each element) in C++
asked
Mar 20
by
avibootz
cpp
cpp-callback-to-array
callback-to-array
1
answer
41
views
How to calculate the Ethiopian multiplication in C++
asked
Mar 17
by
avibootz
cpp
cpp-ethiopian-multiplication
ethiopian-multiplication
1
answer
28
views
How to calculate the percentage of a percentage in C++
asked
Mar 17
by
avibootz
cpp
cpp-percentage-of-percentage
percentage-of-percentage
1
answer
34
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
35
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
Page:
1
2
3
4
5
6
...
78
next »
...