Beginners (Page 50)

Reverse my code, help
 
I have the correct code, but I can't seem to reverse the order of how it appears. #include<iostr...
[2 replies] Last: hello dear ! read the comments in code. here is the reversed code fo... (by Rahmat)
Functions - I don't know what to do.
 
I need help getting started with my assignment. The program must store the player’s cash in a g...
[1 reply] : http://www.cplusplus.com/doc/tutorial/functions/ (by Disch)
Passing array as function argument
 
Here is my code. When I run this, it shows |29|error: invalid conversion from ‘int’ to ‘int...
[1 reply] : You're passing t1 twice, so the only problem is you're just passing to... (by Keene)
Binary tree help!!!
 
hi guys, I need your help i took from internet a code for insert nodes in a tree but its for search ...
[no replies]
Vector question
 
Write your question here. return calibrateCamera(*((vector<vector<Point3f> > *)ObjPoints),*((...
[2 replies] Last: Thanks (by DaGoblin)
program.exe has stopped working
 
Why doesn't this program work? Whenever I run it windows gives an error message and it shuts down ...
[2 replies] Last: Like this error message (but in swedish and "program.exe"): http://th... (by tobpe93)
clarification for understanding new and delete
 
Would anyone mind just checking my code to see if there are any memory leaks? I have been learning a...
[8 replies] Last: Also, thanks @anup30 for the alternative. (by bryan177mcsc)
by iluv41
private member error
 
I am getting the errors , add.miles, add.yards, add.feet, and add.inches in the '+' operator overloa...
[5 replies] Last: Odd how one works and the other doesn't. The only thing I could point ... (by Keene)
by Nebur
What is this program failing in?
 
I use a divide an conquer aproach to solve the followoing problem: Given a 2x2 matrix of integers...
[no replies]
Program 19
 
Hello, I decided to move on with my exercises, Keep track of the sum of values entered (as well ...
[no replies]
Why segmentation fault (core dump)?
 
I've written the following code for http://uva.onlinejudge.org/external/114/11466.html When i giv...
[1 reply] : Segmentation fault is a memory error which means you've gone beyond th... (by Keene)
While Statement inputs the last input
 
Alright, so this is pretty self explanatory, but the while statement in my program is using the last...
[2 replies] Last: THANK YOU SO MUCH! I would have never found that! (by Zephrman)
reading from a file into a struct
 
I am trying to read some data into a struct from a file, but I keep getting an error for infile >> ...
[4 replies] Last: Something strikes as odd in this code fragment: infile >> whInvento... (by megatron 0)
Timers related question
 
Hello everyone. Quite straightforward: which function can I use to make a program count (in secon...
[2 replies] Last: Thank you very much for trying, but I already knew of sleep function a... (by Metronom)
Starting a program from C++
 
Hello How do I start a program from C++? It's a Python script by the way. It should be working o...
[1 reply] : On Windows: http://msdn.microsoft.com/en-us/library/windows/desktop/bb... (by MiiNiPaa)
comprehension problem using c string arrays
 
Hello everybody, I'm new in c++ and don't know much about using pointers. What I actually know i...
[9 replies] Last: are pointers the same thing as arrays and arrays are pointers?? No. ... (by MiiNiPaa)
C++ primer exercise 2.4.2
 
Please help ? Exercise 2.27 - Which of the following initializations are legal? Explain why. a) ...
[no replies]
assigning variables to an array of objects?
 
I have tried a couple different ways of assigning variables to this array. When I do it this way I g...
[3 replies] Last: Thank you! (by adam0421)
by NOD32
I need help passing values by reference (functions)
 
I absolutely suck at functions. I know that you need to declare a function, code for it outside main...
[5 replies] Last: gibllit: You are right, of course - I have been out of the C/C++ mode... (by PCrumley48)
Time input to int
 
Hello, I just recently started taking a C++ class so I apologize if this question is too obvious f...
[2 replies] Last: Awesome, thank you. I had a feeling it had to be done with a string, ... (by druid84)
Pages: 1... 4849505152... 106
  Archived months: [aug2014]

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