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...
Type: Posts; User: spikerotc04
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...
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...
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
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
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...
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...
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....
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...
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...