Ignoring the spaces and the Tab.
Hi guys,
I am writing a C++ program under Linux, in this program I am reading a file, and I want to ignore the Tab and comments ( the line which start by #).
I solve the problem with the comment lines, but how can I ignore the TAB at the beginning of some lines.
Thank you for your help.Code:File1.txt #This is the first part Command1. ! subcomment Command2. Command3. Command4 #This is the second part Command5 ! subcomment Command6 #The End.