Search:

Type: Posts; User: flamehead144

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,364

    arrays and pointers

    does anyone know what is wrong with this?



    int iteration;
    int i,j;
    double sum;

    for (iteration=0;iteration<20;iteration++)
    {
  2. Replies
    1
    Views
    1,266

    can someone proof read this for me?

    this is pretty stupid, but it bothers me. when i a.out, this is what i get:

    Here is Homework 7:
    Month 0: x[] = { 0.200 0.300 0.500} <-------
    Month 1: x[] = { 0.270 0.380 0.350 }...
  3. lol... ty so much.

    lol... ty so much.
  4. need someone to double check this for me (c)..

    so this is what i have to do:

    In order to find roots for f(x) = x*x*x - x*x- 9.0*x + 8.9 in the interval
    -1.0 <= x <= 5.0, create a table for x and f(x) from x=-1.0 to x=5.0 with
    an increment...
  5. Replies
    8
    Views
    2,080

    ok i changed the infile = fopen so the program...

    ok i changed the infile = fopen so the program searches for the file and when i compile and a.out, it lists:
    John Everhart
    75900
    Paul Evans
    95700
    Juan Hernandez
    45100
    Rwanda Jackson
    88500...
  6. Replies
    8
    Views
    2,080

    no, the sales.dat is in a different directory....

    no, the sales.dat is in a different directory. the file i'm creating is in my home directory and to go to the sales.dat i have to type cd ../public and type more sales.dat to view it, which is what...
  7. Replies
    8
    Views
    2,080

    would it look something like this? #include...

    would it look something like this?


    #include <stdio.h>
    main()
    {
    FILE *infile;
    char text[81];
    int count=0;
    int tsales;
  8. Replies
    8
    Views
    2,080

    linking file stream with input file?

    ok i was given an assignment but i have no clue how to do this. can someone please explain to me what i'm supposed to do cause i'm really lost. this is the prompt.

    The sales commission for each...
Results 1 to 8 of 8