Beginners (Page 92)

allocate memory at a given pointer to memory
I tried to cast an int * to struct * . It is not working exactly as i wanted it to be. #inc...
[4 replies] Last: I still don't know what you're trying to do for sure, so forgive me if... (by tipaye)
Const Reference [Updated] NEED HELP!
I need my program to do this: Write a program that asks a user how much change is to be given. Pass...
[4 replies] Last: There is one problem: due to rounding errors, it's possible for newmon... (by dhayden)
Specific usage of if loop
Hey guys. I'm practicing programming from this book I have, and one of the solutions contains this u...
[8 replies] Last: Also, if is not a loop... (by tipaye)
by GOPI56
Help me,I have written a program but the program is not running.
I having written a program but the program is unable to run. #include <iostream> #include <...
[1 reply] : Not running ? am sure that's no the best question :(), now here is you... (by andy1992)
by kiri
Link for a better explantion of setw
The explanation on Cplusplus is not in depth enough for me. Thanks in advance if anyone knows of one...
[8 replies] Last: After reading andy's and JLBorges I have a better understanding on thi... (by kiri)
by kiri
Can anyone point me in the right direction to help me figure this out more/understand it. I am tryin...
[6 replies] Last: I think I got this one down. Thanks a lot! (by kiri)
by kiri
Does spacing matter on switch statements ie
just some bs code but follow me..Does a space after case matter or not? char whatever; cout <<"W...
[6 replies] Last: Yea thats how I wanted it. For example, if you were entering Gradees W... (by kiri)
Help with bubble sort & binary search program
I've looked up the algorithms and what I have should work if im reading it right but i am getting so...
[2 replies] Last: Wow i cant believe ive been trying that for like 3 hours. It works but... (by sumtingwong59)
Structures, Vectors, Members oh my (STUCK)
I understand completely the idea of the Struct and Vector but when I put two and two together it alw...
[4 replies] Last: > it's giving me the error saying that "myCollection" wasn't declared ... (by JLBorges)
by kiri
Reviewing for my midterm and dont remember this..
Please help me :-D Given the below values and having formulas, what will be the values after e...
[6 replies] Last: :-D Thanks (by kiri)
by AVM8
How to capture user input and store
Capture the user input of number of footballers in variable n. Use a for() loop with variable i as t...
[8 replies] Last: Disch After a some revision from google source, i finally manage to... (by AVM8)
by AVM8
i get Error 1 error C4700: uninitialized local variable 'goals' used #include <iostream>...
[3 replies] Last: AbstractionAnon correction has been made. Thank you my friend. ... (by AVM8)
by gmac
m1 X m2
multiplies two matrices (M1 × M2) of integers using pointers and dynamic arrays (you are not allowe...
[11 replies] Last: Thanks for the help, Im closer now. (by gmac)
Need help with loops
Cant get my program to loop correctly and i just cant figure it out. #include <iostream> u...
[2 replies] Last: - Use do-while loops - Have the functions return values. - Make sure y... (by dhayden)
by kiri
How do u get this?? I dont understand the % part
I dont understand how u get that with the %... What type of statement is this? for (int i=1; i...
[2 replies] Last: I figured it out before u answered, omg was it easy lol. Thank u thoug... (by kiri)
OS X Initialize OpenGL
Hello, I've converted from DirectX 11 to OpenGL 4.x on OS X. Is there a way to initialize OpenGL ...
[no replies]
I need Help! I need a quick peer review!
I am currently in a beginners C++ course at my collage. It's an online class and one of the requirem...
[1 reply] : Recursively calling main is not legal behavior by the standard. If you... (by Ganado)
subtracting binary numbers
Hello! i need help with my program. im trying to write a function that takes in 2 binary numbers and...
[6 replies] Last: IMO, the way you are trying will be difficult for you! it will be litt... (by anup30)
How do I call a function in main ?
So I have the function declaration at the top for example void read (string x , string y , in...
[6 replies] Last: Hm it still doesn't work i tried to do it this way read(name1, name2... (by agamatr)
Elevator program errors
Don't know what I'm doing wrong. Trying to write an elevator program that allows the user to display...
[4 replies] Last: Line 31: As previously mentioned, you need a ; Line 44: Also as pr... (by AbstractionAnon)
Pages: 1... 9091929394... 100
  Archived months: [jan2015]

Cannot post in this page. To post a new message, go to the first page.