Search:

Type: Posts; User: hkNewbie

Search: Search took 0.01 seconds.

  1. Thread: String Prob

    by hkNewbie
    Replies
    3
    Views
    895

    Can the code help you? tmp = str[0];...

    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';
  2. Replies
    1
    Views
    1,105

    string.......HARD!!Can any one help?tks

    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...
  3. Replies
    3
    Views
    955

    Can any one help?(about string)

    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...
  4. Replies
    9
    Views
    1,375

    tks alot:)

    tks alot:)
Results 1 to 4 of 4