hey, I know it's not directly connected with the name of the thread, but it's not completely offtopic.
when I read the file, and I want to check if the program has read it correctly, using cout I...
Type: Posts; User: crazyGauss
hey, I know it's not directly connected with the name of the thread, but it's not completely offtopic.
when I read the file, and I want to check if the program has read it correctly, using cout I...
wow, this one's realy simple, thanks :)
OK, so now that I know this I want to read form a file like this:
1 10
2 20
3 30
4 40
5 50
6 60
OK, so how do I do that?
is that with ifstream for reading from file and ofstream for writing into a file?
does that mean I can't read a number with fgetc? from what I can see the example in this link is pretty much the same as my program:
#include <stdio.h>
int main ()
{
FILE * pFile;
int...
I have a beginner's question about reading data from file, but I've been unable to find any tutorial of FAQ that would be useful for my problem, so please help :)
#include<iostream>...