Search:

Type: Posts; User: ruffle

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,349

    well, I'm on winXPpro and lcc-win32 and if I...

    well, I'm on winXPpro and lcc-win32
    and if I can't do unbuffered input, how else can I fix it?
  2. Replies
    6
    Views
    1,349

    I'm looking at the unbuffered input section in...

    I'm looking at the unbuffered input section in the faq, and it looks like it's explained in C++. How would this go down in C?
  3. Replies
    6
    Views
    1,349

    program loops twice

    for(;;){
    printf("0) Exit\n");
    printf("1) Run\n");
    scanf("%c", &response);
    switch (response) {
    case '0':
    return 0;
    case '1':
    break;
    }
  4. Replies
    8
    Views
    1,611

    thanks, guys. I just started learning C a few...

    thanks, guys. I just started learning C a few days ago, and I think I'm way in over my head. It took me hours to write that and it turned into a bloated pos.
  5. Replies
    8
    Views
    1,611

    can't do sizeof(pointer)

    #define aVar sizeof(char)
    #define bVar sizeof(short)
    #define cVar sizeof(int)
    #define dVar sizeof(long)
    #define eVar sizeof(float)
    #define fVar sizeof(double)
    #define gVar sizeof(pointer)...
  6. Replies
    11
    Views
    1,424

    ok, I think I got it. Thanks for your quick and...

    ok, I think I got it. Thanks for your quick and frequent :rolleyes: help. I really appreciate it.
  7. Replies
    11
    Views
    1,424

    wait wait. I'm confused. what I'm trying to do...

    wait wait. I'm confused.

    what I'm trying to do is get an output of 06688363
    that's my decimal.

    So what I have to do is convert 06688363 to octal so I can put the octal into the code, so it'll...
  8. Replies
    11
    Views
    1,424

    Nothing different happens when I change the char...

    Nothing different happens when I change the char part, so I think the problems stems only from the octal error. And I went to scientific mode and clicked the oct button, but I still can't put 0...
  9. Replies
    11
    Views
    1,424

    I can't seem to type 0 first into the calculator....

    I can't seem to type 0 first into the calculator.
    And the xxx was supposed to represent numbers, since I didn't want to post the actual numbers. Sorry if there was any confusion, I don't know the...
  10. Replies
    11
    Views
    1,424

    printing numbers starting with 0 in struct

    I need to make a struct that contains a long for student id. In my case, my student id is 0xxxxxxx

    my code looks like this:

    struct student {
    char *name;
    int age;
    long int id;
    float...
Results 1 to 10 of 10