Message from C, C++ discussions

December 2019

— So do I just open the file, copy paste the function in the main program and call it a day? that's how I've been dealing with it

Message permanent page


In C, you need to write both a header file (contains the definitions of the functions and types) and an implementation file. The header generally have a .h extension and the implementation a .c extension

— Mmm when I get home I'll read about this more, our teacher didn't get there yet and I'm new to C

— The declaration of a function in C89 is at least the return type of the function followed by its name and parentheses. In C99, the type of the parameters is also required, separated by commas, within the parentheses

Message permanent page

— Functions and types declarations (struct, typedef, enum) are statements and hence terminated by a semicolon

Message permanent page

— Take care of yourself more

— I do

— Hey guys I want to rewrite my game engine an Im thinking about to use C# instead of C++ because the development itself is much faster - do you think my games will have much less fps?

Message permanent page

— Definitly

— Https://

— The definitive answer to that is: it depends

— It mostly depends on whenever you wrote your code in a slightly unoptimized way in C++ and write it in a better way in C#, and on if you write it in a way that pleases the .NET runtime your user uses so that it gets nicely vectorized

Message permanent page