Jump to content

C for games and C++ for robotics?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Steamsteam

Steamsteam

    Newbie

  • Members
  • PipPip
  • 27 posts
I was speaking to two friends and one said C++ is only for robotics (hes in university studying it right now) and the other (who took a basic C++ course in university awhile ago) said C++ is for both.

They are both pretty smart but clearly they both cant be rite? Anyone know the answer for sure?

#2
artificial

artificial

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 624 posts
Neither C, nor C++ was actually designed for game programming. They are general programming languages.
Nowadays, C++ is the most common language in game development industry for it is object-oriented. This feature makes it very attractive.
C is usually used when the application has to be extremely fast and the programmer doesn't want to use assembly. :P No, seriously: C is often used in OS development. It is low-level, but still way more readable than assembly (of course, one needs assembly for the bootloader etc., but the rest is usually written in C).
Sometimes words ain't enough to express something. That's why computer scientists use double words.

#3
Steamsteam

Steamsteam

    Newbie

  • Members
  • PipPip
  • 27 posts
Thanks for the fast reply ;) Helps a ton ;D




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users