Site menu

CodeCook.io

  • Languages
    • C
    • C++
    • CSS
    • Git
    • HTML
    • Java
    • JavaScript
    • jQuery
    • PHP
    • Python
    • Ruby
    • Scala
  • basic
  • class
  • object

C++ - Class definition

General class definition

0
750
  • Share on Facebook
  • Share on Google+
  • Share on Twitter

Split header and cpp file

.cpp
class {{name}}{
  {{body}}
};
cpp
.h
class {{name}};
cpp

Notes

last update: Oct. 28, 2014

Advertisement

This project is hosted on DigitalOcean, try it and support us

Related concept

  • Hello world
  • Object instantiation

Other language

  • Java
  • Python
  • PHP
  • Javascript ES6

Random task

  • Box-shadow
  • Test whether checkbox element is checked
  • String length
  • Tunnel port over SSH to remote port
  • Escape variable tag
  • Blog
  • About
  • License