C++98
Here’s a direct and professional list of the key concepts and features introduced and standardized in C++98. C++98 was the first international standard of C++, finalized in 1998 (ISO/IEC 14882:1998), and based on The Annotated C++ Reference Manual (ARM) and earlier versions of C++ (from the 1980s and early '90s).
🔹 Core Language Features in C++98
-
Classes & Objects
-
Encapsulation
-
Member functions
-
Constructors / Destructors
-
Access specifiers (
public,private,protected) -
thispointer
-
-
Function Overloading
-
Compile-time polymorphism
-
-
Operator Overloading
-
Custom behavior for operators (e.g.,
+,==,<<, etc.)
-
-
Inheritance
-
Single and multiple inheritance
-
Access control (
public,private,protected) -
Virtual base classes
-
-
Polymorphism
-
Virtual functions
-
Runtime polymorphism via pointers and references
-
-
Abstract Classes & Interfaces
-
Pure virtual functions
-
-
Templates (Generic Programming)
-
Function templates
-
Class templates
-
Template specialization (partial and full)
-
Template instantiation
-
-
Namespaces
-
Scope control
-
Avoid name clashes
-
-
Exception Handling
-
try,catch,throw -
Exception propagation
-
-
Type Safety
-
const,static_cast,reinterpret_cast,dynamic_cast,const_cast
-
-
References
-
Pass-by-reference
-
Reference variables
-
-
Memory Management
-
new,delete -
Manual memory control (no garbage collection)
-
-
Function Pointers
-
Default Arguments
-
Functions with default parameter values
-
-
Inline Functions
-
Friend Functions and Classes
-
Break encapsulation for specific needs
-
-
Preprocessor Directives
-
#define,#include,#if, etc.
-
-
Storage Classes
-
auto,register,static,extern,mutable
-
-
Bitfields
-
Enumerations
-
Unions
🔹 Standard Template Library (STL)
C++98 formally introduced the STL into the standard:
-
Containers
-
vector,list,deque -
set,multiset,map,multimap -
stack,queue,priority_queue(adapter classes)
-
-
Algorithms
-
sort,find,copy,for_each,accumulate, etc.
-
-
Iterators
-
Input, output, forward, bidirectional, random access
-
iterator_traits,advance,distance
-
-
Function Objects (Functors)
-
Allocators
-
Memory allocation interface for STL containers
-
-
Utility Components
-
pair,make_pair,swap,std::less, etc.
-
🔹 Other Concepts / Features
-
I/O Streams
-
cin,cout,cerr,clog -
ifstream,ofstream,fstream
-
-
C Compatibility
-
Support for most C features
-
Header files like
<cstdio>,<cstdlib>, etc.
-
-
String Class
-
std::string,std::wstring
-
-
Header File Structure
-
New header naming without
.h(e.g.,<iostream>instead of<iostream.h>)
-
-
Boolean Type
-
Introduction of
bool,true,false
-
-
Scoped
enum(basic support; strong enums came in C++11) -
Run-time Type Identification (RTTI)
-
typeid,dynamic_cast
-
✅ Summary
C++98 provided the foundation for modern C++, combining object-oriented programming, generic programming (via templates), and low-level system control. It was a major step in evolving C from a procedural language to a powerful multi-paradigm language.
If you're serious about mastering C++ from a security/hacking standpoint, especially low-level stuff like memory management, pointer arithmetic, and object layout in memory (like vtables), then C++98 and C are non-negotiable fundamentals.
Would you like a structured roadmap or mind map for learning C++ from a cyber security/hacking perspective next?
Comments
Post a Comment