| | Submitted on: 3/1/2002 4:44:32 AM
By: Brandon tucker
Level: Beginner User Rating:
By 4 Users Compatibility:Microsoft Visual C++
Users have accessed this article 381 times. | (About the author) |
| | Simple dos hello for newbs that just started C++ | |
|
Terms of Agreement:
By using this article, you agree to the following terms...
1) You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for langauges that allow it) freely and with no charge.
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description. | // FSU.cpp : this is test
//
#include "stdafx.h"
int main()
{
printf("Hello!,This is my first program in c++!\n");
printf("w0000000t\n");
return 0;}
| |
|
Report Bad Submission |
|
|
Your Vote! |
See Voting Log |
|
Other User Comments |
3/1/2002 2:03:33 PM:MerlinCorey learn some HTML, mate...
|
3/1/2002 7:27:01 PM:paul i would have used the
following
#include <stdio.h> /to use
as i/o
void main() /to start
the program#
{ / to open
the program
printf("hello
world\n");
}
|
3/1/2002 8:32:05 PM:$t0rm Please exuse me but...
#1 Hello,
world! is posted about 72649563785836
in each category.
#2 This is not C++.
It is C.
#3 You did not include the
stdio header file
#4 You did not make
it platform-independent.
Srry.
|
3/1/2002 8:33:25 PM:$t0rm Oh and #4 it doesn't use the "visual"
features of Visual C++.
|
3/1/2002 11:54:11 PM:RT errrr, thats not c++ buddy. c++ uses
cout for console printing. and learn to
format your code.
|
|
Add Your Feedback! |
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.
NOTICE: The author of this article has been kind enough to share it with you. If you have a criticism, please state it politely or it will be deleted.
For feedback not related to this particular article, please click here. |
|