Forum: C Dec 4th, 2005 |
| Replies: 5 Views: 1,876 Does your filename or path contain a space? If so, make sure to pass it inside double quotes... |
Forum: C Jun 8th, 2005 |
| Replies: 12 Views: 47,620 you can do this:
char temp[10];
int num = 3;
sprintf( temp, "String%d", num); |
Forum: C Jun 8th, 2005 |
| Replies: 12 Views: 47,620 gebbit, you can also look into sprintf, which gives you a lot of options. |
Forum: C Jun 7th, 2005 |
| Replies: 9 Views: 60,219 OK, but why the for loop? You only want the user input once correct? |
Forum: C Jun 7th, 2005 |
| Replies: 9 Views: 60,219 A couple of things:
First, you need to include "stdlib.h" for atoi. (Note, I think atoi is not standard, consider sprintf)
Second, you are trying to get the length of an integer (... |