I know some higher level languages, all web based (PHP, javascript, some python). I've finally decided to learn a lower level language, and I've decided to go with C. The ...
I am a student with a mainly electronics background getting into programing. The more I get into it, the more I realize how bad I am at it.
I am trying ...
i often work on private projects using the WinApi, and as you might know, it has thousands of named and typedefed structs like MEMORY_BASIC_INFORMATION.
I will stick to this one in my ...
When one uses typedef structs within a source file and an external system will need to connect to this class via an interface, what is the correct way to handle the ...
MJ_India Style 2: typedef struct my_struct { ... }my_struct_t; > Style 3: typedef struct { ... }my_struct_t; > Which style should be preferred while coding and why? Style 1 is incorrect, I believe. I think you meant the last line to read typedef struct my_struct my_struct_t; Style 3 has ...
Hi, I`m new to C++ and OOP in general and i come from long-time C mindset. So i have some style questions. I have a class that needs to be initialized by over nine parameters. So i decided to put this mess into some kind of an object (here by object i don`t mean a class instance) and pass it to ...