hi,
In C++ I can write to a text file using the ofstream.
for example:
void main()
{
ofstream Outfile(data.txt);
int number=1800;
Outfile>>number;
}
Now instead of writing to a text file, how would I write to
lets say microsoft word file or microsoft excel? Anyone tried it? thanks in advance!
In C++ I can write to a text file using the ofstream.
for example:
void main()
{
ofstream Outfile(data.txt);
int number=1800;
Outfile>>number;
}
Now instead of writing to a text file, how would I write to
lets say microsoft word file or microsoft excel? Anyone tried it? thanks in advance!