scanf
How do I use scanf to call an item in an array?
My problem/question is basically: how do I use scanf to call an item in an array. and in more detail: I want to make a simple app which gives details of houses in a street.[详细]
2023-03-24 15:14 分类:问答How do I scan spaces into a a string?
I am trying to scan in 1-3 words from the user into a string. However, Only the first word will scan开发者_Python百科.scanf(\"%s\", &area ) ;[详细]
2023-03-23 05:45 分类:问答C - fscanf() - Reading Data Into an Array
I\'m getting a strange error when reading my data into an array. My goal is to read a file that has a single column of numbers into an array, line-by-line.[详细]
2023-03-21 10:56 分类:问答Reading Columns
I am working on a C code to read in three columns of numbers from an input file and then do basic math with the numbers obtained.My input file looks like:[详细]
2023-03-20 20:49 分类:问答scanf and gets buffer
im having a problem with scanf and gets. and I kno that its bound to errors but I couldn\'t find any other way. This way, the name is printing out but It doesn\'t print out the first letter of it.[详细]
2023-03-20 20:48 分类:问答Switched to a Linux Environment, now fscanf doesn't work
I have a program that works when compiled in Windows with both Visual Studio and CodeBlocks, but when I compile it in Kubuntu using QT Creator, the fscanf functions don\'t work the same way.[详细]
2023-03-17 09:38 分类:问答Fscanf stops after 130 lines PHP
I have been working on this for days, I thought I had it but was wrong. $done=0; $filename = \"raw_urls.txt\";[详细]
2023-03-17 04:15 分类:问答scanf %d segfault at large input
So I ran some static code analyzer over some c code and one thing that surprised me was a warning about:[详细]
2023-03-17 00:47 分类:问答Are fprintf and fscanf reentrant when using different file handles
Can I have 2 threads in the same process calling fprintf or fscanf at the same time? One stream is wri开发者_运维问答tten to by the first thread and is read by the second thread and the otherstream i[详细]
2023-03-16 13:49 分类:问答Thread communication via printf and scanf (linux)
Working in Linux and using C++. I have a program which initiates a thread. I need the main thread and the child thread to communicate via printf and scanf[详细]
2023-03-16 13:27 分类:问答