Search:

Type: Posts; User: aweida

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    7,295

    input array with EOF

    hello I have a pretty simple question in regards to EOF. My code takes an input of numbers and stores them in an array-->

    Item 1 :34
    Item 2 :56
    Item 3 :54.543
    Item 4 :-54.53
    Item 5 :^D

    when...
  2. Replies
    6
    Views
    2,395

    The compiler doesn't give me errors, but it does...

    The compiler doesn't give me errors, but it does print "hello world"
  3. Replies
    6
    Views
    2,395

    great, thanks!

    great, thanks!
  4. Replies
    6
    Views
    2,395

    GCC compile c program

    I know there is tons of posts on this but I still cant seem to solve my problem. I am brand new to programming and im trying to run my test.c in GCC.

    my version is
    Charles-Aweidas-MacBook-Pro:~...
  5. Replies
    5
    Views
    1,578

    I finally figured it out.... if...

    I finally figured it out....


    if (operatorInput == 'r' || operatorInput == 'R') {
    EOF;
    printf("final result is %.1f\n", newResult);
    printf("agian? [y/n]\n");
    getchar();...
  6. Replies
    5
    Views
    1,578

    thanks

    I appreciate the comments, it obvious that I am brand new to programing so the feedback is very helpful.

    I tried to implement some of the comments but I am still having some issues. I made one big...
  7. Replies
    5
    Views
    1,578

    simple loop incrament question

    I have a simple calculator program, the program runs and I want it to say "calculator is on" but I only want it to say this "one time" at the beginning. I made a value count but it resets it self...
  8. Replies
    3
    Views
    6,565

    Thanks for the help, getchar() does clear the...

    Thanks for the help, getchar() does clear the buffer and it did work, thanks for pointing me in the right direction.
    -c
  9. Replies
    3
    Views
    6,565

    while loop (sinple calculator)

    I am trying to make a simple calculator that will take a value and perform an operator on the value multiple times for example

    result = 0.0
    +5
    result + 5.0 = 5.0
    new result = 5.0
    *2.2
    ...
Results 1 to 9 of 9