by MaxGreen
if/for/while do
|
|
[13 replies] Last: Maybe the 4th requirement does not mean the sum of all the results, bu... (by Manga)
|
How to make a class "private" |
|
[7 replies] Last: Thanks. I've edited my post. (by dhayden)
|
by sparki
Conversion to string from int
|
|
[1 reply] : That memset looks wrong. array is an int pointer, size 8 bytes (probab... (by Repeater)
|
by Xyz57
Code debugging assistance
|
|
[4 replies] Last: BTW static const PI can best be put inside the class (it's not a data ... (by againtry)
|
by momof4
how to draw a number in the thousands
|
|
[2 replies] Last: How about: void display_number(int num) { for (char digit: to_s... (by dutch)
|
by newbie812
Read file and input into vector
|
|
[5 replies] Last: Maybe something like this: #include <iostream> #include <fstream> #... (by dutch)
|
by momof4
move once per click
|
|
[1 reply] : you need one of two things. first, check your tools to see if you hav... (by jonnin)
|
by BennysMaria
How can i change specific elements of an array?
|
|
[1 reply] : #include <iostream> int main() { int a ; int b, c; std::cout << ... (by zapshe)
|
by HAL8999
What shouldn't you return from a local variable?
|
|
[4 replies] Last: please note that a segfault is not guaranteed, so be careful when codi... (by ne555)
|
by momof4
Iterating through a list
|
|
[3 replies] Last: This sort of problem is why we now have range based for loops: for (c... (by dhayden)
|
by John3682
Classes and fractions
|
|
[6 replies] Last: After you watch the videos, search for "rational" on this site. There ... (by dhayden)
|
by mrpear2020
C++ regex clarification
|
|
[3 replies] Last: Raw strings were probably added mostly for regexes since otherwise the... (by dutch)
|
by ElusiveTau
Is it possible to initialize a class' reference member inside a copy-constructor?
|
|
[12 replies] Last: doesn't compile, conversion from `int' to `Person*' also, stack overf... (by dhayden)
|
by MaxGreen
do while
|
|
[3 replies] Last: thanks (by MaxGreen)
|
by Shruthi LS
Range based for loop in cpp
|
|
[9 replies] Last: You may use C++17 and overload of << operator #include <iostream> ... (by TomCPP)
|
by Alex4321
C++ debugging help
|
|
[5 replies] Last: Just for interest sake after a bit of compaction etc ... #include <i... (by againtry)
|
by ElusiveTau
How to write a method to cout elements (of user-defined type) from sequential containers?
|
|
[6 replies] Last: [quote=ElusiveTau]My guess is that execution tries to run to_string(ob... (by Ganado)
|
by Mif
Can anyone help me with switch loop?
|
|
[6 replies] Last: glad you got it. FYI c++ does not recommend C-strings and printf, sc... (by jonnin)
|
by greenway
Returning values from a void function
|
|
[7 replies] Last: void readFile() - read the contents of the input file Your calcAvgGr... (by dhayden)
|
by jkwok678
Deleting 1 copy of a shared_Ptr
|
|
[9 replies] Last: > I think that may just be a mistake with the const. that's quite a de... (by ne555)
|