Hello guys I m trying to code a program to fix indented code but problem is that i will use strstr to search for the for string then i ill read it till it encounted \0 then i wanna jump to next line to add 4 spaces before the code is there a way i can jump to next line ?
lolguy
1
Newbie Poster
Recommended Answers
Jump to PostRead the rest of the current line.
Jump to PostWhen you finish reading a line, you are automatically ready to read the next line. So just start reading again and there you are!
All 5 Replies
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
lolguy
1
Newbie Poster
lolguy
1
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
lolguy
1
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.