can we type while ( "variable" = '\n') ? or an error will occur?
rel0aded911
0
Newbie Poster
Recommended Answers
Jump to PostYou mean like this?
char c; while( c != '\n' ) { // blabla }
All 3 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
rel0aded911
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured 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.