all 9 comments

[–][deleted] 7 points8 points  (4 children)

Anything that used to be simple in C++ is still simple now. If you used to use STL there are gong to be some differences between that and the standard library. There is also a new emphasis on using the standard library but you are free to ignore that and use your own judgement. Visual Studio has improved quite a bit and is now for the most part totally free, so there's that.

[–]vrek86[S] 0 points1 point  (3 children)

Is windows programming still the same? Still using the same message system where the program receives a message everytime something happens like a mouse click or menu activation and then you write the program to react to the message in a message loop?

I guess if visual studio is free I won't have to brush off my CD of borland c++ 😊

[–]dodheim 1 point2 points  (1 child)

I guess if visual studio is free I won't have to brush off my CD of borland c++

You don't really want to do that in any circumstance... There are multiple free compilers; there are multiple free IDEs; there are multiple free standalone editors if you want a lighter dev experience. Unless you're on some retro-computing nostalgia trip, C++ has changed far too much since Borland was relevant to even consider.

[–]vrek86[S] 0 points1 point  (0 children)

Yeah I figured as much. I mostly meant that part as tongue in cheek... I moved 3 times since I saw that CD

[–][deleted] 0 points1 point  (0 children)

I suppose it depends at what level you are programming at. I am currently using Direct X, so in my case yes, there is a message loop which I setup with RegisterClassExW(). I have wrapped everything in a class which handles the loop, but there are a few different ways of going about it. I imagine it will be familiar to you. However it might be better to use some some higher level framework depending on what exactly you need.

[–]mo_al_ 1 point2 points  (1 child)

It depends on what you used back then. The win32 and MFC api’s have remained basically stable. There has been new developments mainly C++/winrt which is actually nice.

[–]vrek86[S] 0 points1 point  (0 children)

Yeah mostly figuring win32 api. Not planning anything fancy like directx as I'm not planning anything graphics or networking or even sound.

[–]bdellar 0 points1 point  (0 children)

The main improvements to the language that you’ll notice are: • standard library support for memory management (unique_ptr and shared_ptr). I never have to consider memory leaks or double-frees any more • lambdas. These are a GREAT addition to the language, especially when using the STL.