Search Results

Showing results 1 to 5 of 5
Search took 0.01 seconds.
Search: Posts Made By: winbatch ; Forum: C and child forums
Forum: C Dec 4th, 2005
Replies: 5
Views: 1,876
Posted By winbatch
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
Posted By winbatch
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
Posted By winbatch
gebbit, you can also look into sprintf, which gives you a lot of options.
Forum: C Jun 7th, 2005
Replies: 9
Views: 60,219
Posted By winbatch
OK, but why the for loop? You only want the user input once correct?
Forum: C Jun 7th, 2005
Replies: 9
Views: 60,219
Posted By winbatch
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 (...
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC