Message from C, C++ discussions

November 2019

โ€” My pc crashed gimme a sec ๐Ÿ˜‚


Wait... why do you write a custom compare functor shouldnt that work:

qsort(array, array_len, sizeof *array, strcmp);

โ€” And I need the opinion of your folks: Iยดm currently working on my own "programming language" which is basically a language which my compiler then converts to c++, which then is compiled into an executable using clang. Is it still legit to call it a programming language - because it runs on C++?

Message permanent page

โ€” Nope, since the signatures are different

โ€” So I can call it a own language?

โ€” That answer was to you asking why you couldn't pass strcmp to qsort directly

โ€” I wondered ๐Ÿ˜‚

โ€” But yeah, it still counts as a programming language, it doesn't matter what your compiler targets or that it doesn't compile to an executable directly

Message permanent page

โ€” Nice, its also not too similar to c++ more like a mixture of c++, c# and python ๐Ÿ˜Š

โ€” User Rakesh has 1/2 warnings; be careful!
The latest warn was because:
no google play what Indian me tired

Message permanent page

โ€” The qsort takes a function pointer as a parameter

โ€” I see I thought you can do this directly