Media Summary: SAMPLE CODES: 1) DynamicStringStack: This example is about stacks and postfix to infix conversion. The program has two ... SAMPLE CODES: 1) TwoDimensionalMatrix: This is an example for dynamic matrix creation using the pointer to pointer concept ... EXAMPLES: Computers usually use 2's complement to represent and store numbers. Issues related to casting, assigning, ...

Cs204 Advanced Programming Week 5 - Detailed Analysis & Overview

SAMPLE CODES: 1) DynamicStringStack: This example is about stacks and postfix to infix conversion. The program has two ... SAMPLE CODES: 1) TwoDimensionalMatrix: This is an example for dynamic matrix creation using the pointer to pointer concept ... EXAMPLES: Computers usually use 2's complement to represent and store numbers. Issues related to casting, assigning, ... This video file was recorded in sabuni University during recitations for the EXAMPLE: 2) ExceptionHandling: This example shows the usage of try-catch blocks to handle exceptions. We have a simple ... EXAMPLES: 1) Bit Operations: In this example, we perform bit operations over 2 unsigned integer variables. Functions that we use ...

SAMPLE CODES: 1) globalDemo: (For this example, please have a look at lecture notes in 2.1-pointers-linkedlists.ppt especially ... SAMPLE CODES: 3) linkedList: In this example, firstly a basic linked list is created and filled with numbers from 0 to 9. SAMPLE CODES: 1) staticLocalVariable: This is a static local variable example. In the staticLocalVariable.cpp file, there is a static ... EXAMPLES: 1) Inheritance: This example is a simulation of a math quiz that contains a bunch of questions. There are three types ... EXAMPLES: 4) ProducerConsumer: This is an example for the consumer-producer problem. There is a global integer queue, ... EXAMPLES: 2) IncrementDecrement: The program creates 4 threads (which are stored in an array) which first sleep for 100 ms ...

Photo Gallery

CS204 - Advanced Programming - Week 5 [2/2] - STACKS and QUEUES IN C++
CS204 - Advanced Programming - Week 5 [1/2] - DYNAMIC MATRICES and DOUBLY LINKED LISTS IN C++
CS204 - Advanced Programming - Week 10 [3/3] - NUMBER MANIPULATIONS (casting, assigning, ...) IN C++
CS204 - Advanced Programming - Week 7 [1/2] - MIDTERM 1 PREPARATIONS
CS204 - Advanced Programming Week 14 [2/2] - EXCEPTIONS IN C++
CS204 - Advanced Programming - Week 11 [1/3] - BITWISE OPERATORS IN C++
CS204 - Advanced Programming Week 14 [2/2] - EXCEPTIONS IN C++
CS204 - Advanced Programming - Week 4 [2/3] - EXTERNAL and GLOBAL STATIC VARIABLES IN C++
CS204 - Advanced Programming - Week 3 [2/2] - SIMPLY LINKED LISTS, RECURSIONS IN C++
CS204-Advanced Programming-Week 4 [1/3]-STATIC VARIABLES, POINTERS AS FUNCTION PARAMETERS IN C++
CS204 - Advanced Programming Week 14 [1/2] - INHERITANCE (virtual functions) and POLYMORPHISM IN C++
CS204 - Advanced Programming Week 12 [3/3] - "THE PRODUCER - CONSUMER" PROBLEM USING MUTEXES IN C++
View Detailed Profile
CS204 - Advanced Programming - Week 5 [2/2] - STACKS and QUEUES IN C++

CS204 - Advanced Programming - Week 5 [2/2] - STACKS and QUEUES IN C++

SAMPLE CODES: 1) DynamicStringStack: This example is about stacks and postfix to infix conversion. The program has two ...

CS204 - Advanced Programming - Week 5 [1/2] - DYNAMIC MATRICES and DOUBLY LINKED LISTS IN C++

CS204 - Advanced Programming - Week 5 [1/2] - DYNAMIC MATRICES and DOUBLY LINKED LISTS IN C++

SAMPLE CODES: 1) TwoDimensionalMatrix: This is an example for dynamic matrix creation using the pointer to pointer concept ...

CS204 - Advanced Programming - Week 10 [3/3] - NUMBER MANIPULATIONS (casting, assigning, ...) IN C++

CS204 - Advanced Programming - Week 10 [3/3] - NUMBER MANIPULATIONS (casting, assigning, ...) IN C++

EXAMPLES: Computers usually use 2's complement to represent and store numbers. Issues related to casting, assigning, ...

CS204 - Advanced Programming - Week 7 [1/2] - MIDTERM 1 PREPARATIONS

CS204 - Advanced Programming - Week 7 [1/2] - MIDTERM 1 PREPARATIONS

This video file was recorded in sabuni University during recitations for the

CS204 - Advanced Programming Week 14 [2/2] - EXCEPTIONS IN C++

CS204 - Advanced Programming Week 14 [2/2] - EXCEPTIONS IN C++

EXAMPLE: 2) ExceptionHandling: This example shows the usage of try-catch blocks to handle exceptions. We have a simple ...

CS204 - Advanced Programming - Week 11 [1/3] - BITWISE OPERATORS IN C++

CS204 - Advanced Programming - Week 11 [1/3] - BITWISE OPERATORS IN C++

EXAMPLES: 1) Bit Operations: In this example, we perform bit operations over 2 unsigned integer variables. Functions that we use ...

CS204 - Advanced Programming Week 14 [2/2] - EXCEPTIONS IN C++

CS204 - Advanced Programming Week 14 [2/2] - EXCEPTIONS IN C++

EXAMPLE: 2) ExceptionHandling: This example shows the usage of try-catch blocks to handle exceptions. We have a simple ...

CS204 - Advanced Programming - Week 4 [2/3] - EXTERNAL and GLOBAL STATIC VARIABLES IN C++

CS204 - Advanced Programming - Week 4 [2/3] - EXTERNAL and GLOBAL STATIC VARIABLES IN C++

SAMPLE CODES: 1) globalDemo: (For this example, please have a look at lecture notes in 2.1-pointers-linkedlists.ppt especially ...

CS204 - Advanced Programming - Week 3 [2/2] - SIMPLY LINKED LISTS, RECURSIONS IN C++

CS204 - Advanced Programming - Week 3 [2/2] - SIMPLY LINKED LISTS, RECURSIONS IN C++

SAMPLE CODES: 3) linkedList: In this example, firstly a basic linked list is created and filled with numbers from 0 to 9.

CS204-Advanced Programming-Week 4 [1/3]-STATIC VARIABLES, POINTERS AS FUNCTION PARAMETERS IN C++

CS204-Advanced Programming-Week 4 [1/3]-STATIC VARIABLES, POINTERS AS FUNCTION PARAMETERS IN C++

SAMPLE CODES: 1) staticLocalVariable: This is a static local variable example. In the staticLocalVariable.cpp file, there is a static ...

CS204 - Advanced Programming Week 14 [1/2] - INHERITANCE (virtual functions) and POLYMORPHISM IN C++

CS204 - Advanced Programming Week 14 [1/2] - INHERITANCE (virtual functions) and POLYMORPHISM IN C++

EXAMPLES: 1) Inheritance: This example is a simulation of a math quiz that contains a bunch of questions. There are three types ...

CS204 - Advanced Programming Week 12 [3/3] - "THE PRODUCER - CONSUMER" PROBLEM USING MUTEXES IN C++

CS204 - Advanced Programming Week 12 [3/3] - "THE PRODUCER - CONSUMER" PROBLEM USING MUTEXES IN C++

EXAMPLES: 4) ProducerConsumer: This is an example for the consumer-producer problem. There is a global integer queue, ...

CS204 - Advanced Programming WEEK 13 [1/2] - THREADS and MUTEXES (Producer Consumer problem) IN C++

CS204 - Advanced Programming WEEK 13 [1/2] - THREADS and MUTEXES (Producer Consumer problem) IN C++

EXAMPLES: 2) IncrementDecrement: The program creates 4 threads (which are stored in an array) which first sleep for 100 ms ...