Created
February 7, 2013 19:08
-
-
Save speedsticko/4733308 to your computer and use it in GitHub Desktop.
How are objects constructed? objects, pointers, stack, heap?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "MyObject.h" | |
#include <iostream> | |
using namespace std; | |
int main(int argc, char *argv[]) { | |
auto o1 = new MyObject(); | |
MyObject o2; | |
char line[80]; | |
cin>>line; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment