Sunday, July 12, 2009

C or C++? Which is better?

Ok, so I am interested in enrolling in correspondence courses to learn computer programming, the problem is I can't tell which is better. Stratford Career Institute, or Penn Foster Career School.


Both have great courses but with differences.


Penn foster Visual C# .NET Programmer...


http://pennfoster.com/visualc/ProgramOut...





And Stratford Career Institute Computer Programming....


http://www.scitraining.com/Courses_US/Co...





As I don't really know much about this stuff, I would like it if someone who does know can point me to the better school.


Prefer someone who is in this career.

C or C++? Which is better?
As a 25 year programmer, most in C and C++, and as someone who has tried to hire other programmers and has had to deal with bad programmers that others have hired, I can tell you that the best programmers are the ones who love to program. They work on their own projects at home just to explore ways of doing things.





Since you aren't someone who loves coding (yet, anyway) maybe you should stick with the higher level stuff. Of the choices you gave, you should take the C# class. C# is Microsoft's evolution of C++, which itself was an evolution of C. With each level, things get easier.
Reply:C++ is better, because use Object-oriented programming (OOP) is a programming paradigm that uses "objects" and their interactions to design applications and computer programs. Programming techniques may include features such as, encapsulation, modularity, polymorphism, and inheritance. It was not commonly used in mainstream software application development until the early 1990s. Many modern programming languages now support OOP.





c is old and it does not enjoy POO.





in addition in C++ you can make programs OO like not also.
Reply:A loty of people can come out with being a computer scientist or stuff liek that. But this is based on opinion.





C++ is basically built upon C, and just adds more easier ways such as object orientated programming etc.


C and C++ is built upon pure ANSI C code, which with vast libraries made by system programmers such as me can create libraries that people can call functions from that do stuff such as display a message on screen or file handling methods etc, all within a header file.





However, the short answer is C++ for the fact it is C but with addition extensions of OOP programming. However, C programs often run faster than a C++ program, which this may effect a program such as a scientific program or even heavey collision detection games.
Reply:C# with .NET rocks. It's pretty easy to pick up. I started with C++, and it kind of owned me to start out, but I got the hang of it. C# is a lot more has a lot more to do with objects and things than C++. C++ is more like write this stuff and it does that stuff. C# is more like this parent has a child, and the child has a bunch of attributes or qualities about it (height, weight, name, blah blah blah), so it's easier to understand.
Reply:For a beginner, I'd say C is better since the concepts are easier to grasp. But the short answer is that neither is better, since they both have their roles.


No comments:

Post a Comment