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 06-09-2004, 12:00 PM
Plutonium239
Fire Beetle
 
Join Date: Apr 2004
Posts: 7
Default Jr Dev Code

I might be able to help a little, I would like to work with reverse-engineering and I'm a really fast learner, Also, I know PHP really well and I am trying to learn C++.

#include <iostream>
using namespace std;

main()
{
const PI = 3.14159;
float circumference, radius;
cout << "What is the radius of the circle?" << endl;
cin >> radius;
circumference = 2 * PI * radius;
cout << "The circle's circumference is ";
cout << circumference << '\n';
return 0;
}
Reply With Quote
  #2  
Old 06-09-2004, 01:43 PM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

Posting this won't actually help you become a Dev or Junior Dev, anyone can copy and paste this from a tutorial site. Like the original post said to become one you need to post actual fixes or new features added to the server code to become one.
Reply With Quote
  #3  
Old 06-09-2004, 04:02 PM
Plutonium239
Fire Beetle
 
Join Date: Apr 2004
Posts: 7
Default

Actually I didn't copy/paste this, I read on cpp-home a tutorial and one of the exercises was to create a program that returned the circumference of a circle when given the radius, but I understand about the fixes/improvements. I'll work on that, Thanks animepimp.
Reply With Quote
  #4  
Old 06-10-2004, 12:17 AM
Pyrix
Sarnak
 
Join Date: May 2004
Location: Germany
Posts: 68
Default

I dont think the eqemudevs work with cin and cout ^^
Reply With Quote
  #5  
Old 06-10-2004, 02:00 AM
Plutonium239
Fire Beetle
 
Join Date: Apr 2004
Posts: 7
Default

I was looking at the source and they do, and they do the include the same way I do.

#include <iostream>
using namespace std;

That makes it so you don't have to use std::cout and std::cin etc..
Reply With Quote
  #6  
Old 06-10-2004, 12:42 PM
Virus11
Discordant
 
Join Date: May 2004
Posts: 311
Default

Uhh Jr. Dev Code, as in a EQEMu fix genius
__________________

Reply With Quote
  #7  
Old 06-11-2004, 07:41 AM
Pyrix
Sarnak
 
Join Date: May 2004
Location: Germany
Posts: 68
Default

wow cool "good ol iostream" roxx
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:37 AM.


 

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