Click here to Skip to main content
15,898,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Add East Asian language strings Pin
Ajay L D30-Dec-07 23:01
Ajay L D30-Dec-07 23:01 
GeneralRe: Add East Asian language strings Pin
Hamid_RT31-Dec-07 19:24
Hamid_RT31-Dec-07 19:24 
Generalneed help with fscanf seporator Pin
neodeaths26-Dec-07 21:23
neodeaths26-Dec-07 21:23 
GeneralRe: need help with fscanf seporator Pin
wira1guys26-Dec-07 21:59
wira1guys26-Dec-07 21:59 
GeneralRe: need help with fscanf seporator Pin
neodeaths26-Dec-07 22:07
neodeaths26-Dec-07 22:07 
GeneralRe: need help with fscanf seporator Pin
neodeaths26-Dec-07 22:08
neodeaths26-Dec-07 22:08 
GeneralRe: need help with fscanf seporator Pin
CPallini26-Dec-07 22:09
mveCPallini26-Dec-07 22:09 
GeneralRe: need help with fscanf seporator Pin
David Crow27-Dec-07 2:53
David Crow27-Dec-07 2:53 
neodeaths wrote:
does anyone got any idea how to deal with this problem?


Yes, try:

int a;
char dob[16];
char date[16];
fscanf("%d,%s,%s", &a, b, c);
Note the types used and their size are highly dependent on the format of the file. You should seek other solutions.

"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralUsing grid Handle get data from cells(grid items) [modified] Pin
Member 460805626-Dec-07 20:10
Member 460805626-Dec-07 20:10 
GeneralUsing grid Handle get data from cells(grid items) Pin
Member 460805626-Dec-07 20:10
Member 460805626-Dec-07 20:10 
QuestionHow to make Spin MFC control to increment or decrement a value in 0.1 in each step ? Pin
Yanshof26-Dec-07 20:06
Yanshof26-Dec-07 20:06 
AnswerRe: How to make Spin MFC control to increment or decrement a value in 0.1 in each step ? Pin
ThatsAlok26-Dec-07 23:55
ThatsAlok26-Dec-07 23:55 
GeneralChallenging GotW 66's moral Pin
George_George26-Dec-07 19:53
George_George26-Dec-07 19:53 
GeneralRe: Challenging GotW 66's moral Pin
peterchen27-Dec-07 1:51
peterchen27-Dec-07 1:51 
GeneralRe: Challenging GotW 66's moral Pin
George_George27-Dec-07 1:57
George_George27-Dec-07 1:57 
GeneralRe: Challenging GotW 66's moral Pin
peterchen27-Dec-07 8:50
peterchen27-Dec-07 8:50 
GeneralRe: Challenging GotW 66's moral Pin
George_George27-Dec-07 18:02
George_George27-Dec-07 18:02 
GeneralRe: Challenging GotW 66's moral Pin
peterchen28-Dec-07 2:38
peterchen28-Dec-07 2:38 
GeneralRe: Challenging GotW 66's moral Pin
George_George28-Dec-07 3:40
George_George28-Dec-07 3:40 
GeneralRe: Challenging GotW 66's moral Pin
Member 75496028-Dec-07 10:42
Member 75496028-Dec-07 10:42 
GeneralRe: Challenging GotW 66's moral Pin
George_George28-Dec-07 19:05
George_George28-Dec-07 19:05 
GeneralRe: Challenging GotW 66's moral Pin
Member 75496028-Dec-07 20:32
Member 75496028-Dec-07 20:32 
GeneralRe: Challenging GotW 66's moral Pin
George_George28-Dec-07 23:28
George_George28-Dec-07 23:28 
GeneralRe: Challenging GotW 66's moral Pin
Member 75496029-Dec-07 4:47
Member 75496029-Dec-07 4:47 
GeneralRe: Challenging GotW 66's moral Pin
George_George29-Dec-07 19:52
George_George29-Dec-07 19:52 

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.