#include
#include
using namespace std;
int main()
{
ifstream inputFile;
inputFile.open("some file name here");
string number;
char digit;
while( inputFile.get( digit ) )
{
number = number + digit;
}
return 0;
}
[note] read file data to string, by char
11:00 AM at 11:00 AMThis entry was posted on 11:00 AM and is filed under Notes . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment