Beginners (Page 74)

How do I create a vector of new'd vector pointers
 
I've recently discovered that I can call the destructor for a vector of pointers using this: /...
[5 replies] Last: [quote=cire]My question is, why add 100 new'd elements to a vector? Wh... (by cire)
by suraya
fatal Error C1083
 
hey guys, i am writing this code and i got 8 errors i have no idea were did they come from but the f...
[4 replies] Last: thank you guys i will try that zhuge :) (by suraya)
while with a string? Help please.
 
Hello. My objective with this program is to get a name, and two test scores from the user. Then, ge...
[1 reply] : The loop condition is only checked at the beginning of the loop so it ... (by Peter87)
by ccwhat
can't reference have a type cast?
 
A simple question, just wanna make sure. int a = 10; double& b = a;
[1 reply] : It is possible, but be careful and know what you do. int a = 10; doubl... (by Peter87)
Help: Case and Infinity Loop
 
This is a near complete code which is designed to convert fahrenheit or celsius. I face two problem ...
[7 replies] Last: Problem solved. Thank you! (by Angry Food)
if/else statement
 
I'm writing a program that is designed to respond to user input. I have one problem at the moment. i...
[16 replies] Last: I've just put the function into main.cpp and now it all works except t... (by CPPprogrammer)
help!
 
i got an error need help #include <iostream> using namespace std; int main() { cout <...
[6 replies] Last: well i actually got it now i should use this one = {{ "Marcus Banks", ... (by DarkSeer)
Need help with function outputting stars.
 
I need to write a function that outputs the number of stars for whatever value is entered. Only the ...
[5 replies] Last: Even if it weren't given by a "teacher", it would be homework -- somet... (by keskiverto)
by Frede
I cant get Librarys to work...
 
Well i got a little problem. Well i downloaded a few libs but i fail in them all. Of some reason i c...
[3 replies] Last: did you include the libraries in the library directory? (by palauan73)
Questions about this code?
 
In the function printPlayer why do we have to use p.print whenever we output to the screen?? Can som...
[2 replies] Last: You have to create an object of the structure FootballPlayer, which yo... (by palauan73)
array algarythm
 
Write your question here. I am haveing troubles of where to star with this;countValues (lowRange: i...
[3 replies] Last: 1. Same question as in http://www.cplusplus.com/forum/general/100059/ ... (by keskiverto)
method inside another method of same class
 
Is there any way to do this? What I am trying to do is call a method (functionTwo) from inside of an...
[1 reply] : You would be able to do that, but you wouldn't declare the function as... (by palauan73)
Validation problem
 
Hello. I'm having trouble about the validation code. I created the Fundraiser program and I want to ...
[1 reply] : your while statement says that if yesno is not Y and not y and not N a... (by palauan73)
Quick Error question
 
I have this working earlier in my program but on this section am getting an "array or pointer type ...
[1 reply] : temp = divers .totalScore ; (by MiiNiPaa)
Converter/else and if
 
A quick converter I typed up to practice using else and if statements, was wondering why the program...
[2 replies] Last: Wow, thanks that makes perfect sense :) (by majoras mask)
Quadratic Equation solver program returning incorrect answers
 
I programmed a quadratic equation solver, but if a is not equal to 1, it gives incorrect answers. Fo...
[2 replies] Last: Oh, I see. I haven't really memorized how a lot of C++ works yet so I ... (by EarthBoundNess)
Ideas for a new guy
 
So basically i just started out with this language not too long ago (maybe a week and a half), and I...
[4 replies] Last: @uzferry-I've taken your advice and am sticking to more basics for a l... (by majoras mask)
Transaction History
 
I got the transaction implet/specification that suppose to receive transaction history and print it ...
[7 replies] Last: Doesn't matter because it's in the destructor. (by Zaita)
Problem with system()
 
I have been working with system() and I need to use the code below but as you know system() only pro...
[6 replies] Last: You're writing this in C? (by Zaita)
by ccwhat
why can't set array size with a const int from argument from main()
 
why i can't declare an array whose size is derived from a constant int argument from the main() func...
[5 replies] Last: It means after you finish typing your code, you compile it (and maybe ... (by Chervil)
Pages: 1... 7273747576... 138
  Archived months: [mar2013]

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