Click here to Skip to main content
15,902,198 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get the correct client rect of the view? Pin
PJ Arends31-Mar-02 15:10
professionalPJ Arends31-Mar-02 15:10 
GeneralRe: How to get the correct client rect of the view? Pin
Feng Qin31-Mar-02 15:53
Feng Qin31-Mar-02 15:53 
GeneralRe: How to get the correct client rect of the view? Pin
Christian Graus31-Mar-02 16:00
protectorChristian Graus31-Mar-02 16:00 
GeneralRe: How to get the correct client rect of the view? Pin
Feng Qin1-Apr-02 0:35
Feng Qin1-Apr-02 0:35 
GeneralRe: How to get the correct client rect of the view? Pin
Christian Graus1-Apr-02 0:53
protectorChristian Graus1-Apr-02 0:53 
GeneralRe: How to get the correct client rect of the view? Pin
Christian Graus1-Apr-02 1:04
protectorChristian Graus1-Apr-02 1:04 
GeneralRe: How to get the correct client rect of the view? Pin
Feng Qin1-Apr-02 14:39
Feng Qin1-Apr-02 14:39 
GeneralC++ question Pin
Rajveer31-Mar-02 13:34
Rajveer31-Mar-02 13:34 
This is just a C++ question. Does anybody know how to get data from an excel file? I figured out a way to put data to an excel file. I just do this:

ofstream outfile("ftest.out");
int a=1, b=2, c=3, d=4;
outfile << a << "," << b << "," << c << "," << d;

then when I open ftest.out with excel, it recognizes that the comma means to move to the next block. But when I try to get data from an excel file the same way:

ifstream infile("ftest.in");
int a, b, c, d;
infile >> a >> "," >> b >> "," >> c >> "," >> d;

This doesn't work. Does anyone know some other method to get data from an excel file?
GeneralRe: C++ question Pin
Jack Handy31-Mar-02 14:33
Jack Handy31-Mar-02 14:33 
GeneralRe: C++ question Pin
Roger Wright31-Mar-02 14:58
professionalRoger Wright31-Mar-02 14:58 
GeneralRe: C++ question Pin
Rajveer2-Apr-02 2:34
Rajveer2-Apr-02 2:34 
GeneralRe: C++ question Pin
Roger Wright2-Apr-02 3:41
professionalRoger Wright2-Apr-02 3:41 
GeneralRe: C++ question Pin
Michael A. Barnhart31-Mar-02 15:26
Michael A. Barnhart31-Mar-02 15:26 
GeneralRe: C++ question Pin
Nick Parker31-Mar-02 16:45
protectorNick Parker31-Mar-02 16:45 
GeneralRe: help with this code Pin
Christian Graus31-Mar-02 12:31
protectorChristian Graus31-Mar-02 12:31 
GeneralRe: help with this code Pin
Nick Parker31-Mar-02 16:47
protectorNick Parker31-Mar-02 16:47 
GeneralRe: help with this code Pin
Christian Graus31-Mar-02 18:49
protectorChristian Graus31-Mar-02 18:49 
Generalhelp with downloading from a login/pass web using php (repost) Pin
31-Mar-02 11:17
suss31-Mar-02 11:17 
GeneralQuick newbie question Pin
31-Mar-02 9:28
suss31-Mar-02 9:28 
GeneralRe: Quick newbie question Pin
Christian Graus31-Mar-02 12:32
protectorChristian Graus31-Mar-02 12:32 
GeneralRe: Quick newbie question Pin
Paul M Watt31-Mar-02 15:38
mentorPaul M Watt31-Mar-02 15:38 
GeneralRe: Quick newbie question Pin
Mazdak1-Apr-02 0:22
Mazdak1-Apr-02 0:22 
GeneralWinXP symbols - VC does not find them Pin
Lockhart31-Mar-02 9:27
Lockhart31-Mar-02 9:27 
GeneralRe: WinXP symbols - VC does not find them Pin
Tim Smith31-Mar-02 11:55
Tim Smith31-Mar-02 11:55 
GeneralScrolling Pin
31-Mar-02 9:21
suss31-Mar-02 9:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.