I apologize, but I am under time pressure and have not been able to read more than the first 1 and a half pages. But one thing that has come up multiple times is that the US was founded to be a...
Type: Posts; User: Ilmater
I apologize, but I am under time pressure and have not been able to read more than the first 1 and a half pages. But one thing that has come up multiple times is that the US was founded to be a...
YAY! :D
Thank you so much, elad and jlou. Both of you have been great help.
I'm sure that this monstrosity of a program I have created is pretty poorly written in terms of design, but...
IT...
I did indeed get
marker1 open
123
123
123
I'm not sure what you mean by entries (I assume the string until a space?) but I'll just give you the full contents of both files:
I have been doing something like that. I'll copy+paste my code from Dev-C++ and then transcribe the output
Code:
#include <fstream>
#include <iostream>
#include <string.h>
using namespace...
Same result :(
mark still equals "done" after end of first inside loop all the way to the end.
It doesn't seem to be working. That is, after the first iteration, the inside while loop never iterates again, and mark stays equal to "done".
I couldn't find anything so far on seekg(), but I'll...
Ok, after some investigation I have determined that the problem is that marker is not being reset to the beginning. So after the first iteration, it equals "done" and the inside while loop never...
Thanks Speedy5. I was just wondering, since scores are really competitive at my high school, Thomas Jefferson HSST. It would've been a cool coincidense.
...Interesting.
In a note of defense, I am still learning while asking my question. The wastedTime part seems flawed.
It's not that I really desire to program tetris. All I want is to have an estimation as to how long it will be until I can actually understand how it works. For instance, that tutorial is all greek...
Speedy, just out of curiosity, what school do you go to?
Ooh ooh! A clue, dear Watson!
Altered code:
#include <fstream>
#include <iostream>
#include <string.h>
using namespace std;
I visited colleges with my older brother during the summer. Pretty much all of them said the same thing: SAT scores are the single most irrelevant thing in a submission.
They want to know who you...
My original.txt matches. My markers.txt matches. I even copy+pasted the code right into my compiler, compiled, and ran it.
:(
But original.txt is still just being copied into final.txt. I...
Thanks a bunch jlou!
I understand what you mean with the errors, and I think I have fixed them. I'll post the newest version of the code:
#include <fstream>
#include <iostream>
#include...
Thanks :)
I wanted to know after reading this article:
http://www.gamedev.net/reference/design/features/makegames/page2.asp
I don't mean to be pushy, but a second answer would be appreciated....
First of all, thanks! :D
Second, I still have some issues.
Using cout I have determined that the correct things are being inputted into mark, and atoi is working nicely with conv....
Satisfy my curiosity on this one:
I have more or less just started out learning C++. I am going through the tutorials on this site and I'm pretty much halfway through.
I continue learning and...
No, I guess I didn't. But I'm almost positive that that isn't where the problem lies.
I'll describe some of the tinkering I've done to give you a better idea of what is going on.
Change:...
I am a complete newbie to C++, and almost a comlete newbie to programming. This site is a godsend, though.
I have been going through the tutorials and making projects that utilize the new things...