Thanks! That works fine!
All about the quick hacks :).
Type: Posts; User: xTrinity
Thanks! That works fine!
All about the quick hacks :).
Im guessing it's using the Spawn option. With P_WAIT?
Nothing talks about whether the text is visible or not...
What I made can be called a "text interface" to a program that is ran by flags ([program name] -d -f -l and etc), to make it easier for beginners to use it. However, once the program runs, it...
:D :D
Anyways textureRead.clear() works great. Thanks!!
0.000000001 ms ..... :rolleyes:
Hey, thanks! Didn't work before because I put the Write open inside the while. Figures :D. Took me a few hours last night just to realize the while loop didnt have opening and closing brackets.
...
Hrmmm.. then how do i make it (with your 256byte buffer) write the full 700Kbs in the new file? It only write 256 bytes.
Hey, thanks for the help. Your way is much shorter :D.
However, you forgot to open the new file:
textureWrite.open (nameTextureWrite.c_str(), ofstream::binary | ofstream::out);
Also, since the...
Can someone one tell me what I'm doing wrong?
With this code, it reads from from the 16th byte, which is good. It outputs correctly. But, once it gets to the end of the file, I get an error:
...
ifstream texture;
string name;
cout << "Enter the filename of the texture you will be converting: ";
cin >> name;
texture.open (name);
if (texture.is_open())
{
while (texture.good())
Alright, no code. But hints or links?
The tutorial is a good help. However, it does not explain writing. I found this: Newsgroup post. Any ideas?
What I'm trying to do is, have the user input a file name and it must have the extension .SST. Once that is done, it will remove the first 15 bytes of the file and rename it accordingly.
The file...