ProgrammingIntroductiontoProgramming
Introduction to Programming Programming
COMP102Prog.FundamentalsI:Introduction/Slide2ObjectivesTolearnfundamental problemsolvingtechniquesTo learnhowtodesignaprogramTo learn to use theC++ programminglanguage
COMP102 Prog. Fundamentals I: Introduction / Slide 2 Objectives To learn fundamental problem solving techniques To learn how to design a program To learn to use the C++ programming language
COMP102Prog.Fundamentals:Introduction/Slide3What is C++?C++isaprogramminglanguageAcomputer program performs aspecific task,andmay interact withthe user and the computerhardwareHumanworkmodel:InstructionsWorkWorkerProductComputer workmodel:ProgramWorkProductComputer
COMP102 Prog. Fundamentals I: Introduction / Slide 3 What is C++? C++ is a programming language. A computer program performs a specific task, and may interact with the user and the computer hardware. Human work model: Computer work model:
COMP102Prog.Fundamentals:Introduction/Slide4What is C++?Themostpopular programming languagesBasic(BeginnerAll-purposeSymbolicInstructionalCode)C++(an object-oriented language,based onC)Cobol(CommonBusiness OrientedLanguage)Fortran (FORmula TRANslation)JavaPascal(namedforBlaisePascal)PERLVisualBasic(Basic-like visual languagedevelopedbyMicrosoft)C (developed bythe designer of the B language)Themostcommon versions of C++:MicrosoftVC++2008EclipseHigh-uerformanceC-forCOM and CORBAg++ (forUnixmachines)distributedsolutionsTC-Builder4
COMP102 Prog. Fundamentals I: Introduction / Slide 4 What is C++? The most popular programming languages: Basic (Beginner All-purpose Symbolic Instructional Code) C++ (an object-oriented language, based on C) Cobol (Common Business Oriented Language) Fortran (FORmula TRANslation) Java Pascal (named for Blaise Pascal) Visual Basic (Basic-like visual language developed by Microsoft) C (developed by the designer of the B language) The most common versions of C++: Microsoft VC++2008 Eclipse g++ (for Unix machines)
COMP102Prog.Fundamentals:Introduction/Slide5Why C++?Bad News:C++ is not easy to learnGoodNewsLots ofgood-paying jobs for programmers becauseC++isnoteasytolearn!Java usesC++syntax, it is easytolearn Java ifyouknow C++.ThoughC++ is not the easiest language (Basicand Pascal are easier),it is not the hardest either(Ada,Prolog and Assembly languages are reallydifficult!)
COMP102 Prog. Fundamentals I: Introduction / Slide 5 Why C++? Bad News: C++ is not easy to learn Good News: Lots of good-paying jobs for programmers because C++ is not easy to learn! Java uses C++ syntax, it is easy to learn Java if you know C++. Though C++ is not the easiest language (Basic and Pascal are easier), it is not the hardest either (Ada, Prolog and Assembly languages are really difficult!)