top of page
altaybrusan
Aug 5, 20221 min read
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...
4 views0 comments
altaybrusan
Aug 5, 20221 min read
Special Functions Signature
There are seven special functions automatically generated by compiler. The following list summarize these functions. class X { public:...
5 views0 comments
altaybrusan
Aug 5, 202214 min read
smart pointers
The code we just described is fully functional, but, it can be strengthened, specifically with the function, AlbumDao::albums(). In this...
1 view0 comments
altaybrusan
Aug 5, 20225 min read
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...
1 view0 comments
altaybrusan
Aug 5, 202212 min read
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...
2 views0 comments
altaybrusan
Aug 5, 20221 min read
'stringstream' Quick Review
The following is way to convert bool to string #include <sstream> bool b = 10; std::stringstream stringStream; stringStream <<...
0 views0 comments
altaybrusan
Aug 1, 20223 min read
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...
0 views0 comments
altaybrusan
Jul 30, 20226 min read
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...
7 views0 comments
bottom of page