scanf
How to use scanf in Objective-C?
friends how to use the scanf in the objective c when i am compiling it is working开发者_StackOverflow中文版 nicely[详细]
2023-02-16 12:41 分类:问答sscanf multivalue n length values?
I have a file which is similar to /etc/passwd (semi-colon separated values), and need to extract all three values per line into variables then compare them to what have been given into the program. He[详细]
2023-02-16 09:37 分类:问答scanf() leaves the newline character in the buffer
I have the following program: int main(int argc, char *argv[]) { int a, b; char c1, c2; printf("Enter something: ");[详细]
2023-02-16 03:28 分类:问答Confusion about sscanf
I want to read floats (and ints afterwards) from a line I\'m getting out of a file. When I\'m debugging it, I can see it\'s getting the line out of the file no problem, but when I try to sscanf it, I\[详细]
2023-02-16 02:56 分类:问答scanf formatting issue
I have a log file with the following format: INFO 2011-03-09 10:26:15,270 [user] message I want to parse the log file using PHP:[详细]
2023-02-15 15:56 分类:问答finding max in bunch of arrays in C
I have couple of questions. I have a text file which contains these information x0,x1,y0,y1 142,310,0,959[详细]
2023-02-15 11:41 分类:问答How to use scanf \ fscanf to read a line and parse into variables?
I\'m trying to read a text file built with the following format in every line: char*,char*,int i.e.: aaaaa,dfdsd,23[详细]
2023-02-14 20:03 分类:问答NULL arg allowed to sscanf?
Is a NULL pointer allowed as the string to store result in in a call to sscanf? I don\'t find anything about it in any documentation but it seems to be working fine. Same thing with scanf.[详细]
2023-02-14 14:08 分类:问答fscanf input with floats
I\'m reading from a text file which contains: Mary 55334422 24.90 56.6 45.68 and am reading it in: ....char name[20]; int num; double worked; double rate; double total;....[详细]
2023-02-14 10:06 分类:问答Struct Field undeclared in main
Hey all, I\'m writing a C program, and I want to have an array of structs malloc\'d up and filled with data from a file. Here\'s my typedef for the struct:[详细]
2023-02-14 04:39 分类:问答