Search:

Type: Posts; User: Deerman

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    3,270

    re:

    The thing is the professor required us to read negative numbers and numbers that are more than one digit via getchar()... so is there any way whatsoever. Pretty much the user has to enter a number...
  2. Replies
    4
    Views
    3,270

    getchar function

    Is it possible to read negative numbers (-93, -9) and numbers that are longer than one digit (269) via the getchar function?

    I've searched the web but to no avail.

    If it's possible how can it...
  3. Thread: Calendar

    by Deerman
    Replies
    6
    Views
    1,534

    I ran that command in the run box, but nothing...

    I ran that command in the run box, but nothing happened.

    But, even if I can execute the command via run would it be possible to get the date that the user selects (Month & Day)? Or do I have to...
  4. Thread: Calendar

    by Deerman
    Replies
    6
    Views
    1,534

    RE

    Well, I've seen some applications that have a calendar that is identical to the the one one Microsoft windows (double click on the time and it will pop up). I'm wondering this available via some...
  5. Thread: Calendar

    by Deerman
    Replies
    6
    Views
    1,534

    Calendar

    I am fairly new to C/C++. I was wondering if it was possible to access the calendar that is provided by windows in application. Can it be done by some library call?

    If possible, can I integrate it...
  6. Replies
    5
    Views
    1,047

    I am new to C... I tried to declare a global...

    I am new to C...

    I tried to declare a global char array and initialize it in the main method but the compiler wouldn't let me.

    The only way around it (that I could think of) was using a char...
  7. Replies
    5
    Views
    1,047

    Java to C problems

    I am trying to convert code from Java to C. I am sure I have done something wrong but I cannot figure out; can anyone see the problem?



    // Java

    public void rotate(int newSize)
    {
    int i;
    ...
  8. Replies
    8
    Views
    1,400

    Re:

    That <Windows.h> still doesn't fix the problem it gives the same result as system("Sleep 3s").
    The final printf is still not showing.

    The sum of num1 + num2 + num3 is 0 for some reason.
  9. Replies
    8
    Views
    1,400

    Program won't calculate mean or sleep

    #include <stdio.h>

    int main(void)
    {
    printf("Please enter three numbers and I shall return the average.\n");

    int num1 = 0;
    int num2 = 0;
    int num3 = 0;
    double mean = 0;
Results 1 to 9 of 9