Moving from C # to C ++

I am slightly below the average C # programmer and I am only writing GUI applications. Maybe I'll get a Mac soon. Since there is no .NET Framework or Visual Studio on the Mac, I will use Xcode and Cocoa. I think this will be a good opportunity to switch to a well-known and well-supported language (C ++). I learned C # very easily without knowing C, so I hope C ++ will be the same. I also want to learn Java. What are you suggesting me to do? Can I write GUI applications in C ++ and Java? (can I do this with the tools included in xcode?). Do you recommend any books / sites that will help?

Thanks David

+4
source share
3 answers

What are you suggesting me to do?

Bootcamp.

Since the .NET Framework does not exist on Mac

Says who?

Can I write GUI applications in C ++ and Java?

out of course.

Do you recommend any books / sites that will help?

You are looking at one.
There are dozens of threads on how to get started with <X> . Look for them.

+7
source

If you're going to write Mac software, just learn Objective-C and Cocoa. Otherwise, you will not create applications that "feel" the right to Mac, and customers will not be delighted.

If you are going to write software for the iPhone, you will need Objective-C for UIKit, unless you do everything in OpenGL.

I would also recommend learning C ++, as it is standard, and it has a lot of libraries written. But I would personally avoid C ++ for the direct user interface on a Mac, Windows, or iPhone, but would recommend it for running in the background.

+7
source

I took a jump a while ago.

You need to know how to manage memory. Do not worry, it is difficult, but it is not so difficult. You should know about RAII and why it matters. I asked him once .

You will not have the .NET Framework. You can and should rely on STL and Boost .

Finally, you should take a look at QT . This is a library for the GUI.

+3
source

All Articles