Can the code help you?
tmp = str[0];
for(i = 0;i < strlen(str) - 1;i++)
str[i] = str[i + 1];
str[strlen(str) - 1] = tmp;
str[strlen(str)] = '\0';
Type: Posts; User: hkNewbie
Can the code help you?
tmp = str[0];
for(i = 0;i < strlen(str) - 1;i++)
str[i] = str[i + 1];
str[strlen(str) - 1] = tmp;
str[strlen(str)] = '\0';
Here is my source code,the problem is the string cannot hold the value after it left the function.Can any one give me some advise?
#include"tool.h"
void OpenAccountFile(FILE *uDB,int...
I've sth want to ask.Here is a part of my school project:
My testing value in variable Name is "Chan Tai Man"
void userData(char Name[20],char ID[10])
{
printf("Please enter your apply name...
tks alot:)