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:
but it does not work
startunit[i] = "mm";
Any help tonight would be great. I have a program due in 12 hrs, and this is the main problem right now.
When I tried
I got the error
I defined the string as
83 C:\Dev-Cpp\final.c [Warning] passing arg 1 of `strcpy' makes pointer from integer without a cast
char startunit ;
The second one will probably create garbage in front of the "mm"
Of course i must be incrimented by at least 2 eah iteration otherwise you would be overwriting the second char.