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

C / C++ / MFC

 
GeneralRe: Execute an external .EXE Pin
LiquidKnight7-Apr-03 7:57
LiquidKnight7-Apr-03 7:57 
GeneralRe: Execute an external .EXE Pin
Martin_Viet7-Apr-03 8:04
Martin_Viet7-Apr-03 8:04 
General[MDI] Updating only one MDI child frame Pin
djordj7-Apr-03 7:28
djordj7-Apr-03 7:28 
GeneralRe: [MDI] Updating only one MDI child frame Pin
Neville Franks7-Apr-03 11:29
Neville Franks7-Apr-03 11:29 
GeneralRe: [MDI] Updating only one MDI child frame Pin
djordj7-Apr-03 11:36
djordj7-Apr-03 11:36 
GeneralRe: [MDI] Updating only one MDI child frame Pin
jhwurmbach7-Apr-03 22:20
jhwurmbach7-Apr-03 22:20 
GeneralRe: Tell compiler where to find source for header file? Pin
Dave Bryant7-Apr-03 9:38
Dave Bryant7-Apr-03 9:38 
Generalstore data in arrays Pin
Kash7-Apr-03 6:10
Kash7-Apr-03 6:10 
Hi,

I'm trying to read in a file of the type:

Col1 Col2 Col3 Col4 Col5 Col6
.01 6438. 41.74 8753. 1.3596159.07
.20 6257. 42.05 8811. 1.4082155.84
.40 6159. 42.98 8987. 1.4590146.71
.60 6156. 44.57 9283. 1.5081133.16
.80 6242. 46.84 9707. 1.5551117.11
1.00 6415. 49.87 10265. 1.6002100.41


It is a text file and I want to store each of the columns in an array.
The file is not tab delimited. The columns are separated by spaces.
However col5 is accurate to 4 decimal places and joins col6 with the first number read as 159.07.

How can I sort the data into arrays?

Thanks
kash
GeneralRe: store data in arrays Pin
Big Art7-Apr-03 7:33
Big Art7-Apr-03 7:33 
GeneralRe: store data in arrays Pin
Kash7-Apr-03 8:47
Kash7-Apr-03 8:47 
GeneralRe: store data in arrays Pin
Big Art7-Apr-03 10:40
Big Art7-Apr-03 10:40 
GeneralRe: store data in arrays Pin
Joe Woodbury7-Apr-03 10:08
professionalJoe Woodbury7-Apr-03 10:08 
GeneralPrgramatically Press a CButton Pin
Jawache7-Apr-03 6:09
Jawache7-Apr-03 6:09 
GeneralRe: Prgramatically Press a CButton Pin
Ravi Bhavnani7-Apr-03 6:59
professionalRavi Bhavnani7-Apr-03 6:59 
GeneralRe: Prgramatically Press a CButton Pin
Big Art7-Apr-03 7:41
Big Art7-Apr-03 7:41 
GeneralWho can help me? I plan to use a hidden window to field keyboard inputs Pin
DengJW7-Apr-03 5:24
DengJW7-Apr-03 5:24 
Generalcapture Bitmap Pin
jeremysay7-Apr-03 4:49
jeremysay7-Apr-03 4:49 
GeneralRe: capture Bitmap Pin
J. Dunlap7-Apr-03 7:56
J. Dunlap7-Apr-03 7:56 
GeneralRe: capture Bitmap Pin
jeremysay7-Apr-03 21:02
jeremysay7-Apr-03 21:02 
GeneralRecordCount in Ado RecordSet Pin
Martin_Viet7-Apr-03 4:18
Martin_Viet7-Apr-03 4:18 
GeneralRe: RecordCount in Ado RecordSet Pin
Le centriste7-Apr-03 4:35
Le centriste7-Apr-03 4:35 
GeneralRe: RecordCount in Ado RecordSet Pin
Martin_Viet7-Apr-03 5:47
Martin_Viet7-Apr-03 5:47 
GeneralRe: RecordCount in Ado RecordSet Pin
Zdeslav Vojkovic7-Apr-03 5:00
Zdeslav Vojkovic7-Apr-03 5:00 
GeneralRe: RecordCount in Ado RecordSet Pin
J. Dunlap7-Apr-03 7:54
J. Dunlap7-Apr-03 7:54 
GeneralRe: loading a dll to the runtime... Pin
Cedric Moonen7-Apr-03 3:57
Cedric Moonen7-Apr-03 3:57 

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.