Category: Programming

Jul 07

Lesson 1: Short Notes on C++

This short note is for those who already know C++ and want to refresh their memory. Starters can still take a look to get an overall idea. Three pillars of object-oriented development: encapsulation, inheritance, and polymorphism. C++ supports encapsulation through (user-defined) classes. Class properties and internal workings can be hidden from outside world. C++ supports …

Continue reading

Jul 07

Advanced Concepts in C++

Resources for some advanced Concepts in C++ are provided below Standard Adaptors: remove_if: http://www.sgi.com/tech/stl/remove_if.html bind1st(), bind2nd(): http://msdn.microsoft.com/en-us/library/sh813d0y(VS.80).aspx C++ standard algorithms: http://www.cplusplus.com/reference/algorithm/ http://www.cplusplus.com/reference/: Complete C++ Library Reference C++ Exception Handling: http://www.eastcoastgames.com/articles/cppexception.html Some object oriented concepts that you must know C++ Object Oriented Concepts Copy Constructor Copy Assignment in C++ Difference C/C++: Check the links: http://discuss.codechef.com/showthread.php?t=372 http://answers.yahoo.com/question/index?qid=20090613225943AAz8aFw …

Continue reading

Jul 07

C++ Syntax: in brief

This will make sense only if you want to refresh your memory on C++ syntax. cout << “Enter two integers:” << endl; // output to screen cin >> n >> m; // Note: Using endl prints out a newline and flushes the output buffer. cout << “number of digits in char: ” << numeric_limits::digits << …

Continue reading

Jul 07

C++ Constructor Subclass Base Class

It’s better that you clearly understand these Constructors (C++ only) Initializing base classes and members (C++ only) Construction order of derived class objects (C++ only) XL C/C++ Reference manual

Jul 07

C++ Concepts and Syntax

Not really for the beginners. If you had experience working with C++ in the past, then taking a look at this short-note will help to recover your knowledge in C++. Multiple inheritance means that one subclass can have more than one superclass. This enables the subclass to inherit properties of more than one superclass and …

Continue reading

Oct 29

Lecture 27 | Programming Abstractions (Stanford)

Oct 29

Lecture 26 | Programming Abstractions (Stanford)

Oct 29

Lecture 25 | Programming Abstractions (Stanford)

Oct 29

Lecture 24 | Programming Abstractions (Stanford)

Oct 28

Lecture 23 | Programming Abstractions (Stanford)

Oct 28

Lecture 22 | Programming Abstractions (Stanford)

Oct 28

Lecture 21 | Programming Abstractions (Stanford)

Oct 28

Lecture 20 | Programming Abstractions (Stanford)

Oct 27

Lecture 19 | Programming Abstractions (Stanford)

Oct 27

Lecture 18 | Programming Abstractions (Stanford)

Oct 27

Lecture 12 | Programming Abstractions (Stanford)

 

Oct 27

Lecture 17 | Programming Abstractions (Stanford)

Oct 26

Lecture 16 | Programming Abstractions (Stanford)

Oct 26

Lecture 15 | Programming Abstractions (Stanford)

Oct 26

Lecture 14 | Programming Abstractions (Stanford)

Oct 26

Lecture 13 | Programming Abstractions (Stanford)

Oct 25

Lecture 11 | Programming Abstractions (Stanford)

Oct 25

Lecture 10 | Programming Abstractions (Stanford)

Oct 25

Lecture 9 | Programming Abstractions (Stanford)

Oct 25

Lecture 8 | Programming Abstractions (Stanford)

Oct 24

Lecture 7 | Programming Abstractions (Stanford)

Oct 24

Lecture 6 | Programming Abstractions (Stanford)

Oct 24

Lecture 5 | Programming Abstractions (Stanford)

Oct 24

Lecture 4 | Programming Abstractions (Stanford)

Oct 23

Lecture 3 | Programming Abstractions (Stanford)

 

Skip to toolbar