![]() |
Are there different ways to store long strings(including spacing)?
I'm having problems when i use the fgets() and the gets() functions..
Code:
if(sel==1){ |
Re: Are there different ways to store long strings(including spacing)?
Your code doesn't use fgets or gets. What is the problem? Does string[s] not contain what you expect? Have you RTFM on scanf?
|
Re: Are there different ways to store long strings(including spacing)?
Don't use gets() function, its vulnerable.
Code: c
Code: c
|
| All times are GMT +5.5. The time now is 11:03. |