Skip to content

Instantly share code, notes, and snippets.

@pmelanson
Created December 14, 2012 00:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmelanson/4281399 to your computer and use it in GitHub Desktop.
Save pmelanson/4281399 to your computer and use it in GitHub Desktop.
dis be consurctor
class_c::class_c (int foo, char bar) : a (foo), b (bar) {
cout << a << "==" << foo << endl;
cout << b << "==" << bar << endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment