There are some datatypes to contain data (in memory I do think). So I like to know these types,
char,char *, char[], -- especially
int, int[], int *, float, decimal, short, long, if there are any other please mention
are same in C and C++.
If they are same then can I use memory functions and string functions and int, float, decimal,binary,etc functions available in C like memset,memcpy,memcmp,etc.
and string functions like strcmp, strstr, strlen, etc.
in cpp file and complete C++ library or kind of mixed C++ C file which is cpp or cc extension which need to be compiled with g++ or c++ compiler?
Can I assign socket buffer or copy it to C++ class member of same type like C char[] to char some_classobj->charsocket_datal[1024]
or do C++ have their own versions of these functions? What's the header files in this case: header file I only like to ask also in this question.