Click here to Skip to main content
15,909,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CreateProcess with Vista and 740 / Create Multiple Threads Pin
Albert Holguin17-Jan-12 7:29
professionalAlbert Holguin17-Jan-12 7:29 
GeneralRe: CreateProcess with Vista and 740 / Create Multiple Threads Pin
jkirkerx17-Jan-12 10:08
professionaljkirkerx17-Jan-12 10:08 
GeneralRe: CreateProcess with Vista and 740 / Create Multiple Threads Pin
Albert Holguin17-Jan-12 11:13
professionalAlbert Holguin17-Jan-12 11:13 
QuestionConverting big integer value to string Pin
Coder Block15-Jan-12 23:22
Coder Block15-Jan-12 23:22 
AnswerRe: Converting big integer value to string Pin
Richard MacCutchan15-Jan-12 23:42
mveRichard MacCutchan15-Jan-12 23:42 
AnswerRe: Converting big integer value to string Pin
Jochen Arndt15-Jan-12 23:57
professionalJochen Arndt15-Jan-12 23:57 
AnswerRe: Converting big integer value to string Pin
CPallini16-Jan-12 2:59
mveCPallini16-Jan-12 2:59 
GeneralRe: Converting big integer value to string Pin
Albert Holguin16-Jan-12 9:25
professionalAlbert Holguin16-Jan-12 9:25 
GeneralRe: Converting big integer value to string Pin
CPallini16-Jan-12 9:37
mveCPallini16-Jan-12 9:37 
GeneralRe: Converting big integer value to string Pin
Albert Holguin16-Jan-12 10:15
professionalAlbert Holguin16-Jan-12 10:15 
Questioncommon language runtime support error for dll Pin
appollosputnik15-Jan-12 17:24
appollosputnik15-Jan-12 17:24 
AnswerRe: common language runtime support error for dll Pin
_AnsHUMAN_ 15-Jan-12 18:08
_AnsHUMAN_ 15-Jan-12 18:08 
GeneralRe: common language runtime support error for dll Pin
appollosputnik15-Jan-12 21:04
appollosputnik15-Jan-12 21:04 
GeneralRe: common language runtime support error for dll Pin
Richard MacCutchan15-Jan-12 21:26
mveRichard MacCutchan15-Jan-12 21:26 
GeneralRe: common language runtime support error for dll Pin
appollosputnik15-Jan-12 23:35
appollosputnik15-Jan-12 23:35 
GeneralRe: common language runtime support error for dll Pin
Richard MacCutchan15-Jan-12 23:40
mveRichard MacCutchan15-Jan-12 23:40 
Questionreading file using fscanf(); Pin
Raza568015-Jan-12 6:53
Raza568015-Jan-12 6:53 
Hi,
I have a text file that looks like
0 0:3649 1:1643563 2:563726 3:2358500 4:1706041 5:1399436 6:1021542 7:2612862 8:2399618 9:2177296 10:507745 11:2504905

1 0:2072009 1:1497603 2:886529 3:43699 4:266555 5:1062838 6:429603 7:483804 8:2882799 9:1299756 10:347278 11:13617

2 0:25988 1:1101998 2:1550469 3:1665724 4:1754902 5:1770655 6:484783 7:1933614 8:1314619 9:1026882 10:166341 11:1772168

3 0:2284363 1:2340611 2:1516115 3:880566 4:2554567 5:2119179 6:2787658 7:2699637 8:1572897 9:415096 10:1347549 11:686279

The first element is the line number nad then it is arranged as 'attribute:value'. Due to large number of elements one line of data spans two or more lines of a text file. please note that there are no empty lines I have just done it for clarity.

how to read the first elements of each data line(in this case 0, 1,2 ,3) regardless of the the numebr of lines spanned in the text file

any help will be appreciated

thanks
QuestionRe: reading file using fscanf(); Pin
David Crow15-Jan-12 16:25
David Crow15-Jan-12 16:25 
AnswerRe: reading file using fscanf(); Pin
Chandrasekharan P15-Jan-12 21:00
Chandrasekharan P15-Jan-12 21:00 
AnswerRe: reading file using fscanf(); Pin
Luc Pattyn15-Jan-12 21:50
sitebuilderLuc Pattyn15-Jan-12 21:50 
GeneralRe: reading file using fscanf(); Pin
Raza568016-Jan-12 4:05
Raza568016-Jan-12 4:05 
Questionin win32api if i want to move between the fields with tab button ? is it possible ? Pin
a1_shay15-Jan-12 5:44
a1_shay15-Jan-12 5:44 
GeneralNot enough information Pin
Code-o-mat16-Jan-12 0:21
Code-o-mat16-Jan-12 0:21 
AnswerRe: in win32api if i want to move between the fields with tab button ? is it possible ? Pin
Stephen Hewitt16-Jan-12 2:23
Stephen Hewitt16-Jan-12 2:23 
GeneralRe: in win32api if i want to move between the fields with tab button ? is it possible ? Pin
a1_shay16-Jan-12 11:44
a1_shay16-Jan-12 11:44 

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.