Click here to Skip to main content
15,891,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CDialog derived Child Pin
David Crow29-Jul-05 9:22
David Crow29-Jul-05 9:22 
GeneralRe: CDialog derived Child Pin
23_4443-Aug-05 3:31
23_4443-Aug-05 3:31 
GeneralReading a CSV file Pin
Arrun29-Jul-05 3:13
Arrun29-Jul-05 3:13 
GeneralRe: Reading a CSV file Pin
Marc Soleda29-Jul-05 3:32
Marc Soleda29-Jul-05 3:32 
GeneralRe: Reading a CSV file Pin
Roland Pibinger29-Jul-05 8:43
Roland Pibinger29-Jul-05 8:43 
GeneralRe: Reading a CSV file Pin
Marc Soleda31-Jul-05 19:18
Marc Soleda31-Jul-05 19:18 
GeneralRe: Reading a CSV file Pin
knapak29-Jul-05 11:49
knapak29-Jul-05 11:49 
GeneralRe: Reading a CSV file Pin
Roland Pibinger29-Jul-05 12:24
Roland Pibinger29-Jul-05 12:24 
knapak wrote:
here may be other more elegant ways, but unless you are reading millions of entries, this works just fine. The char variable is read and then ignored, you only store or use the datx as you wish.
char separator;
ifstream FileIn("C:\\SampleData\\divedata.dat");
FileIn >> dat1 >> separator >> dat2 >> separator >> dat3 >> separator >> dat4;


This can hardly work!

Good luck
Agreed Hmmm | :|
GeneralRe: Reading a CSV file Pin
knapak29-Jul-05 12:33
knapak29-Jul-05 12:33 
GeneralRe: Reading a CSV file Pin
Roland Pibinger29-Jul-05 23:52
Roland Pibinger29-Jul-05 23:52 
GeneralRe: Reading a CSV file Pin
knapak1-Aug-05 11:41
knapak1-Aug-05 11:41 
GeneralRe: Reading a CSV file Pin
Roland Pibinger6-Aug-05 0:39
Roland Pibinger6-Aug-05 0:39 
Questionhow to convert a directory path to a relative path to another directory Pin
HeartFriend29-Jul-05 2:05
HeartFriend29-Jul-05 2:05 
AnswerRe: how to convert a directory path to a relative path to another directory Pin
rrrado29-Jul-05 2:56
rrrado29-Jul-05 2:56 
AnswerRe: how to convert a directory path to a relative path to another directory Pin
David Crow29-Jul-05 5:38
David Crow29-Jul-05 5:38 
AnswerRe: how to convert a directory path to a relative path to another directory Pin
Jack Puppy29-Jul-05 5:40
Jack Puppy29-Jul-05 5:40 
AnswerRe: how to convert a directory path to a relative path to another directory Pin
HeartFriend31-Jul-05 15:14
HeartFriend31-Jul-05 15:14 
GeneralDate Time Picker Pin
tiniv29-Jul-05 1:41
tiniv29-Jul-05 1:41 
GeneralRe: Date Time Picker Pin
David Crow29-Jul-05 5:40
David Crow29-Jul-05 5:40 
Questionhow to show controls covered by CTabCtrl Pin
markoot29-Jul-05 0:50
markoot29-Jul-05 0:50 
AnswerRe: how to show controls covered by CTabCtrl Pin
Alexander M.,29-Jul-05 4:11
Alexander M.,29-Jul-05 4:11 
GeneralRe: how to show controls covered by CTabCtrl Pin
markoot29-Jul-05 5:14
markoot29-Jul-05 5:14 
Generalconverting my MFC .exe project to DLL file Pin
bees202429-Jul-05 0:19
bees202429-Jul-05 0:19 
GeneralRe: converting my MFC .exe project to DLL file Pin
Alexander M.,29-Jul-05 4:29
Alexander M.,29-Jul-05 4:29 
GeneralRe: converting my MFC .exe project to DLL file Pin
bees202431-Jul-05 21:31
bees202431-Jul-05 21:31 

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.