hi
please can anyone give me ahint how to do this?
1.write a program that mixes two strings using pointers. for example:
inputs:
Blue
Sky
the output:
BSlkuye
2.write a program that counts the number of characters in a string using pointers.
hi
please can anyone give me ahint how to do this?
1.write a program that mixes two strings using pointers. for example:
inputs:
Blue
Sky
the output:
BSlkuye
2.write a program that counts the number of characters in a string using pointers.
please set free our POWs
kuwait,
I think you know how to do the same think vVv wrote, in C++, don't you?
::Edit::
Just in case you don't:
replace:
with:Code:puts( result );
and:Code:cout << result;
with:Code:printf( "%d characters\n", p1 - result );
Code:cout << p1-result << " Characters."<<endl;
Last edited by ammar; 12-23-2002 at 02:57 AM.
none...
thanx for your help
but it doesn't work can anyone please tell me how to solve these two problems?
Umm I could be missing something, but it might help if you were a wee bit more descriptive in your questions. I would try asking them.
1.write a program that mixes two strings using pointers. for example:
inputs:
Blue
Sky
the output:
BSlkuye
2.write a program that counts the number of characters in a string using pointers.
__________________
do it your self, this board is not a " i'll just sit on my well exsersized bum and have every body do the work"
you actually have to DO sumthing .
missles on metriods
Woa, calm down man. He didnt ask you to do it for him, he asked how would he solce the problems. But I think he ment to press the "new post" button but accidently hit the "new thread" button.
Maybe if we could see the code and we could see what errors you were getting we could be of some assistance.
Threads merged...
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
that code is working with me, I think you have to copy and paste it correctly
none...