Tags » Cpp

C++ Programming – Destructors

Những bài trước chúng ta đã có chút kiến thức nhất định về constructor và bây giờ chúng ta sẽ học về destructor.

Destructor… 1,126 more words

Lập Trình C/C++

An alleged plot by US Central Intelligence Agency, together with the Armed Forces of the Philippines (AFP), to kill communist leader Jose Maria Sison and overthrow President Rodrigo Duterte was revealed by the National Democratic Front of the Philippines (NDFP) on Tuesday. 479 more words

Duterte

About the Class

class is the user defined data type.

class is mostly defined in the c++ .c language has similarly structure when c++ has class,but difference between structure ‘s variable by default is public while class’s variable default private. 303 more words

Cpp

Shadow mapping with C++

I asked the old man in rags, ‘Why is lighting so important in virtual reality?’

The old man took off a sandal, and waving it into the ether he replied, ‘OpenGL graphics library casts many different lights, say, directional light, point light, spotlight. 705 more words

Technology

Dynamic memory allocating errors handling

Written on September 22, 2016, and copied from my old blog to this one

Sometimes you are not aware in advance how much memory you will need store some information, like a string entered by a user. 205 more words

Programming

How to call a function before the main function and after 'return 0' line

Written on August 23, 2016, and copied from my old blog to this one

Some applications need to call a function before the main function takes the control for loading a specific value from somewhere or after the program dies for saving settings or something like that but, how? 126 more words

Programming

Count Space & Length from given String in CPP

For better view: Click here

#include<bits/stdc++.h>
using namespace std;

int main()
{
char ch;
int len;
cout << “Enter a string: ” << endl;
//getting string input… 54 more words

C &amp; CPP Problem Solve