Cannot return values of char variable
- From: "Pedro Pinto" <kubic62@xxxxxxxxx>
- Date: 3 Nov 2006 00:50:30 -0800
Hi there once more........
Instead of showing all the code my problem is simple.
I've tried to create this function:
char temp(char *string){
alterString(string);
return string;
}
char alterString(char *string){}
temp receives a string and uses the alterString to modify it.
My issue is simple, when i pass the argument string to alterString it
appears in the function alterString has being empty.
I've tried changing the signatures of the functions to
char temp(char string){
char alterString(char string){}
but the issue still occurs......
Can please somebody give me just a little example of the working
function.......... it would really help.....
thanks in advance for every support you have given to me this night.
.
- Follow-Ups:
- Re: Cannot return values of char variable
- From: mark_bluemel
- Re: Cannot return values of char variable
- From: CoL
- Re: Cannot return values of char variable
- From: mark_bluemel
- Re: Cannot return values of char variable
- From: Martin Ambuhl
- Re: Cannot return values of char variable
- From: T.M. Sommers
- Re: Cannot return values of char variable
- Prev by Date: Re: assembly in future C standard [OT]
- Next by Date: Re: Error: 'for' loop initial declaration used outside c99 mode
- Previous by thread: Error: 'for' loop initial declaration used outside c99 mode
- Next by thread: Re: Cannot return values of char variable
- Index(es):
Relevant Pages
|
|