• Welcome to Valhalla Legends Archive.
 

[C++] Questions

Started by Sorc.Polgara, November 17, 2004, 03:22 PM

Previous topic - Next topic

Minux

Quote from: bethra on November 20, 2004, 06:29 PM
Quote from: Eibro[yL] on November 20, 2004, 01:20 PM
You can complile/link it on the VC++ command line by doing the following:

cl overlapped.cpp
link overlapped.obj user32

Then to run it just type

overlapped

You can typically get to the VC++ command prompt by following Start->Programs->VC->Tools->VC Command Prompt

Sorry, but I don't understand this.  I've have tried, but I must be doing something wrong.

VC Command Prompt? wtf?  I don't have w/e that is.  I'm using VC6++ so...

They are referring to a Console Application. You clearly need to learn more about the language and the compiler before you tackle such a task like a bot. It's nowhere like VB6 where you just get use to things and they 9/10 work. I suggest getting a book, because again you don't seem to understand the language yet.

MyndFyre

Quote from: Minus on November 22, 2004, 06:22 PM
Quote from: bethra on November 20, 2004, 06:29 PM
Quote from: Eibro[yL] on November 20, 2004, 01:20 PM
You can complile/link it on the VC++ command line by doing the following:

cl overlapped.cpp
link overlapped.obj user32

Then to run it just type

overlapped

You can typically get to the VC++ command prompt by following Start->Programs->VC->Tools->VC Command Prompt

Sorry, but I don't understand this.  I've have tried, but I must be doing something wrong.

VC Command Prompt? wtf?  I don't have w/e that is.  I'm using VC6++ so...

They are referring to a Console Application. You clearly need to learn more about the language and the compiler before you tackle such a task like a bot. It's nowhere like VB6 where you just get use to things and they 9/10 work. I suggest getting a book, because again you don't seem to understand the language yet.

Actually, they are referring to going to the command line (i.e., running cmd.exe or command.com, depending on your environment) and using the C compiler and linker.  You need to learn more about what people are talking about before you try and flame someone who is trying to learn.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Eibro

Quote from: bethra on November 20, 2004, 06:29 PM
Quote from: Eibro[yL] on November 20, 2004, 01:20 PM
You can complile/link it on the VC++ command line by doing the following:

cl overlapped.cpp
link overlapped.obj user32

Then to run it just type

overlapped

You can typically get to the VC++ command prompt by following Start->Programs->VC->Tools->VC Command Prompt

Sorry, but I don't understand this.  I've have tried, but I must be doing something wrong.

VC Command Prompt? wtf?  I don't have w/e that is.  I'm using VC6++ so...
Yes you do. Search for vcvars32.bat. Once you find this, open a console and run it. Then you can compile/link the application in the manner I described above.
Eibro of Yeti Lovers.

|