Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2004, 06:06 AM
Virus11
Discordant
 
Join Date: May 2004
Posts: 311
Default Junior Developer Code

I don't know what you really need. But here I wrote a little code earlier out of pure boredom for my teacher to get some brownie points, I guess I will use it here.

Code:
#include <iostream.h>

int main ()
{
  int i;
  cout << "Kevin's times table calculator!";
  cin >> i;
  cout << "Now calulating the times table for: << i;
  cout << " x1 is " << i*1 << ".\n";
  cout << " x2 is " << i*2 << ".\n";
  cout << " x3 is " << i*3 << ".\n";
  cout << " x4 is " << i*4 << ".\n";
  cout << " x5 is " << i*5 << ".\n";
  cout << " x6 is " << i*6 << ".\n";
  cout << " x7 is " << i*7 << ".\n";
  cout << " x8 is " << i*8 << ".\n";
  cout << " x9 is " << i*9 << ".\n";
  cout << " x10 is " << i*10 << ".\n";
  cout << " x11 is " << i*11 << ".\n";
  cout << " x12 is " << i*12 << ".\n";
  cout << " x13 is " << i*13 << ".\n";
  cout << " x14 is " << i*14 << ".\n";
  cout << " x15 is " << i*15 << ".\n";
  cout << " x16 is " << i*16 << ".\n";
  cout << " x17 is " << i*17 << ".\n";
  cout << " x18 is " << i*18 << ".\n";
  cout << " x19 is " << i*19 << ".\n";
  cout << " x20 is " << i*20 << ".\n";
  cout << " x30 is " << i*30 << ".\n";
  cout << " x40 is " << i*40 << ".\n";
  cout << " x50 is " << i*50 << ".\n";
  cout << " x60 is " << i*60 << ".\n";
  cout << " x70 is " << i*70 << ".\n";
  cout << " x80 is " << i*80 << ".\n";
  cout << " x90 is " << i*90 << ".\n";
  cout << " x100 is " << i*100 << ".\n";
  return 0;
}
__________________

Reply With Quote
  #2  
Old 05-23-2004, 06:45 AM
govtcheeze
Hill Giant
 
Join Date: Mar 2004
Location: South Florida
Posts: 247
Default

Code:
#include <iostream.h> 

int main () 
{ 
  cout << "Kevin's times table calculator!"; 
  cin >> j; 
  cout << "Now calulating the times table for: << j; 
  for(i = 1; i <= 20; i++)
    cout << " x" << i << " is " << j*i << ".\n"; 

  for(i = 30; i <= 100; i += 10)
    cout << " x" << i << " is " << j*i << ".\n"; 
}
...and I do not think the purpose of the Jr. Dev was to post random code, but to post fixes to eqemu code the devs have overlooked / not had time to address.
__________________
GovtCheeze, Welfare Warrior
"Listen, here's the thing. If you can't spot the sucker in the first half hour at the table, then you ARE the sucker." -- Mike McDermott, Rounders

Developer of the original (circa 2004):
Loots v2.0, bitch!
Faction v1.0, bitch!
Magelo-like clone v0.3, bitch!
Zone geometry and spawn/path viewer, bitch!
Reply With Quote
  #3  
Old 05-23-2004, 07:48 AM
Virus11
Discordant
 
Join Date: May 2004
Posts: 311
Default

Heh, yeah that would be easier. Give me a little time to come up with an EqEmulator fix, one sec.
__________________

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:06 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3