hi, anyone can help me. i have below codes
class A
{
char k[3];
public:
virtual void aa() {}
};
class B : public virtual A
Type: Posts; User: shaxquan
hi, anyone can help me. i have below codes
class A
{
char k[3];
public:
virtual void aa() {}
};
class B : public virtual A
yes , i think so ,
thanks , it's okay now.
below code can be compiled but can not run, what's wrong with it?
#include <stdio.h>
void getmemory(char ** pchar) {
pchar = (char **)malloc(100);
}
int main(int argc, char *argv[]) {...
i think can use this
char temp[31];
gets(temp);
char *word1 = (char *) malloc(strlen(temp)*sizeof(char));
i use sams C primer plus as my first book to learn C,
i like this book , it also include many ansi c features.
and i read this book , the c programming language, i use this book as reference