C++ (Qt)s2 = s1 + ".txt";
C++ (Qt)std::vector <std::vector <int> > MyArray
C++ (Qt)void someSortFunc(float *array){ int array_size = memory_size(array); ...} main(){ float *a = new float[100]; float *b = a + 50; someSortFunc(a); someSortFunc(b); delete[] a;}
C++ (Qt)void someSortFunc(float array[]){ int array_size = memory_size(array); ...}
C++ (Qt)void * AllocPtr( size_t size ){ if (!size) return NULL; char * ptr = (char *) malloc(size + 16); if (!ptr) return NULL: *(size_t *) ptr = size; return ptr + 16; } voild FreePtr( void * ptr ){ if (ptr) free((char *) ptr - 16); } size_t GetPtrSize( void * ptr){ return *(size_t *) ((char *) ptr - 16);}