i was told that the feilds are not separated (in each line the feilds are sticked together)
why they say fscanf(file,"%29[^$]%10 ...
why not just fscanf(file,"%29%10 ...
why they say (or till char '$')
??
i was told that the feilds are not separated (in each line the feilds are sticked together)
why they say fscanf(file,"%29[^$]%10 ...
why not just fscanf(file,"%29%10 ...
why they say (or till char '$')
??
Who are they and what do they want to do?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
people who wrote a solution to that question
they say read 29 chars or till char $
why not just "read 29 chars"
the feild are sticked together
??
They are wrong. The answer is 42.Originally Posted by transgalactic2
So, what's the question?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
I'm pretty sure that $ has a special meaning (in fact, I'd be very surprised if $ doesn't mean end of line).
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.