Jump to content

Anyone else a C++ Programmer?


iostream

Recommended Posts

My bachelors degree says I can , but Im a bit rusty lately :P

I like to fart silently but deadly in movie theaters
Ard Choille says (11:41 PM):

I wouldn't dare tell you what to do m'dear

Link to comment
Share on other sites

I can't even figure out Pascal :wall: I feel like an idiot lol
Trust me, it depends on how your mind works... My parents have been studying the brain for the last year or so, and if your way of thinking isn't a right way, then you might as well stay away from coding, and try something else... You will be good at something, it's just figuring about what :D
Link to comment
Share on other sites

It also depends on how you're taught too. For instance, my friend had trouble learning PHP until I explained things in a different way than the tutorials she was looking at.

Link to comment
Share on other sites

Rofl, I've tried it..

 

 

 

My first program:

 

#include 



using namespace std;



int main()

{

 int thisisanumber; 



 cout<<"Please Enter a number: ";

 cin>> thisisanumber;

 cin.ignore();

 if (thisisanumber == 3) {

      cout<<"You picked the best number ever!!\n";

 }     

 else if (thisisanumber>0) {

    thisisanumber = thisisanumber* 2;

    cout<<"You entered: "<< thisisanumber <<"\n";

    thisisanumber = thisisanumber/2;

    cout<<"..Just kidding, you entered: "<< thisisanumber <<"\n";

 }



 else if(thisisanumber<0) {

      cout<<"Don't be so Negative!=P\n";

 }     



 else {

      cout<<"You have to be joking, who enters 0 as a number";

 }

 cin.get();

}

 

By the way, I'm 13.

 

 

 

I know pascal, and Delphi though!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.