Everybody, post your very first C++ code up here if you still have it, heres mines with help from the book I am reading and Narue for the help of keeping the window open, thanks pal.

//
// Program to convert temperature from Celsius degree
// units into Fahrenheit degree units:
// Fahrenheit = Celsius  * (212 - 32)/100 + 12
//

#include <iostream>
 
using namespace std;
 
int main()
{
  // enter the temperature in Celsius
  int celsius;
  cout << "Enter the temperature in Celsius: ";
  cin >> celsius;
 
  // calculate conversion factor for Celsius to Fahrenheit
  int factor;
  factor = 212 - 32;
 
  // use conversion factor to convert Celsius into Fahrenheit values
  int fahrenheit;
  fahrenheit = factor * celsius/100 + 32;
 
  // output the results
  cout << "Fahrenheit value is: " << fahrenheit << endl;
 
  // remove extraneous characters from the input stream
  char ch;
  while ( cin.get ( ch ) && ch != '\n' )
	;
 
  // pause until the user hits Enter
  cout << "Press Enter to continue...";
  cin.get();
}
#include<iostream>
using namespace std;

int main()
{
    cout<<"Hellp World"<<endl;
    return 0;
}

Great, thanks for putting it in PHP Coding form.

#include<iostream>
using namespace std;

int main()
{
    cout<<"Hellp World"<<endl;
    return 0;
}

Freudian slip, do you want the world to hellp you, or do you think the world needs hellp? Anyway, cute!

Opps

#Include <iostream.h>
int main ()
{
cout << "Hello world!";
cin.get ();
return 0;
}

Hello world is a popular first script 'eh

Yep partner, "Hello World!" has been around. I remember writing it on a DEC PDP-11 the size of a refrigerator. Then it was C, simple and fast.

main()
{
  printf("Hello World!");
}

well, at least its something written ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.