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

07-10-2002, 09:45 AM
|
Sarnak
|
|
Join Date: Jul 2002
Posts: 85
|
|
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
|

07-10-2002, 11:15 AM
|
 |
Dragon
|
|
Join Date: Feb 2002
Location: GI, NE
Posts: 924
|
|
#include <iostream.h>
hehe, sorry, had to correct your small error :p I am so bored, lol
|

07-10-2002, 12:12 PM
|
Discordant
|
|
Join Date: May 2002
Posts: 434
|
|
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)
|

07-11-2002, 12:30 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
why use
int main
if you're not returning anything?
|

07-11-2002, 02:47 AM
|
Sarnak
|
|
Join Date: Jul 2002
Posts: 85
|
|
ha!
Ha!! This was my point in the first place folks.
But thanks for the corrections, once again I get nothing but help. 
|

07-11-2002, 03:50 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
Hmm.. don't confuse 'help' and 'criticism' !
LOL
|

07-11-2002, 03:59 AM
|
Sarnak
|
|
Join Date: Jul 2002
Posts: 85
|
|
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. 
|

07-11-2002, 12:55 PM
|
Fire Beetle
|
|
Join Date: May 2002
Posts: 14
|
|
*shrug* if the compiler accepts it, its legal.
|

07-12-2002, 02:55 AM
|
Sarnak
|
|
Join Date: Jul 2002
Posts: 85
|
|
ok here I made sure this compiles ;-)
#include <stdio.h>
int main(void)
{
printf("I must be really bored.");
return 0;
}
|

07-12-2002, 04:02 AM
|
Discordant
|
|
Join Date: May 2002
Posts: 434
|
|
The compiler DOES NOT accept it, it gives you nice warning for doing void main and such
|

07-12-2002, 04:04 AM
|
Sarnak
|
|
Join Date: Jul 2002
Posts: 85
|
|
YOUR compiler does not accept it...
YOUR compiler does not accept it.
I used cl.exe from MS vis studio 6.0
so there.
|

07-12-2002, 06:21 AM
|
Fire Beetle
|
|
Join Date: Feb 2002
Posts: 6
|
|
#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 
|

07-12-2002, 06:55 AM
|
Sarnak
|
|
Join Date: Jul 2002
Posts: 85
|
|
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.
|

07-12-2002, 08:00 AM
|
 |
Dragon
|
|
Join Date: Feb 2002
Location: GI, NE
Posts: 924
|
|
Look at what I started, LOL
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 04:31 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |