Well its simple: I'making a group of programs that use one file for settings, however not all settings are used for all programs so instead of making another variable is there any way to just throw, let's say the first line to null read the second line feed the third and fourth to null and read the fith? What's the difference between void and null?
Zssffssz
-4
Junior Poster
Recommended Answers
Jump to Postis there any way to just throw, let's say the first line to null read the second line feed the third and fourth to null and read the fith?
Just read the line into a variable and don't do anything with it. When you read the next line, the variable …
All 4 Replies
Narue
5,707
Bad Cop
Team Colleague
Zssffssz
-4
Junior Poster
Narue
5,707
Bad Cop
Team Colleague
Labdabeta
182
Posting Pro in Training
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.