DEV Community

Discussion on: Is C++ an object-oriented programming language?

Collapse
 
pauljlucas profile image
Paul J. Lucas

#include <bits/stdc++.h>

This is a non-standard header. It's also not needed in your example.

using namespace std;

You generally shouldn't do this; and never in a header; and it's not needed for your example either.

a semi-colon operator ends the class

The semicolon is not an operator. It's simply punctuation.

Collapse
 
ericaeducative profile image
ericaeducative

Thank you, Paul! The piece has been updated 👍