I'm trying to send an char array through a function convert it to an int array and send it back so I can reuse it with another function. I'm just having the worst time with this matter, please help!
AlSal 0 Newbie Poster
Recommended Answers
Jump to PostPost some code.
Jump to PostYou dont have to have such a huge list if and else to do this. You to reduce that to just few lines of code. Looks the my version of convert function.
int convert( char *str, int *number ) { int i; for( i=0; str[i] != '\0'; …
All 5 Replies
Salem 5,265 Posting Sage
AlSal 0 Newbie Poster
AlSal 0 Newbie Poster
Aia 1,977 Nearly a Posting Maven
ssharish2005 62 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.