|C & C++ Code Listing |Main |Download |Disclaimer |


 

 

.::Tenouk's C & C++ Site Index::.

 

 

 

 

 

A one stop C & C++ programming tutorial, hands-on approach. Find your desired topics and start coding, learn at your own pace, faster and easier, from general, Standard C & C++ to the implementation specific of Windows and Linux Fedora Core. Most of the source codes (in text) and tutorials (inpdf) are listed inDownload page. Pleasereport any broken link and corrupted files. However, the updated versions are the HTML formats lol! The source code recompilation using newer compiler is dumped atC and C++ code snippets page. Enjoy the ride!

 

 

-------------------------

 

 

 

 

 

C & C++ Programming - Procedural

C & Windows OSes: Security

 

C / C++ Introduction

Story: Part 1, Part 1a, Part 1b

 

C / C++ Basic Data Types

Story: Part 2, Part 2a, Part 2b, Part 2c

 

C / C++ Basic Data Types part 2

Prog. Examples: Part 3, Part 3a

 

C / C++ Basic Data Types part 3

Prog. Examples: Part 4, Part 4a

 

C / C++ Statements, Expressions & Operators: part 2

Prog. Examples: Part 5, Part 5a

Supplementary note #1:Functions

 

C / C++ Statements, Expressions & Operators: part 3

Supplementary note #2:Structure, enum, macro etc.

 

 

C / C++ Statements, Expressions & Operators: part 4

 

C / C++ Functions

 

C / C++ Function part 2

C & Windows OSes: User & Group

 

C / C++ Function part 3

Story and Program Examples: Part 1, Part 1a

 

C / C++ Function part 4

Story and Program Examples: Part 2, Part 2a

 

C Formatted I/O

Supplementary note:Functions and structures

 

C Formatted I/O part 2

 
 

C / C++ Program Controls

C & Windows OSes: Registry

 

C / C++ Program Control part 2

Story and Program Examples: Part 1, Part 1a

 

C / C++ Arrays

More Program Examples: Part 2, Part 2a

 

C / C++ Array part 2

Supplementary note:Functions and Structures

 

C / C++ Pointers

 
 

C / C++ Pointer part 2

C & Windows OSes: Share

 

C / C++ Pointer part 3

Story and Program Examples: Part 1,Part 1b

 

C File I/O

Supplementary note:Functions and Structures

 

C File I/O part 2

 
 

C File I/O part 3

C & Windows OSes: Process, Thread & Synchronization

 

C / C++ Preprocessor Directives

 

C / C++ Type Specifiers: struct, typedef, union & enum

Story & Example: C Run-Time - part 1, part 2, part 3

Examples: C Run-Time,part 1

 

Extras

Examples: C Run-Time,part 2,part 3

 

Assembler, Compiler & Linker

Story & Example: Win32,part 1,part 2,part 3

 

C Character and String Manipulation

Story & Example: Win32,part 4,part 5

 

main() and Command Line Arguments

Examples: Win32,part 1,part 2

 

C Storage and Memory Allocation

Examples: Win32,part 3,part 4

 

Implementation Specific - Win32

Examples: Win32,part 5

 

Microsoft C: Part 1

Synchronization:Story 1,Story 2,Story 3

 

Microsoft C: Part 1a

Synchronization: Examplespart 1

 

Microsoft C: Part 2

Synchronization: Examplespart 2

 

Microsoft C: Part 2a

Supplementary notes:Main page

 

Win32 C Programming: Part 1

 Functions 1

 

Win32 C Programming: Part 1a

 Functions 2

 

Supplementary note:Windows Storage & File System

 Functions 3

 Functions 4

 

Win32 C Programming: Part 2

 Functions 5

 

Win32 C Programming: Part 2a

 Structures

 

Win32 C Programming: Part 3

 
 

Win32 C Programming: Part 3a

C & Windows OSes: Dynamic-Link Library, DLL

 

Win32 C Programming: Part 4

 

Win32 C Programming: Part 4a

Story

 

Character Sets, Unicode & Locale

Examples:part 1,part 2,part 3

 

Character Sets, Unicode & Locale Part 2

Supplementary notes:Functions

   
 

C & Windows OSes: Windows Services

Story:part 1,part 2

Examples part 1

Examples part 2

Examples part 3, Examples part 4

 

Supplementary notes:Main page

 Functions 1

 Functions 2

 Functions 3

 Functions 4

 

 

 Structures

 

Others

C / C++ Standards

C / C++ Notation

Windows's virtual address space

 

C & Winsock: Windows Sockets

Story:

 part 1,part 2 andpart 3

Examples:

 part 1,part 2,part 3,part 4

 part 5,part 6,part 7,part 8

 part 9,part 10,part 11,part 12

Supplementary notes:

 part 1,part 2,part 3,part 4

 

 

C++ Programming - Object Oriented Idea

C/C++ vs Buffer Overflow

 

Encapsulation:  Part 1 - Objects & Classes

Introduction

Encapsulation:  Part 1a - Objects & Classes

Basic of x86 Architecture

Encapsulation:  Part 2

Assembly Language

Encapsulation:  Part 2a

Compiler, Assembler & Linker

Encapsulation:  Part 2b

Function Operation

Encapsulation:  Part 2c

Stack

Inheritance: Part 1

Stack Operation

Inheritance: Part 2

Stack-based Buffer Overflow

Inheritance: Part 2a

Shellcode: The Payload

Inheritance: Part 3 - Multi inheritance

Vulnerability & Exploit Examples

Inheritance: Part 3a - Multi inheritance

 

Polymorphism

 

C++ Formatted I/O

C++ File I/O

Storage Classes: const, volatile, static, auto, register

C / C++ Exception Handling

 

C++ Typecasting

 

C++ Namespaces

 
  

C/C++ Library/SDKs/Tools/Toolkits etc.

C/C++ Programming Competitions

C & C++ Libraries, Toolkits, APIs, Components etc.

Go to the page.

C++ & Standard Template Library (STL) - Generic Programming

C++ & MFC, The Windows GUI

Template

Module 1 - Introduction:Part 1,Part 2.

Container:  Part 1 - vector, deque

Module 2 - Visual C++, Windows & MFC:Part 1,Part 2.

Container:  Part 1a - vector, deque

Container:  Part 2 - list, set, multiset

Module 3 - Basic Event Handling, Mapping Modes, and a Scrolling View:Part 1,Part 2,Part 3.

Container:  Part 3 - map, multimap, hash_map, hash_multimap, hash_set, hash_multiset

Container:  Part 3a - map, multimap, hash_map, hash_multimap, hash_set, hash_multiset

Container:  Part 3b - map, multimap, hash_map, hash_multimap, hash_set, hash_multiset

Module 4 - Graphics Device Interface, Colors, and Fonts:Part 1,Part 2,Part 3.

Container Adaptors - Stack, Queue & Priority Queue

Iterator: Part 1

Module 5 - The Modal Dialog and Windows Common Controls:Part 1,Part 2,Part 3,Part 4,Part 5.

Iterator: Part 1a

Iterator: Part 2 - Iterator Adaptors

Algorithm: Part 1 - Introduction

Module 6 - The Modeless Dialog and Windows Common Dialogs:Part 1,Part 2.

Algorithm: Part 2 - member Functions

Algorithm: Part 2a - member Functions

Algorithm: Part 3 - member Functions, cont.

Module 7 - Menus, Keyboard Accelerators, the Rich Edit Control:Part 1,Part 2.

Algorithm: Part 3a - member Functions, cont.

Algorithm: Part 4 - member Functions. cont.

Module 7a - Property Sheets:Part 1,Part 2.

Algorithm: Part 4a - member Functions. cont.

Module 8 - Toolbars and Status Bars:Part 1,Part 2,Part 3.

Algorithm: Part 5 - member Functions, cont.

C++ Character & String Manipulation:  Part 1

Module 9 - A Reusable Frame Window Base Class:Part 1,Part 2.

C++ Character & String Manipulation:  Part 1a

C++ Character & String Manipulation:  Part 1b

C++ Character & String Manipulation:  Part 2

Module 10 - Separating the Document from Its View:Part 1,Part 2,Part 3,Part 4,Part 5.

C++ Character & String Manipulation:  Part 2a

Function Objects

Module 11 - Reading and Writing Documents—SDI Applications:Part 1,Part 2,Part 3,Part 4,Part 5.

 

Visual C++ 2005 WinForm example

Module 12 - Reading and Writing Documents—MDI Applications:Part 1,Part 2,Part 3,Part 4.

Module 13 - Printing and Print Preview:Part 1,Part 2.

Module 14 - Splitter Windows and Multiple Views:Part 1,Part 2,Part 3,Part 4.

Module 15 - Context-Sensitive Help:Part 1,Part 2,Part 3.

Module 16 - Dynamic Link Libraries:Part 1,Part 2,Part 3,Part 4.

Module 17 - MFC Programs Without Document or View Classes:Part 1.

Module 18 - Using ActiveX Controls:Part 1,Part 2.

Module 19 - Internet Explorer 4 Common Controls:Part 1,Part 2.

Module 20 - Win32 Memory Management:Part 1.

Module 21 - Bitmaps:Part 1,Part 2,Part 3,Part 4,Part 5.

Module 22 - Windows Message Processing and Multithreaded Programming:Part 1,Part 2.

Module 23 - The Component Object Model, COM (info for COM+ and DCOM also included):Part 1,Part 2,Part 3,Part 4 andPart 5.

Module 24 - Automation:

Part 1,Part 2,Part 3,Part 4,Part 5,Part 6,Part 7,Part 8,Part 9,Part 10,Part 11,Part 12 andPart 13.

 

Module 25 - Uniform Data Transfer, Clipboard Transfer and OLE Drag and Drop:

Part 1,Part 2,Part 3,Part 4 andPart 5.

Supplementary - IIS, Setting-up FTP Server:Single Part.

Module 26 - Structured Storage:Part 1,Part 2,Part 3 andPart 4.

Supplementary - Internet Information Services (IIS), Setting-up Web Server:Part 1,Part 2.

Module 27 - OLE Embedded Components and Containers:

Part 1,Part 2,Part 3,Part 4,Part 5,Part 6,Part 7,Part 8, andPart 9.

Module 35 - DHTML and Visual C++:Single Part.

Module 28 - The Active Template Library (ATL) – Introduction:

Part 1,Part 2,Part 3,Part 4,Part 5.

Module 34 - ActiveX Document Servers and Internet:Part 1,Part 2,Part 3,Part 4  andPart 5.

Module 29 - ATL - ActiveX Controls:Part 1,Part 2,Part 3,Part 4,Part 5,Part 6 andPart 7.

Module 33 - IIS Programming with ISAPI Extension/Filter:Part 1,Part 2,Part 3,Part 4 andPart 5.

Module 30 - Another ATL Tutorial Using Visual C++ .NET:Part 1 andPart 2.

Module 32 - Winsock/WinInet, TCP/IP, MFC and C++:Part 1,Part 2,Part 3,Part 4,Part 5,Part 6,Part 7 andPart 8.

Module 31 - ATL - Attributes Tutorial Using Visual C++ .Net:Part 1 andPart 2.

  

GO TO THE COMPLETED MFC PROJECT DOWNLOAD PAGE

 

C LAB WORKSHEETS

 

VISUAL C++ .NET PROGRAMMING TUTORIAL - CONSOLE & WINFORM

GNU C Socket:  Network Programming

GNU C Socket:  Part 1

GNU C Socket:  Part 1a

GNU C Socket:  Part 1b

GNU C Socket:  Part 1c

GNU C Socket:  Part 1d

GNU C Socket:  Part 2 - Story & Examples

GNU C Socket:  Part 2a - Story & Examples

GNU C Socket:  Part 2b - Story & Examples

GNU C Socket:  Part 2c - Story & Examples

GNU C Socket:  Part 3 - Story & Examples

GNU C Socket:  Part 3a - Story & Examples

GNU C Socket:  Part 3b - Story & Examples

GNU C Socket:  Part 3c - Story & Examples

GNU C Socket:  Part 4 - Examples

GNU C Socket:  Part 4a - Examples

GNU C Socket:  Part 5 - Examples

GNU C Socket:  Part 5a - Examples

GNU C Socket:  Part 5b - Examples

Kick start:  Using C / C++ Compiler

Other Related C & C++ Resources

Borland C++ 4.x / 5.x

 

  1. C Programming books at Amazon

  2. Search, Preview and Full View C/C++ Books at Google Books!

  3. Linux Programming resources

  4. Interactive Shell Programming tutorial

  5. How to develop Linux Kernel

  6. Another Linux Kernel Development Tutorial

  7. Solaris Device Driver Development Tutorial

  8. Robert Love Linux Kernel Development 3rd Edition - pdf

 

Borland C++ Builder 6.x

Borland BuilderX

Microsoft Visual C++ 5.x / 6.x

Microsoft Visual C++ 7.0 / .Net

Microsoft Visual C++ 8.0 / .Net - Express Edition -Install &Use.

GCC, G++ & GDB: Part 1 - Commands & Options

Borland Developer Studio 2006

Building and running FreeOTFE Windows GUI using Borland Delphi

Installing Windows Driver Development Kit (DDK), WinDbg and Symbols package

Other Linux / Fedora Useful Utilities: Part 2 - Commands & Options

More C/C++ compiler/IDE resources

Others

 

C / C++ Books

Download

Disclaimer

Privacy

 

 

 

|C & C++ Code Listing |Main |Download |Disclaimer |


Translate, email to friends and share:

2003-2019 © Tenouk. All rights reserved.

 MochaHost - Professional Hosting !