You do not yet have a function.
Looks like you did well on the loop so far...
This hint is more of a reminder as to what is happening, rather than an instruction to follow. If you think about...
Type: Posts; User: QuestionKing
You do not yet have a function.
Looks like you did well on the loop so far...
This hint is more of a reminder as to what is happening, rather than an instruction to follow. If you think about...
so what are you looking for
// ...
MyTime.begin = getTime();
// ... do some back flips, maybe a swan dive
MyTime.complete = getTime();
// TimeTaken = complete - begin
std::cout<< TimeTaken<<...
I looked, your posted doc.doc was empty :/
myfile.open ("filename.txt");
You can use a variable in place of the file name
I think everything you need to understand that code is on this page. If you read the whole page...
done = false; // sets the boolean value of the variable done equal to false
done = true; // sets the boolean value of the variable done eaual to true
google boolean
google c++ not operator
do
{
/* something over and over */
}while( /* user input is not 1,2,or 3 */ );
would be one approach
Give it a shot and post what you come up with. You will get it figured out! Plus once you start working on it and figure some things out, you will find other things just seem to fall into place.
I have purposely dodged providing that direct relation to your work because it seems to me that is the actual point of the assignment. To show your understanding of classes. Give it a try yourself...
It looks like you just don't quite grasp object oriented programming, I hope I am wrong as I do not mean anything offensive by it. But looking at the code and your questions, I think you should...
Think of what data you are working with, then think of ways they are related, if any.
Think of what you DO to/with the data, your methods/functions, and find relations between the data and the...
:/ not quite...
Preveiew your post before you submit! Honestly do you expect people to read that code, try to decide what it's overall function is supposed to be, and help with it? Most people...
Check this out first.
That will make it easier for people to help you.
post it
Ok, interesting...
As soon as I posted the above message, I returned to the C++ forum and the remaining 5 "new-to-me" posts were back in bold. Furthermore everything seems to function normally now....
@ arpsmack & cpjust - yes, I am sure and yes I am still logged in
Nothing client side has changed. Cookies are enabled, remember me is checked, I am automatically logged in when the page opens. :...
When I log in, new unread topics are in bold (as expected), but opening any unread post will set all unread posts to the normal type (as if each one had been visited). It did not work this way...
For #2
char ascii = 156;
std::cout<< ascii;
Where 156 = £. GOOGLE ascii character map for more.
You shouldn't hijack someone's thread, it's not nice. If you have a question, post it and people will help.
Also consider using the code tags for your code and be sure to indent.
so you are asking how to 'do something' .... 'if something'
lol @ wiki
I started out testing for a winner by 3 key points in the grid. First the center square. If this mark does not match the current player's token (x or o), you immediately cut 4 possible wins. Then...