Search found 190 matches
- March 3rd, 2017, 4:29 pm
- Forum: Everything
- Topic: static libs
- Replies: 19
- Views: 5208
Re: static libs
i believe you have to __declspec(dllexport) the class You only need to do that with dlls. I've tried to compile your code in my library and it compiles fine. Did you forget to set up the path for your static libraries in the main project? https://smuswg.dm2302.livefilestore.com/y3mg2jIgsp87QLNxI1zw...
- February 17th, 2017, 8:27 am
- Forum: Everything
- Topic: Something never before (to my knowledge) seen here
- Replies: 7
- Views: 2550
Re: Something never before (to my knowledge) seen here
Oh, object reconstruction would be a nice feature too. I hate having to make a constructor only to have to make a set function that basically acts the same way as the constructor but it runs cleanup(destructor) code before initializing. Object reconstruction semantics that calls the destructor then ...
- February 16th, 2017, 2:53 pm
- Forum: Everything
- Topic: Something never before (to my knowledge) seen here
- Replies: 7
- Views: 2550
Re: Something never before (to my knowledge) seen here
If it has modules built into them, that would make me a very happy man. NO MORE HEADERS! Built in versioning of code would really help library implementations. Actual versioning semantics would be preferable to using the macro language. You can combine that with the modules feature to create nice sy...
- February 9th, 2017, 3:05 pm
- Forum: Everything
- Topic: Some benchmarking tests
- Replies: 9
- Views: 3517
Re: Some benchmarking tests
I actually have a huge focus on using readable and easier to type code when I program regardless of what my recent posts make me seem. The reason why I did all these tests in the first place is to increase my confidence in typing more readable code rather than be worried that I'm doing something tha...
- February 8th, 2017, 6:56 am
- Forum: Everything
- Topic: Some benchmarking tests
- Replies: 9
- Views: 3517
Some benchmarking tests
Since I've been planning on refactoring my code to be more and more simd friendly, I wanted to get a guideline on how I should code from now on. As a result, I made a bunch of benchmarking tests to be more clear about certain aspects of coding. I would like to share my findings with you to see what ...
- January 24th, 2017, 6:38 pm
- Forum: Everything
- Topic: Programming in C...yep, trying it out.
- Replies: 24
- Views: 7579
Re: Programming in C...yep, trying it out.
The love for C really just stems from the anger towards C++. The anger towards C++ stems from the hatred towards the C++ community. The hatred towards the C++ community stems from the suffering inflicted by OOP that the community pushes for. If you want to listen to a talk on why OOP is bad, here's ...
- January 19th, 2017, 11:32 am
- Forum: Everything
- Topic: Creating your own libraries
- Replies: 4
- Views: 1880
Re: Creating your own libraries
If you are looking into creating different libraries and sharing them among your applications, I suggest that you adapt Microsoft's recommended single solution project structure . Basically, all your projects from your static and dynamic libraries to your various applications will be placed in one s...
- January 17th, 2017, 4:27 am
- Forum: Everything
- Topic: Should I learn two programming languages at the same time?
- Replies: 15
- Views: 4613
Re: Should I learn two programming languages at the same tim
Yeah but that pretty much applies to all high level syntaxes. You can really do away without classes, inheritance and even virtual functions and still be able to program quickly and efficiently. In fact, this is basically one of the excuses anti-C++ers use to avoid OOP and advocate their viewpoints ...
- January 16th, 2017, 4:36 pm
- Forum: Everything
- Topic: Should I learn two programming languages at the same time?
- Replies: 15
- Views: 4613
Re: Should I learn two programming languages at the same tim
In C#, you are not supposed to change the variables of an object but its properties instead. For example, Vector3 has the properties x , y , z , and length . Internally however, it only contains the variables x_ , y_ , z_ and the properties are derived from them. x, y and z derive their values from ...
- January 16th, 2017, 3:35 pm
- Forum: Everything
- Topic: Should I learn two programming languages at the same time?
- Replies: 15
- Views: 4613
Re: Should I learn two programming languages at the same tim
You don't understand. You can't just do a Vector2& to position_from_center because there is no position_from_centre. public class ScreenPosition { private Vector2 position_; private Screen screen_; public Vector2 position { get { return position_; } set { position_ = ClampToScreen(value); } } public...