User Profile
Collapse
-
i have made my own code for this problem but without strcat function that is required in this problem.... can anybody help me how to use strcat... please....bytes experts where are you... not helping me at all..........:-( -
#include<iostre am.h>
#include<stdlib .h>
#include<ctype. h>
#include<string .h>
int main ()
{
char string1[80];
char * chr;
cout<<" enter you Mobile Number";
cin>> string1;
chr = strtok (string1,"-");
while (chr!= NULL)
{
cout<< "\n"<< chr;
chr = strtok (NULL,...Leave a comment:
-
young im not getting the way you explaining....g ive some refferrence in c++ according the give problemLeave a comment:
-
the Problem is how to figure out??? if i have splited a line into 3 tokens and i want to place 2nd token at 1st position and 3rd token at 2nd position and 1st token at last position??? How to do that..???? explain please!Leave a comment:
-
im taking in this Problem donbok woud you help me ,If i use strtok function to split the numbers that hasbeen entered by a user, then how to rejoin those string part in different order??Leave a comment:
-
-
String handling in C/C++
Hi want to use strtok, strlen and strcat functions together in a programme.how to use them ..can anybody explain me with an example, in which all three functions are used....please help me i really want to understand these functions,how they work....
No activity results to display
Show More
Leave a comment: