Showing results 1 to 5 of 5
Search took 0.01 seconds; generated 1 minute(s) ago.
Posts Made By: jess29
Forum: C Aug 7th, 2008
Replies: 8
Views: 373
Posted By jess29
Re: need help replacing characters

Well i haven't gotten to pointers yet, i started reading about it in the first book i tried, but they're more towards the end of this one.
Forum: C Aug 6th, 2008
Replies: 8
Views: 373
Posted By jess29
Forum: C Aug 6th, 2008
Replies: 8
Views: 373
Posted By jess29
Re: need help replacing characters

char replace(char string[100])
{
int i; //increment

for (i=0; string[i] != '\0'; i++)
{
if (string[i] == '-')
string[i] = '_';
}
return(*string);
Forum: C Aug 6th, 2008
Replies: 8
Views: 373
Posted By jess29
Re: need help replacing characters

i tested it and it just said memory fault
Forum: C Aug 6th, 2008
Replies: 8
Views: 373
Posted By jess29
need help replacing characters

I just started teaching myself c with a book called practical c programming, and i can't figure out one of the exercises. I'm supposed to write a function that scans a character array for the...
Showing results 1 to 5 of 5

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:49 am.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC