Type: Posts; User: jopeters
Search took 0.01 seconds.
September 3rd, 2010, 11:51 PM
Thank you for your insite
September 3rd, 2010, 08:49 PM
thank you Paul McKenzie, I made a silly mistake and forgot those underscores, but the program DOES run when I use "using namespace std;"
September 3rd, 2010, 08:09 PM
I've tried including #include <vector> at the top but it generates the same errors.
When I add namespace std it fixes the previous errors but gives me the following error on my implementation...
September 3rd, 2010, 07:15 PM
I'm trying to declare two vectors within the private section of a class "rover" I am working on.
April 25th, 2010, 01:04 AM
I am having problems with a series of sorting and deleting. The program is supposed to sort the names in a vector in a way that the "goose" is deleted. The "goose" is input by the user as a number...
April 24th, 2010, 03:18 PM
solved the previous problem! thanks for all your help lindley you are the man.
April 24th, 2010, 02:58 PM
you were right, it will compile but it crashes when the main calls the wackGoose function.
void wackGoose(const vector<string>&names, int goose)
//eliminates the gooseth entry over and over...
April 24th, 2010, 02:47 PM
I thought you meant to pass them as follows:
void wackGoose(const vector<string>&names, int goose);
But when I do that I get the following compiler errors.
Error 1 error LNK2001:...
April 24th, 2010, 02:22 PM
thanks a ton that info will definitely be helpful. Unfortunately I cannot use the std::swap() function for this assignment due to restrictions from my professor. At this point I am less concerned...
April 24th, 2010, 01:02 PM
THE FIRST PART OF THIS IS BACKGROUND INFO ABOUT THE PROGRAM
I'm trying to write a program that inputs names from a file into a vector. The user will enter a number greater than 0 to be the...
April 21st, 2010, 12:17 AM
ok thanks ill see what i can do
April 21st, 2010, 12:01 AM
I'm a little confused what you mean, what are the 0, 3, 6, etc representing?
April 20th, 2010, 11:46 PM
I'm trying to write a tic tac toe game and can't figure out how to check and see if someone is the winner? I'm using a 2 dimensional array thats 3 by 3 (like a tic tac toe board) and all the "blank"...
March 25th, 2010, 12:01 AM
nevermind im on to something.
March 24th, 2010, 11:11 PM
I need to write a function named:
the function is passed the names of a region within a city (north, south, east, west) The function also asks the user for the number...
March 2nd, 2010, 06:40 PM
i tried the forward slashes and double back slashes and still got the same output =/
March 2nd, 2010, 06:38 PM
also a side note, that not gunna be the full program, just that snippet.
March 2nd, 2010, 06:26 PM
fin >> year >> population;
cout << year << endl << population;
February 8th, 2010, 09:20 PM
the || in the first line of the if statement are actually supposed to be &&, i fixed that.
February 8th, 2010, 09:17 PM
i thought my code was good but apparently not,
if (average >= 0 || average <=100)
else if (average >= 90) // <-- this is the line the error takes...
February 1st, 2010, 05:47 PM
I'm trying to write a rather simple code, that allowed you to cin your name, and get something out of cout based on what you put in. Basically I want to have a response correlated to each of my...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.