Search:

Type: Posts; User: DrJones

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,289

    2 x Scanf (functions)

    Whenever I call One scanf it works, then the second one, bypasses the whole scanf, and gives me the default value for it


    how do we get around 2 scanf's?????

    help me someone smart!!!!
    ...
  2. Replies
    3
    Views
    912

    Always returns FAIL, why???

    #include <stdio.h>

    int main()

    {
    int course_code, student_grade;


    printf("Please enter a valid number 1 -3\n");
    scanf("%d", &course_code);
  3. Replies
    2
    Views
    1,228

    FIXED I FORGOT THE ; SORRY!!!!

    FIXED! Close thread
  4. Replies
    2
    Views
    1,228

    cannot put an int here???

    Hi, ive just designed this program with the print_header,. then i try and put an int in the code and it doesnt compile, ive tried various variations, can someone show me where i can put the

    int...
  5. Replies
    6
    Views
    1,165

    Explanation of a function

    Hi, can someone tell me, in extended terms what this function parameters are

    what does char* buf, const .... etc mean


    int sprintf ( char *buf, const char *format, ... );
    int snprintf( char...
  6. Replies
    4
    Views
    1,030

    C files -

    Hi, im new to programming, and im trying to find the location of files, such as stdio.h and conio.h. Anyone know of good websites where i can get this from? What are some good sites for newbies to C...
  7. Thread: unsigned int

    by DrJones
    Replies
    1
    Views
    1,137

    unsigned int

    Hi, what does this line mean, also, does anyone know where a command list for c programming is..

    id rather see a list, than read over code and learn it sucks.

    return (unsigned int)(rand_seed /...
  8. Thread: Arrays's

    by DrJones
    Replies
    1
    Views
    1,000

    Arrays's

    Hi, im trying to understand, HOW the HELL does a become i, in this line of code, someone please exlain what a[i] comes from..

    i cannot make sense of this, and its stopping my work.

    /* fill...
  9. Replies
    2
    Views
    887

    Windows Programming

    Hi,
    im wanting to find out about windows programming, how is it different from C or the like, I want a program that is able to revert the exe back, is that possible, otherwise, whats some good...
  10. Thread: Help Me

    by DrJones
    Replies
    2
    Views
    944

    Help Me

    Hi, im just having troubel understanding something in this code.


    where does a[i] = i; come from, its saying that line of code.

    can someone explain to a real NEWBIE!

    a = i? or a[i] = i,...
  11. Thread: Help

    by DrJones
    Replies
    6
    Views
    1,189

    THANx

    thanks, ive copyed your text it works, im trying to update mine, still compiling error, ill try and fix it properly..

    thanks!!!!
  12. Thread: Help

    by DrJones
    Replies
    6
    Views
    1,189

    Help

    Im trying to get this program to work, it stops at

    else


    WHat have i done wrong here, i want to be able to specifiy whether fahrenheit or celsius can be used.

    Regards

    #include <stdio.h>
Results 1 to 12 of 12