| Code for console. | |
|
|
Author | Message |
---|
DeathSkull Administrator
Posts : 794 Join date : 2014-02-18 Age : 25 Location : USA
| Subject: Code for console. Fri Mar 07, 2014 9:28 am | |
| #include <cstdio> #include <string> #include <cstdlib> #include <iostream> using namespace std; int main(int nNumberofArgs, char* pszArgs[]) { int nAfterNumber = rand() %1001; // random number end for name
string playerName; // variable for playerName
cout << "Welcome! What do you want your name to be? Do not include spaces, or anything after the space will be deleted"; cin >> playerName; // input for the name.
cout << "\nYour name is: " << playerName << "."; //gives name cout << " You will now get an ID number."; system("PAUSE"); cout << "\nYour random ID number is, " << nAfterNumber << "."; //gives ID number cout << "\nYour full name is, " << playerName <<"_"<< nAfterNumber << "."; //shows full name system("PAUSE"); cout << "Welcome back, << PlayerName <<!"; count << "WARNING: DO NOT Host any scams or drop games!"; } return 0;
So far, this is this code for the system login and console. | |
|
| |
Guest Guest
| Subject: Re: Code for console. Fri Mar 07, 2014 1:44 pm | |
| I wouldn't publicly post codes, someone may steal them and plagiarize them. |
|
| |
Reject Learning
Posts : 31 Join date : 2014-02-27 Age : 24 Location : Louisville
| Subject: Re: Code for console. Fri Mar 07, 2014 2:05 pm | |
| May but a little revising and it will be good as new. Plus it looks pretty good. Even though I'm not really good at coding. I've still jacked up my computer plenty of times | |
|
| |
DeathSkull Administrator
Posts : 794 Join date : 2014-02-18 Age : 25 Location : USA
| Subject: Re: Code for console. Fri Mar 07, 2014 6:42 pm | |
| - Vemrrall wrote:
- I wouldn't publicly post codes, someone may steal them and plagiarize them.
Don't worry, if they do its copyright. Once i run the system, it says copyright by Alex Hall so we are good. | |
|
| |
H3uy Moderator
Posts : 627 Join date : 2014-02-19
| Subject: Re: Code for console. Fri Mar 07, 2014 6:43 pm | |
| Nice catch vemrall. Also nice puting copyright on there, wouldn't want to get into a sueing battle. | |
|
| |
megaman01 Itanks Moderator
Posts : 460 Join date : 2014-02-18 Age : 30 Location : Toronto, Canada
| Subject: Re: Code for console. Fri Mar 07, 2014 7:08 pm | |
| I'm studying in law, I can get you an authentic copyright. I'd like to mention that if we went to court for the code copyright, we would LOSE. Why? It's just written in text, it's not a copyright. | |
|
| |
Guest Guest
| Subject: Re: Code for console. Fri Mar 07, 2014 7:48 pm | |
| - megaman01 wrote:
- I'm studying in law, I can get you an authentic copyright. I'd like to mention that if we went to court for the code copyright, we would LOSE. Why? It's just written in text, it's not a copyright.
Once the game is launched, that might be a good idea. PGO is not ours until we own it. Also, death, remember what I told you about talking about drop games? |
|
| |
DeathSkull Administrator
Posts : 794 Join date : 2014-02-18 Age : 25 Location : USA
| Subject: Re: Code for console. Fri Mar 07, 2014 8:37 pm | |
| its just a warning. if they start we will simply curse them.... | |
|
| |
Guest Guest
| Subject: Re: Code for console. Fri Mar 07, 2014 10:07 pm | |
| - DeathSkull+ wrote:
- its just a warning. if they start we will simply curse them....
Don't give them ideas though! They dot know what they are! |
|
| |
Sponsored content
| Subject: Re: Code for console. | |
| |
|
| |
| Code for console. | |
|