CFile Read using MFC
Posted on 2004-04-16
I have a file on hard disk and file has 2 numbers separated by "," .I want to read the numbers from the file using CFile and store the numbers in 2 different int variables.
I am not able to read the numbers from file.Please can u help me out in doing this work.I am pasting my code here.
// Multiply.cpp : Defines the entry point for the console application.
using namespace std;
int len = file2.GetLength();