Thanks loads.
Everything works perfectly :)
Type: Posts; User: Chazij
Thanks loads.
Everything works perfectly :)
You are a true legend,
thankyou
Hi,
After many many hours of agonising debugging, I've found I need to declare one of my input streams globally.
I'm loading up a .txt file and need to have 2 functions have access to it. I...
Thanks for all the replies, they really helped,
I've worked out why everything was going wrong:
Basically because I defined the stream in a different function, everytime I tried to call the next...
Still skips it when I swap them round :P
It goes infinite, since the same char is called from the stream (for no reason it seems).
It's stuc on 'v' from the first void in the txt file, so I'm...
I did, but like I said it for some unknown reason it just skips the while loop.
Thanks very much for your help laserlight
yytext += ch;
while(isalnum(ch) &&...
Hi,
Ive been stuck on this bug for a while now, Ive tried googling the answers etc but everything I try seems to fail:
string yytext;
char ch;
Thanks for the reply, and the link. The whole thing makes a bit more sense now ^^
Hi guys,
I'm having a little trouble getting some of my coursework working, basically I'm programming a C compiler (written in C). It only has to compile a very basic program so it's pretty...