Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

scanf ignore new line

scanf("%[^
]s",str)
 
PREVIOUS NEXT
Tagged: #scanf #ignore #line
ADD COMMENT
Topic
Name
4+4 =