ccplusplus.com
Learn C, C++ Concepts
Tuesday, January 10, 2012
display message
\/*************************************************************************************** * File : display_message.cpp * Author : Saurabh Gupta * Description : program that I have used to modify and explain all the design pattern * Date : AM 09:13 04 October 2011 * Source : http://www.ccplusplus.com/2011/07/design-pattern-guide-with-example-and.html * Note : ***************************************************************************************/ #include
void display_message() { std::cout << "www.ccplusplus.com" << std::endl; } int main() { display_message(); return 0; } /* * OUTPUT * [sgupta@rhel55x86 design-pattern]$ c++ display_message.cpp -o display_message [sgupta@rhel55x86 design-pattern]$ ./display_message www.ccplusplus.com [sgupta@rhel55x86 design-pattern]$ */
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment