Home » Resources » Programming Support

Programming Support

 C++ Programming in South Pacific 

(Open Training Materials)
Preliminaries:   Eclipse C++ IDE or Dev C++

Day 1: Recap of programming basics. Variables, control statements.

Day 2: Repetition with while and for loops. Arrays and traversals.

Day 3: Functions and parameter passing.

Day 4: Files and strings

Day 5: Structs and an intro to  Object Oriented Programming.

 

Download Worksheets and Sample Code

Contract for support:

  1. Mr. Gary Wong gary.wong (at) softwarefoundationfiji.org
  2. Mr. Ratneel Deo, deo.ratneel (at) gmail.com
  3. Dr. Rohitash Chandra, coordiantor (at) softwarefoundationfiji.org
  4. Mr. Kavitesh Bali, bali.kavitesh (at) gmail.com

 

———————————————-

Preliminaries:: Software and Tools

Install Eclipse IDE (CDT C++)

http://www.youtube.com/watch?v=8FhkEzinEdI

Download Eclipse IDE (C++) : http://www.eclipse.org/cdt/

Compiling using Eclipse IDE:

http://www3.ntu.edu.sg/home/ehchua/programming/howto/EclipseCpp_HowTo.html

Obama on Computer Science

http://www.youtube.com/watch?v=6XvmhE1J9PY&list=PLzdnOPI1iJNe1WmdkMG-Ca8cLQpdEAL7Q

If statement Introduction by Bill Gates

http://www.youtube.com/watch?v=m2Ux2PnJe6E

Problem Solving through Creativity

http://www.youtube.com/watch?v=6SVUo2dGcUk

Problem Solving Example

http://www.youtube.com/watch?v=63BBWWsqsT0

http://www.youtube.com/watch?v=LswVAk59goM

———————————————————————————————

Day 1

Basic Calculator

http://www.youtube.com/watch?v=yjucJUsHSqg

If Statements

http://www.youtube.com/watch?v=yEY8xlnarNo

http://www.youtube.com/watch?v=uYciTJ7CDOY

http://www.youtube.com/watch?v=jK83lln_T1k

While Loops

http://thenewboston.org/watch.php?cat=16&number=18

http://thenewboston.org/watch.php?cat=16&number=19

Code for Day 1

http://www.cplusplus.com/doc/tutorial/variables/

http://www.cplusplus.com/doc/tutorial/constants/

http://www.cplusplus.com/doc/tutorial/operators/

Control structures

http://www.cplusplus.com/doc/tutorial/control/

 

Practical

Introductory Assignment (IntroAsg.pdf)

Worksheet 1 and 2 

—————————————————————————————————–

Day 2

Functions

http://thenewboston.org/watch.php?cat=16&number=9

Functions with Parameters

http://thenewboston.org/watch.php?cat=16&number=10

Functions with several parameters

http://thenewboston.org/watch.php?cat=16&number=11

Day 2 Tutorial with Code

http://www.geeksforgeeks.org/print-all-prime-factors-of-a-given-number/

 

Worksheet 3 and 4

————————————————————————————————–

Day 3 

Arrays

http://thenewboston.org/watch.php?cat=16&number=32

Loops and Arrays

http://thenewboston.org/watch.php?cat=16&number=33

Calculations with Arrays

http://thenewboston.org/watch.php?cat=16&number=34

Functions and Arrays

http://thenewboston.org/watch.php?cat=16&number=35

Multi-dimentional Arrays

http://thenewboston.org/watch.php?cat=16&number=35

Code for Arrays

http://www.cplusplus.com/doc/tutorial/arrays/

Code for Character Seq

http://www.cplusplus.com/doc/tutorial/ntcs/

 

Worksheet 5 and 6

————————————————-

Day 4

Files and strings

(TBA – check videos on Youtube)

Worksheet 7 and 8 

Post Workshop 

Project (Vending Machine)