excercise 0-4

//

//  excercixe04.cpp

//  HelloWorld

//

//  Created by Daniel Chan on 12/13/14.

//  Copyright (c) 2014 Pookeye Inc. All rights reserved.

//

#include <iostream>

int main() {

    // excercixe04.cpp

    std::cout << “// a small C++ program” << std::endl;

    std::cout << “#include <iostream>” << std::endl;

    std::cout << “” << std::endl;

    std::cout << “int main()” << std::endl;

    std::cout << “{“ << std::endl;

    std::cout << “\t std::cout << \”Hello, World!\” << std:endl;” << std::endl;

    std::cout << “\t return 0;” << std::endl;

    std::cout << “}” << std::endl;

    

    

    return 0;

}

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s