Click here to Skip to main content
15,905,914 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralInstallShield Pin
charu1236-Apr-05 22:19
charu1236-Apr-05 22:19 
Generalifstream operator>> Pin
Cedric Moonen6-Apr-05 21:27
Cedric Moonen6-Apr-05 21:27 
GeneralRe: ifstream operator>> Pin
NewbieStats6-Apr-05 21:31
NewbieStats6-Apr-05 21:31 
GeneralRe: ifstream operator>> Pin
Cedric Moonen6-Apr-05 21:39
Cedric Moonen6-Apr-05 21:39 
GeneralRe: ifstream operator>> Pin
toxcct6-Apr-05 21:45
toxcct6-Apr-05 21:45 
GeneralRe: ifstream operator>> Pin
Cedric Moonen6-Apr-05 21:55
Cedric Moonen6-Apr-05 21:55 
GeneralRe: ifstream operator>> Pin
NewbieStats6-Apr-05 21:45
NewbieStats6-Apr-05 21:45 
GeneralRe: ifstream operator>> Pin
Cedric Moonen6-Apr-05 21:51
Cedric Moonen6-Apr-05 21:51 
Why ? Because it is not text but binary data. And so, it would much easier after that. The code for loading a class would look like:

ifstream is(.....);
CMyClass Class;
is>>Class; 


Looks much compact isn't it Wink | ;-) . And this is included in a try/catch statement to know if an error occured
GeneralRe: ifstream operator>> Pin
NewbieStats6-Apr-05 21:53
NewbieStats6-Apr-05 21:53 
GeneralRe: ifstream operator>> Pin
Cedric Moonen6-Apr-05 22:02
Cedric Moonen6-Apr-05 22:02 
GeneralRe: ifstream operator>> Pin
toxcct6-Apr-05 21:54
toxcct6-Apr-05 21:54 
GeneralRe: ifstream operator>> Pin
Cedric Moonen6-Apr-05 21:57
Cedric Moonen6-Apr-05 21:57 
GeneralRe: ifstream operator>> Pin
NewbieStats6-Apr-05 22:00
NewbieStats6-Apr-05 22:00 
GeneralRe: ifstream operator>> Pin
Cedric Moonen6-Apr-05 22:07
Cedric Moonen6-Apr-05 22:07 
GeneralRe: ifstream operator>> Pin
toxcct6-Apr-05 22:00
toxcct6-Apr-05 22:00 
GeneralRe: ifstream operator>> Pin
Cedric Moonen6-Apr-05 22:05
Cedric Moonen6-Apr-05 22:05 
GeneralRe: ifstream operator>> Pin
toxcct6-Apr-05 22:13
toxcct6-Apr-05 22:13 
GeneralRe: ifstream operator>> Pin
Cedric Moonen6-Apr-05 22:18
Cedric Moonen6-Apr-05 22:18 
GeneralRe: ifstream operator>> Pin
toxcct6-Apr-05 22:37
toxcct6-Apr-05 22:37 
GeneralRe: ifstream operator>> Pin
Cedric Moonen6-Apr-05 22:47
Cedric Moonen6-Apr-05 22:47 
GeneralRe: ifstream operator>> Pin
toxcct6-Apr-05 21:33
toxcct6-Apr-05 21:33 
QuestionHow can I setup remote debug mode in VC.net? Pin
willyfu6-Apr-05 21:20
willyfu6-Apr-05 21:20 
AnswerRe: How can I setup remote debug mode in VC.net? Pin
Alexander M.,7-Apr-05 5:03
Alexander M.,7-Apr-05 5:03 
GeneralCoding Text... Pin
NewbieStats6-Apr-05 21:10
NewbieStats6-Apr-05 21:10 
GeneralRe: Coding Text... Pin
ThatsAlok6-Apr-05 21:18
ThatsAlok6-Apr-05 21:18 

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.