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!
Type: Posts; User: nemo3110
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!
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");
...
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;
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;