Is it
scanf("%[^\t\n]",string);
More Related Contents:
- Incorrect result in c code
- How many times will “Hello World” be printed?
- Error: void value not ignored as it ought be
- What does a type followed by _t (underscore-t) represent?
- Why does sizeof(x++) not increment x?
- How can I multiply and divide using only bit shifting and adding?
- Correct way of passing 2 dimensional array into a function
- Pass arguments into C program from command line
- In a C expression where unsigned int and signed int are present, which type will be promoted to what type?
- Why is #include not required to use printf()?
- How to understand Locality Sensitive Hashing? [closed]
- Simulation of templates in C (for a queue data type)
- can’t print correctly a long double in C
- Sharing memory between two processes (C, Windows)
- Safely remove a USB drive using the Win32 API?
- Passing command line arguments in Visual Studio 2010?
- How to use printf to display off_t, nlink_t, size_t and other special types?
- Is there a way to flush a POSIX socket?
- Using sys/socket.h functions on windows
- Arrays decaying into pointers
- Sizeof vs Strlen
- Compiler warning for function defined without prototype in scope?
- Linux/POSIX equivalent for Win32’s CreateEvent, SetEvent, WaitForSingleObject
- The difference between asm, asm volatile and clobbering memory
- Pipe two or more shell commands in C using a loop
- Does C have any tools for doing string addition?
- To check the E2BIG error condition in exec
- What is the default generator for CMake in Windows?
- How can I access netstat-like Ethernet statistics from a Windows program
- Can you bind() and connect() both ends of a UDP connection