Answer the question
In order to leave comments, you need to log in
C++ vs C#. What is more suitable for my tasks?
I am visually impaired. Completely blind. I use a computer and other technologies with the help of screen readers.
Interested in programming. No longer as a profession, but as a hobby.
Interested in applied programming. Development of desktop applications and sound games for the blind.
We have a lot of such games, there are even shooters. Everything is built on 3D sound.
They mostly use C++/C#. There is even an engine for such games, it is developed in C ++.
Now they want to drag them to the Olympics. Yes, and I choose the language for my tasks.
Interested in which language suits me best?
Worked with both. In C# I am familiar with the basics, OOP, in C++ I cannot understand pointers, I am not yet familiar with OOP.
This is what I need:
Development of application software exclusively under Windows, client-server applications with a server under Linux.
Games, they require libraries to work with the keyboard, 3D sound. All this is in C++ and C#.
I want to work without using low-level tools. I don't know if this is possible in C++. So far, only pointers are frightening, but I'm sure that they can be understood.
In general, what can anyone say?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
To understand pointers, you need to know a low-level programming language: assembler. It is the assembler that can more accurately explain how pointers work. Since pointers came from the world of low-level programming. But you wrote strangely: when you write about C#, you write that you are familiar with OOP, and when you write about C++, you are already unfamiliar with OOP. OOP is just an approach to programming. And this approach is common for every programming language. If you want to write games in C#, then Unity is for that. And for most applications, C# will suffice. C++ is good for performing productive tasks. Sometimes in practice a mixed approach is used: what is required for high performance is written in C++, and everything else is written in C#. Quite normal practice. In programming, it is important to be able to work with algorithms, think over the whole mechanism of work, understand how everything works. With a bad algorithm in any programming language, the program will work poorly.
Pointers are not as scary as they seem, they just require some discipline.
But C# is more suitable for you, precisely because many low-level operations have already been written for you.
If the speed of execution is critical at the Olympiad, then C ++ is still better
There is a very big difference between C++ and C#, C++ has a wider range of applications, it is a language that has "full control over the hardware", and C# already works in the same way as Java. Although, without unnecessary hemorrhoids, write in C ++ and then it will be much easier to port to other operating systems. Or write in C#, it will be to your advantage, since the code is written more quickly, which means you can already move on to the code testing phase, which saves time.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question