P
Paula
Hi,
i guess this is a stupid question, but i'm used to pascal and i'm
having problems in understanding char and strings in c...
How can I compare the char value at a given position in a string? I
mean, I'm trying:
....
char file_iso[30];
....
if (file_iso[11] == "a") alfafe=0.5; else alfafe = 0.0;
but it doesn't work...
Thx
Paula
i guess this is a stupid question, but i'm used to pascal and i'm
having problems in understanding char and strings in c...
How can I compare the char value at a given position in a string? I
mean, I'm trying:
....
char file_iso[30];
....
if (file_iso[11] == "a") alfafe=0.5; else alfafe = 0.0;
but it doesn't work...
Thx
Paula