Now... how do I write a variable in it?
It only uses stream.write and that write only writes arrays..
Plus I'm having hard time using arrays..
It seemed like streamwriter.writeline would work fine.
But it's different from stream...
what can I do?
I can't study it more than that..
I don't have a book,
I don't have a class on it,
And furthermore, all the darn examples on C++ web browsers won't work.
I'm trying to write a variable in a file.
I got the dialog working and the creation of the file FINE.
But when it comes to writing arrays wich are definitely the only variable type that has NO Meaning IN LIFE at all...
I used to program in pascal turbo...
But in a whole game programming I never used arrays.
And I'M not gonna start here... You hear me man?
So tell me...
How do I write a variable in a damn file??!?
It makes me mad when a guy tells me to study a language when that is Exactly what I am trying to do...
Well it does not appear that you are. What you are doing is posting questions one at a time and asking someone here to write the code for you. Studying means actually sitting down with a book, online tutorial etc and working through it until you understand it. The fact that you don't understand arrays suggests you have a long way to go.
this will probably help me...
I gotta try it...
I'm 22 years old, I don't have money to spend on books... there are poor people on canada and managin to get a 2300$ computer 3 years ago made me full of school loans. (Lol...)
If you have VS, don't do command compilation. I never came across a situation where VS recommended old syntax. If you need to create a fully managed assembly, choose Class Library project type. Use new syntax and compile using /clr:safe.
if you need to communicate with native libraries, compile with /clr switch which will produce mixed assemblies. Since you have VS IDE, best option is to use it to compile rather than doing through command. VS does things like manifest embedding automatically.