top of page

Enum vs Strongly typed enum
Old-style enums do not have their own scope. Any name used in an enum could not be used in the other enums which are defined in the same...
altaybrusan
Aug 5, 20221 min read
4 views
0 comments

Special Functions Signature
There are seven special functions automatically generated by compiler. The following list summarize these functions. class X { public:...
altaybrusan
Aug 5, 20221 min read
5 views
0 comments
smart pointers
The code we just described is fully functional, but, it can be strengthened, specifically with the function, AlbumDao::albums(). In this...
altaybrusan
Aug 5, 202214 min read
1 view
0 comments

C++ Questions! (Part 2)
In C, the names of the Standard Library header files usually end in .h, such as <stdio.h>, and namespaces are not used. In C++, the .h...
altaybrusan
Aug 5, 20225 min read
1 view
0 comments

C++ Questions! (Part 1)
In this series, a set of tips and tricks with regard to C++ are reviewed. These point are good for job interviews and in real world you...
altaybrusan
Aug 5, 202212 min read
2 views
0 comments

'stringstream' Quick Review
The following is way to convert bool to string #include <sstream> bool b = 10; std::stringstream stringStream; stringStream <<...
altaybrusan
Aug 5, 20221 min read
0 views
0 comments

Casts in C++
Static Cast static_cast is used for code clearance. The functionality of it is almost same as the the implicit conversion. Example...
altaybrusan
Aug 1, 20223 min read
1 view
0 comments

Construction Order
A constructor performs its work in the following order: It calls base class and member constructors in the order of declaration. If the...
altaybrusan
Jul 30, 20226 min read
7 views
0 comments
bottom of page