is it poseble to make AI with C++. if so how do you make a program that can randomly display preprogramed messages.
AI tool
Graphic/game maker
make a program to sell $$$
other
is it poseble to make AI with C++. if so how do you make a program that can randomly display preprogramed messages.
missles on metriods
Yes, C++ is very capable of making AI. For the preprogrammed messages, just place all the messages in a container like a vector or an array, and then use a random number to call one of them.
yeaaaaahhhh right explane that on a more basic level i've only doing this for a month or so.
missles on metriods
Well, first of all, get a good book so that you will understand what we are talking about.... I reccomend Sam's Teach Yourself C++ in 21 Days, or its C counterpart, teach yourself C in 21 days.
Then, check your grammar/spelling when you post.
Well, that is pretty basic already; but if you change the word "vector" to "array", it might be easier to understand.explane that on a more basic level i've only doing this for a month or so.
Should be rephrased as "display the message which is at a random index".then use a random number to call one of them.
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
Hmmmm.....I guess imitation is a form of flattery.
Is it just me or does this poll not ask some of the other important things. I'm not sure if anyone goes to all the trouble of learning any type of programming language so all they can do is make AI.
Not to be harsh, but it needs re-wording (Spell check?)
Stan The Man. Beatles fan
When I was a child,
I spoke as a child,
I thought as a child,
I reasoned as a child.
When I became a man,
I put childish ways behind me"
(the holy bible, Paul, in his first letter to the Cor. 13:11)
That was kind of harsh. This is a newbie here. Newbies don't always know exactly what they are talking about.
half yes half no i know a little enough to understand most.Originally posted by master5001
That was kind of harsh. This is a newbie here. Newbies don't always know exactly what they are talking about.
missles on metriods
Heh, I read his post and thought... Gee, master must be drunk or something! Then I remembered that it's Master5001 and not 2000... oh wellHmmmm.....I guess imitation is a form of flattery.
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
Me two, kinda took a double-take there.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
C++ can be used for AI, but depending on what type of AI you are making, I would not suggest it. Game AI, and genetic programming, and such are ok in C++, but for any attempt to building something 'cognitive' (yes, I know major ambiguity, but it's late and I don't wanna type), I would suggest something else. LISP or Scheme come to mind, but I am naturally weary of those languages.
What the hell is the deal with these stupid ass polls that don't have anything to do with the topic? Stop making absurd polls until you figure out what exactly a poll is. Here, let me help!
Quzah.
Hope is the first step on the road to disappointment.
>>What the hell is the deal with these stupid ass polls that don't have anything to do with the topic?
Agreed. And the poll is old anyway.
Poll now closed... problems? PM me.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]