Search:

Type: Posts; User: nemo3110

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,417

    Thanks Salem! I think error in complie...

    Thanks Salem!
    I think error in complie envoriment, because when I write a sample program and complie in Turbo C 3.0, it run well but when I complie in VC++ 6.0, it appear this error!
  2. Replies
    8
    Views
    1,417

    I do not add anything at this. My code really...

    I do not add anything at this. My code really like this


    pointer p1; //declare a pointer type variable
    p1.loai = (char*)malloc(sizeof(char)*256);//
    strcpy(p1.loai,"hello world");
    ...
  3. Replies
    1
    Views
    1,101

    Free a pointer

    Hi all!
    I am an new bie!
    I have an error, could you should why it wrong and how to fix it!
    My sample code:



    typedef struct _pointer_note{
    char name[10];
    char *loai;
  4. Replies
    8
    Views
    1,417

    Free a pointer

    Hi all!
    I am an new bie!
    I have an error, could you should why it wrong and how to fix it!
    My sample code:



    typedef struct _pointer_note{
    char name[10];
    char *loai;
Results 1 to 4 of 4