Search code examples
c++cimage-processingpattern-recognition

C or C++ for pattern recogniton/image processing?


I about to take some courses in Pattern Recognition. As i have no prior knowledge in either C or C++, my professors told me to learn a bit of one of them before the course, and learn more when doing the course.

Which one should i pick?

The prior knowledge in programming i have is limited to mostly C# but some PHP, SQL and Prolog as well.


Solution

  • Stroustrup (inventor of C++) argues that C++ is easier to learn than C:

    There will be less type errors to catch manually […] fewer tricks to learn […], and better libraries available.

    With that in mind, go for C++.