A newcomer question

well hey, i'm new here and I was just wondering..how can you post the actual input of your C++ screen whenever you post here?...
coz mine appears like this:

#include <iostream>
using namespace std;
int main()
{
float x = 1, i = 1, y = 1;
float stud, sum, sum1, pros, pro;
char er;
cout<< "Total Number of Students: ";
cin>> stud;
cout<< endl;
}

and you guys can post the actuall input screen...with the colors of blue and maroon and all and with the kinda purple backround...and just the way it looks like when you're using the actuall C++...how do you guys do that?...i cant find any button in the forum that i can use to make my post look like that
closed account (z05DSL3A)
Do you mean:

1
2
3
4
5
6
7
8
9
10
11
#include <iostream>
using namespace std;
int main()
{
    float x = 1, i = 1, y = 1;
    float stud, sum, sum1, pros, pro;
    char er;
    cout<< "Total Number of Students: ";
    cin>> stud;
    cout<< endl;
}


if so see: How to: Put code into your postings
http://www.cplusplus.com/forum/articles/1624/
Last edited on
ThanKs Grey Wolf!!
Topic archived. No new replies allowed.