by ruffell
Need help with a simple program!! rolls dice and adds the result
|
|
[2 replies] Last: You should initialise your variables. int playerOneScore = 0; in... (by salem c)
|
by Orion98
String Functions
|
|
[2 replies] Last: #include <iostream> #include <iomanip> // for std::quoted int my_str... (by JLBorges)
|
by orcusb
not understanding dereference and pointers
|
|
[16 replies] Last: I have not figured out how to eliminate providing the parameter yet,... (by Niccolo)
|
Reasonably simple way to make enum work as an unordered_map key or value? |
|
[6 replies] Last: Furry Guy, I already did that. Not sure why it wouldn't compile withou... (by SqueakySquirrel)
|
by robbinn
what does "delete" do for pointers?
|
|
[5 replies] Last: int pointer = 10; { int memory ; memory = 1234; } //<- this is the de... (by jonnin)
|
by mdh1559
is symmetric to a dollar sign?
|
|
[2 replies] Last: thanks for the idea involving const char c = '$' and the conditio... (by mdh1559)
|
by annw3y
Biggest number in every row in 2 dimensional array c++
|
|
[2 replies] Last: 21:30: warning: ISO C++ forbids variable length array 'result' [-Wvla... (by keskiverto)
|
by a111poudel
I cant create a "random" number generator.
|
|
[8 replies] Last: @ Handy Andy, Look at the cplusplus page for std::default_random_devi... (by deleted account xyzzy)
|
by redfury
Removing/Replacing the "computer given" functionality of backspace
|
|
[2 replies] Last: umm, I just added an else condition after my "if" and it apparently is... (by redfury)
|
by Deadwisper
Equal or less problem
|
|
[10 replies] Last: Most people would reasonably write an if statement like this: if (ag... (by deleted account xyzzy)
|
by adam2016
Building libraries before using them
|
|
[13 replies] Last: See, e.g., Colby Pike's "pitchfork layout" for a reasonable project or... (by mbozzi)
|
by jjordan33
Passing 2d dynamic array to function.
|
|
[8 replies] Last: How would a file be read into a vector? Depends on how the data is l... (by deleted account xyzzy)
|
by rivera120447
error: return-statement with no value, in function returning ‘int’
|
|
[2 replies] Last: sixth, ^ is not exponentiation tol = 1e-4;//10 ^ -4; (by ne555)
|
by BSM
For requesting c++ mini program using only if-else, loops, functions, and arrays, without class.
|
|
[2 replies] Last: #include <iostream> #include <cctype> #include <limits> int main() {... (by deleted account xyzzy)
|
by CodeNovice01
Help with IF
|
|
[5 replies] Last: You mean like this? if(weight1 > 1000) cout << "\nTOO HE... (by salem c)
|
by sarah1993
error C2679: binary '<<': no operator found which takes a right-hand operand of type 'std::vector<int,std::allocator<_Ty>>'
|
|
[8 replies] Last: Hi lastchance and helios , thank you for your advise. I've improv... (by sarah1993)
|
by Talavera8
main not recognizing my class
|
|
[6 replies] Last: Thank you so much, Andy and Nicolo, for taking the time to help me out... (by Talavera8)
|
by CodeNovice01
Time(days, hours, min, sec) Mod
|
|
[2 replies] Last: Thank you again Salem, you're a great help!!!! (by CodeNovice01)
|
by deathzine
operator || problem need help!
|
|
[9 replies] Last: Yes, every position is a character, and space is character. Where "A"... (by Niccolo)
|
by CodeNovice01
IF statements
|
|
[1 reply] : You could start with the biggest number then go to a smaller number. E... (by rjphares)
|