Search:

Type: Posts; User: spikerotc04

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    926

    I could not get it to work. I am going to post...

    I could not get it to work.
    I am going to post my entire code so I might be able to get some help with this. I t keeps displaying garbage. I only have part of it posted, and the declarations are...
  2. Replies
    4
    Views
    926

    string problem

    I'm still trying to figure out how to loop through a string so that every time I loop through it the list will be updated with the most recent values at the top.

    This is what I have, but it is...
  3. Replies
    4
    Views
    1,041

    When I tried strcpy(startunit[i], "mm"); ...

    When I tried


    strcpy(startunit[i], "mm");


    I got the error


    83 C:\Dev-Cpp\final.c [Warning] passing arg 1 of `strcpy' makes pointer from integer without a cast
  4. Replies
    4
    Views
    1,041

    simple question

    I have a really simple problem.
    I forgot how to assign a message to a string with a counter.

    I thought it was something like this:


    startunit[i] = "mm";


    but it does not work
  5. Replies
    5
    Views
    1,806

    I am trying to get it to display only the 20 most...

    I am trying to get it to display only the 20 most recent inputs. It is for a unit conversion program I am writing for a final project. I want it to display like this:
    _________Starting...
  6. Replies
    5
    Views
    1,806

    I think I almost figured it out. I am writing the...

    I think I almost figured it out. I am writing the information I need to a file in this format:

    i(counter) starting unit ending unit filename


    I then read it in main...
  7. Thread: lost

    by spikerotc04
    Replies
    2
    Views
    884

    lost

    I am trying to write a loop that will display the 20 most recent calculations inputed and display them. When it loops the 21st time, I need it to kick the first value out and move everything else up....
  8. Replies
    5
    Views
    1,806

    don't know where to start

    I am writing a unit conversion program for a final project in my C-programming class. One of the requirements I have is that I have to have it keep track of only the 20 most recent inputs. I am...
  9. Replies
    6
    Views
    1,174

    having problem with function

    I am working on a final project that is a unit conversion program. I am having trouble getting the first part of the program working. I left out most of the fuctions so I could test what I had...
Results 1 to 9 of 9