Sunday, July 12, 2009

C++ Programming (array and string)?

Can someone do this code for me, i apperciate if the code is complete and ready to built and execute; this are the instruction:





Write a program that asked the user to enter a string. Then the program should ask the user to enter a letter. The program should serach for that letter in the string the user entered and REMOVE it from the string.





For example if the user enter: This is the string test


The enters the letter T


The program should print out: his is he sring es





Make the input/output "Friendly" Tell the user what the program will do and so on...





A few important things:


-Declare the array for the string at least 50 chars long


-Use #define for the array sizes


-USE FUNCTIONS, use at least one function. I used one funstion that took the string the user entered, an array to store the new string and the char. The prototype loked like this :


void remove_char ( char * string, char * newstr, char ltr);

C++ Programming (array and string)?
its a suggestion


never order other to do sth


better request or ask politely


and be happy with wat they give ya
Reply:Are you testing us or asking for help??
Reply:please do it when you get strunded then let me know

columbine

No comments:

Post a Comment