Beginners (Page 97)

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)
passing a const
i need help on how to pass a const int in a non member function? imaginary header file: #pragma on...
[1 reply] : Not enough information. You haven't show us complex.h nor the declara... (by AbstractionAnon)
I can't find the logic or it's just not possible?
Hello guys, this is my second post. I have a question about While-Loop with only ONE variable. Loo...
[8 replies] Last: Rules? 1) Use one variable only. 2) Use a while loop. 3) Must use ++n.... (by fun2code)
OO programming?
Hello Forum! I've decided to learn c++. I already know other languages like Java and C#. It's ea...
[2 replies] Last: World.h : #ifndef __WORLD_H__ #define __WORLD_H__ class Player; #in... (by stulleman)
Calculate Actual date
Hi Experts, I want to calculate date from day of the year and year. In oracle to_date function...
[5 replies] Last: You could use sprintf() to put the final string into a buffer and then... (by dhayden)
by Fedeb
Pointer to an Array Versus an Array of Pointers
Hi, my question is basically the title of the topic. I know that an array of pointers uses scatter c...
[1 reply] : I'm sure that's not your real question, as these are 2 completely diff... (by tipaye)
by EnHo
difrent between c& and c*
i have this lecture that in it we have a class named c. in one of it's methods it return c&. what ...
[6 replies] Last: Consider this: int *p; // p is a pointer to int int x = 0; // x is an... (by tipaye)
Tic Tac Toe project
As an assignment we have to make a program to have a tic tac toe game. But the functions in class se...
[no replies]
Substitute cin with "getline" when storing values for operation.
So I am still learning about C++. I'm trying to substitute cin with getline. So instead of storing v...
[7 replies] Last: I just want to warn you, stringstream constructor is painfully slow. I... (by MiiNiPaa)
copy constructor
Hi, when passing a class parameter to a function using a const lvalue reference, am i required to pr...
[7 replies] Last: @MiiNiPaa thanks a lot for the insight, so that means i should retain ... (by andy1992)
Pages: 1... 9596979899... 105
  Archived months: [jan2015]

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