2 Replies - 1884 Views - Last Post: 04 October 2016 - 12:13 AM Rate Topic: -----

#1 nickod777  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 5
  • Joined: 14-February 11

My first ever C++ code in 2011.

Posted 01 August 2016 - 01:44 AM

#include <cstdlib>
#include <iostream>
#include <math.h>
#include <iomanip>
#include <time.h>

using namespace std;

int main()
{   cout <<" My name is insert name.";
    cout << endl;
    cout <<" My future job will hopefully be in computer programming.";
    cout << endl;
    cout <<" Computers are my life.";
    cout << endl;
    cout <<" I am awesome.";
    cout << endl;
    cout <<"I am more awesome than you.";
    cout << endl;
    system("PAUSE");
    return 0;
}





I just saw all those include things in a book, and thought I needed them all. My name is not insert name, just thought I'd censor my name.

Is This A Good Question/Topic? 0
  • +

Replies To: My first ever C++ code in 2011.

#2 no2pencil  Icon User is online

  • Professor Snuggly Pants
  • member icon

Reputation: 6549
  • View blog
  • Posts: 30,680
  • Joined: 10-May 07

Re: My first ever C++ code in 2011.

Posted 01 August 2016 - 09:32 AM

Even though you've mixed C & C++ header includes, what I don't see here is conio.h. So even in 2011, congratulations!
Was This Post Helpful? 1
  • +
  • -

#3 Flayzian  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 26-September 16

Re: My first ever C++ code in 2011.

Posted 04 October 2016 - 12:13 AM

We all got to start somewhere right, to be honest the code isn't that bad haha
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1