Search:

Type: Posts; User: Chazij

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,407

    Thanks loads. Everything works perfectly :)

    Thanks loads.

    Everything works perfectly :)
  2. Replies
    12
    Views
    2,050

    You are a true legend, thankyou

    You are a true legend,

    thankyou
  3. Replies
    2
    Views
    2,407

    How to declare a global input stream

    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...
  4. Replies
    12
    Views
    2,050

    Thanks for all the replies, they really helped,...

    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...
  5. Replies
    12
    Views
    2,050

    Still skips it when I swap them round :P It...

    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...
  6. Replies
    12
    Views
    2,050

    I did, but like I said it for some unknown reason...

    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) &&...
  7. Replies
    12
    Views
    2,050

    Strange bug with Input stream

    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;
  8. Replies
    2
    Views
    970

    Thanks for the reply, and the link. The whole...

    Thanks for the reply, and the link. The whole thing makes a bit more sense now ^^
  9. Replies
    2
    Views
    970

    Need a little help with simple compiler

    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...
Results 1 to 9 of 13