Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

rookie_developer

My first program

This topic is 5660 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This is my first program i wrote this the first day i started coding. I wrote it in C++. Please give me some helpful advice. My url is www.angelfire.com/games5/risingsuninc Enjoy if I need help, alot of help; goto forum

Share this post


Link to post
Share on other sites
Advertisement
Cant download!!!

BattleGuard

My hobbies:
Martial Arts, Computer/laptop, Listening to Linkin Park, Computer/laptop, programming, game-dev (that''s why the heck I''m on this site in the first place!!! And did I mention my computer/laptop???

Share this post


Link to post
Share on other sites
It is a simple hello world program i know its not much but in one day i learned to program a hello world program (from scratch) and put it on my website. Thats alot to me.

if I need help, alot of help;
goto forum

Share this post


Link to post
Share on other sites
heres the code

#include <windows.h>
#include <iostream.h>
#include <stdio.h>
#include <stdlib.h>

int main()
{
cout << "Hello,I am rookie developers first program!" << endl;

cout << "Press ENTER to exit this masterpiece!" << endl;

cout << "For other fun programs like this one visit angelfire.com/games5/risingsuninc" << endl;

cout << "Just some harmless advertising LoL" << endl;
getchar ();
return 0;
}

if I need help, alot of help;
goto forum

Share this post


Link to post
Share on other sites
If it''s a console-based program (which it appears to be), remove the windows.h include. You don''t need that for console based programs.

Grant Palin

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!