Shop OBEX P1 Docs P2 Docs Learn Events
C Compiler Debut ? — Parallax Forums

C Compiler Debut ?

pjvpjv Posts: 1,903
edited 2006-09-10 13:54 in General Discussion
Hello Parallax;

Is there as yet an ETA for the much anticipated C Compiler?

Cheers,

Peter (pjv)
·

Comments

  • Kevin WoodKevin Wood Posts: 1,266
    edited 2006-09-10 05:26
    #include <stdio.h>
    #include <stdbool.h>
    
    int GetAnswerFromParallax();
    
    int main(int argc, char *argv[noparse][[/noparse]])
    {
        int IsSxCCompilerReady = GetAnswerFromParallax();
        
        if (!IsSxCCompilerReady){
            printf("We know Parallax is understaffed, and everybody is working on the Hydra!!!\n");
        }
        else{
            printf("Hooray!!!\n");
    }
        return (0);
    }
    
    int GetAnswerFromParallax(){
        
        bool answer = ?????;
        return (answer);
    }
    
    



    smile.gif
  • cbmeekscbmeeks Posts: 634
    edited 2006-09-10 13:54
    hmmm....think you should change to

    bool answer = false;


    Then it will compile.

    smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Coders' Hangout
    A place for programmers to hangout!
    http://www.codershangout.com

    METROID?
    Metroid Classic
Sign In or Register to comment.