EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::General Discussion (https://www.eqemulator.org/forums/forumdisplay.php?f=613)
-   -   good grief. How can I help already? (https://www.eqemulator.org/forums/showthread.php?t=2675)

ednecro 07-10-2002 09:45 AM

good grief. How can I help already?
 
All the help I have received on this site has been
so great. I just wish there was some other way I could contribute to this project besides bugging you guys with a bunch of dumb newbie questions
all the time.(I guess I could stop asking dumb questions for one.) I wish I could be a gimp but
My C++ is probably the furthest thing from 3l33T
you can get.

#include <iostream>

int main()
{
std::cout << "I suck ass!\n";
}

I just wish there was some kind of way to give back to this project aside from like sending large unmarked bills. Oh well, just want to let you guys know how much I appreciate what you do for those of us ex-eq addicts. Thanks again.:p

Hardy 07-10-2002 11:15 AM

#include <iostream.h>

hehe, sorry, had to correct your small error :p I am so bored, lol

kathgar 07-10-2002 12:12 PM

I hate to tell you, but
#include <iostream>
is not an error, that is ANSI complaint, could use a
using namespace std; though
and no
void main
use
int main(int argc, char** argv)

Trumpcard 07-11-2002 12:30 AM

why use
int main
if you're not returning anything?

ednecro 07-11-2002 02:47 AM

ha!
 
Ha!! This was my point in the first place folks.
But thanks for the corrections, once again I get nothing but help. :cool:

Trumpcard 07-11-2002 03:50 AM

Hmm.. don't confuse 'help' and 'criticism' !

LOL

ednecro 07-11-2002 03:59 AM

amen to that...
 
dont worry, there is no confusion, one mans criticism is another mans knowledge. I would rather stick my neck out for knowledge at the risk of getting chopped rather then hide my head in the sand and know nothing. I believe that kind of bold "throw down the gauntlet and leap blindly into the void" attitude is what gets projects like this off the ground in the first place, and there are enough sceptics in this world already.;)

strago 07-11-2002 12:55 PM

*shrug* if the compiler accepts it, its legal.

ednecro 07-12-2002 02:55 AM

ok here I made sure this compiles ;-)
 
#include <stdio.h>
int main(void)
{
printf("I must be really bored.");
return 0;
}

kathgar 07-12-2002 04:02 AM

The compiler DOES NOT accept it, it gives you nice warning for doing void main and such

ednecro 07-12-2002 04:04 AM

YOUR compiler does not accept it...
 
YOUR compiler does not accept it.
I used cl.exe from MS vis studio 6.0
so there.

Wierdo99 07-12-2002 06:21 AM

#include <iostream>

using namespace std;

and then the

int main(int argc, char** argv)
{
// Your stuff here
return 0;
}

That is all the standard... the trick to it is to use a compiler like gcc or so that actually gives you warnings for non-standard code.

But that is all a moot point to this post :)

ednecro 07-12-2002 06:55 AM

it still helps
 
It is probably more updated code(or just a better way to do it), I think
the course I am taking is a bit outdated.

Hardy 07-12-2002 08:00 AM

Look at what I started, LOL


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

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.