Search:

Type: Posts; User: benw25

Search: Search took 0.00 seconds.

  1. Replies
    21
    Views
    3,179

    OK....thanks everybody, this program works now...

    OK....thanks everybody, this program works now...
  2. Replies
    21
    Views
    3,179

    When I use lf for the printf statement for long...

    When I use lf for the printf statement for long doubles, it returns a bunch of jibberish...
  3. Replies
    21
    Views
    3,179

    Swoopy, I used the program above and there are...

    Swoopy, I used the program above and there are several errors...
    line 12 statement missing ; in function main()
    line 16 compound statement missing } in function main()
    line 16 function should...
  4. Replies
    21
    Views
    3,179

    If you use the long int, it gives a range of...

    If you use the long int, it gives a range of about 4 million, but that is not enough if the numbers from 1 to a million are added, and the sum is 50000005000000 or something like that...I looked up...
  5. Replies
    21
    Views
    3,179

    This program also runs really really slow...and...

    This program also runs really really slow...and its not just the computer...it displays about 100 numbers every 3 seconds or so...
  6. Replies
    21
    Views
    3,179

    Ok...here is my problem as follows... #include...

    Ok...here is my problem as follows...
    #include <stdio.h>

    long int main()
    {
    long int a, b;
    a = 0;
    b = 0;
    while (a<1000001)
    {a++;
  7. Replies
    21
    Views
    3,179

    Ok...the 2 posts above seem to work...I tried to...

    Ok...the 2 posts above seem to work...I tried to debug some of these myself, but since I have been doing programming for about a week now, my attempts failed...thanks everybody for helping me out!
  8. Sticky: Ok...the 2 posts above seem to work...I tried to...

    Ok...the 2 posts above seem to work...I tried to debug some of these myself, but since I have been doing programming for about a week now, my attempts failed...thanks everybody for helping me out!
  9. Replies
    21
    Views
    3,179

    Here is my program as of now... #include...

    Here is my program as of now...

    #include <stdio.h>

    long int main()
    {
    long int a, b;
    a = 0;
    b = 0;
    while (a<1000001);
  10. Sticky: Here is my program as of now... #include...

    Here is my program as of now...

    #include <stdio.h>

    long int main()
    {
    long int a, b;
    a = 0;
    b = 0;
    while (a<1000001);
  11. Sticky: How do you declare numbers as double integers and...

    How do you declare numbers as double integers and how do you use long integers?
  12. Replies
    21
    Views
    3,179

    How do you declare numbers as double integers and...

    How do you declare numbers as double integers and how do you use long integers?
  13. Replies
    21
    Views
    3,179

    HELP with a C/C++ program adding numbers...

    Hey everybody...this is a new programmer....I started programming less than a week ago...I need help creating a c program that adds numbers from 1 to a million. I have tried it using many tutorials,...
  14. Sticky: HELP with a C/C++ program adding numbers...

    Hey everybody...this is a new programmer....I started programming less than a week ago...I need help creating a c program that adds numbers from 1 to a million. I have tried it using many tutorials,...
Results 1 to 14 of 14