Does anyone know where I can find a good detailed tutorial about the write function for files in binary?
I'd like to understand it more and know exactly how to use and utalise it properly.
Type: Posts; User: koxson
Does anyone know where I can find a good detailed tutorial about the write function for files in binary?
I'd like to understand it more and know exactly how to use and utalise it properly.
The command to get the filename and extention
I mean for the filename to be displayed and accepted by the program as if I had used cin to put it there but instead by using draging the file...
Many moons ago, unless my mind is playing tricks on me, I'm pretty sure I dragged a file into a console for the console to get its filename. Does anyone know the command to do that?
I haven't got one, I want to know what the right thing to do is so that I can build it properly. Thats why I didn't post any code.
Can anyone tell me how to find a specific sequence in a binary file? I could do it myself but not only would it take forever it would be the incorrect most processor maxing and super taxing way. I'd...
Thanks Mats :)
Bash? From Linux? I'm sure there is one for vista but I'd have to work all the way backwards and ATTEMPT to learn how to use it well as opposed to the one line of code I've been asking for from the...
Thanks Mats, I'm pretty sure I do want to though. Do you know how I can do that?
Thanks Salem. I get why I'd be doing that but I still have no idea how to enter negative values. Like the line of code I put above, what would I have to write?
Hello everyone, I'm in need of your help. I've always thought that files were made up of bytes which range from 0 to 255 in decimal value. But when reading the values of some mp3's and other audio...
Thanks Mat. I still don't know how to input values but its a good start. :)
How do you make a program activate a different console application and input values into it?
I'm guessing this is far easier said than done.
Thanks for reading.
haha, you were right I can't believe I typed myile. myfile didn't work, however, I think myfile.flush() is. You have my thanks. I'm trying it out.
Thanks, I'm fine with it taking 3 or even 10 times as long to run as long as it does run and print all the lines. However, I don't know how to use fflush. I took a long shot and tried.
if (H ==...
How do I deal with the buffer problem as I need to print a list to txt and not to the screen?
P.S The last thing I should see is
2 3 4 5 6 7 8 9 10 11 12
I'm sure you've gathered I stole the word premutations from you guys. Sorry for confusing you.
Thanks Master...... Wow, I sound like a Kung Fu dub. Being a bud of a master actually gives me some confindence. It sounds sarcastic but I'm serious. I guess my mum was right I really should have...
Tabstop, Are there any keywords that will help my find it in the 4,000 posts you have?
nucleon, I meant permaumatations. As for how a large, I gave the code in a smaller form so you guys would...
No segment was copied or pasted from the net. Like I said I'm not good source codes' I just got it to reflect what was going on in my head and overcame every problem that came my way. Kinda like...
Hi everyone, I'm pretty lame at writing source codes so I have no doubt that this will look like hell to you all. But basically this is meant to be a code is that prints out every possible...
I wanted to come back to thank everyone on this thread for their help, especially m37h0d for putting it in terms the layman to the world of c++ can understand.
Thanks m37h0d!
Hello
I'm new to c++ and to all forms of programming and am trying to get the source code for a program that prints out the hex value of any given byte in a file.
I've gone through; this site,...