C and C++ Struct, Typedef, Union, Enum (The C & C++ struct, typedef, union, enum code examples)
The union aggregate type C++ program example
Displaying the union members' values and showing its weakness compared to struct type
Displaying days from enum data type, resetting the sequence order
Assigning name to the integer value using enum type code sample
Displaying the day from the enum data type program example
Displaying days in numbers representation using enumeration (enum) type
Passing structures to functions and a function returning a struct program example
Reading and writing student data using an array of struct type
How to use struct pointer operators, accessing the struct elements different ways
Accessing the struct element program example
Accessing and displaying the struct members
Enumeration using enum - displaying the integer for the respective string
The typedef and struct - simplifying the name of the struct definition
Printing student ID and name using struct aggregate type
C and C++ for main() and Command Line Arguments (The C & C++ command line arguments program samples)
The C++ Command line and switches program example
Searching a simple text pattern read from standard input and write to standard output program example
How to create console application that demonstrates the use of main() and command line argument
The main() function and command line arguments with switches/options
Searching a text pattern program skeleton done by main() and command line argument code sample
Working program example on searching a text pattern in the command line argument read from standard input
Echoing back the user input to standard output, read from the command line argument (standard input)
A very simple main() and command line arguments C program example
C and C++ Programming Resources
|
C & C++ Code Example Index
|
C++ Code Example Index