Search found 1649 matches

by avansc
Mon Nov 10, 2008 11:57 am
Forum: Programming Discussion
Topic: AI Tutorial to Come!
Replies: 10
Views: 1465

Chapter 1: Fundamental AI Technologies [1.1.2 Memory]

sorting AI data is often complex because the concepts beign stored are not staight forward. in an individual level AI, this weill be less of a problem. we can store pointes and orientations and use numeric values to depict the state the Ai is in. if the character is walking; the state equals one; if...
by avansc
Mon Nov 10, 2008 9:56 am
Forum: General/Off-Topic
Topic: How can I learn math online?
Replies: 19
Views: 1849

Re: How can I learn math online?

send me your address via PM, and i'll post it and let you know what the cost is. i think it will only be like 3-5 bux.
meh, you know what, just send me your post address and i'll send it free. i can spare 5 bux.
by avansc
Mon Nov 10, 2008 8:15 am
Forum: General/Off-Topic
Topic: How can I learn math online?
Replies: 19
Views: 1849

Re: How can I learn math online?

yeah, it starts from the very start/basics.
its like a 1000 page book.
by avansc
Sun Nov 09, 2008 10:33 pm
Forum: Programming Discussion
Topic: Pointer Question..... C++
Replies: 23
Views: 3088

Re: Pointer Question..... C++

why do you want a list of references for tic tac toe. with the way I was writing it, it seemed like the most logical/ easiest way to go about doing it. Then again, that might just be the way I was thinking/ how my mind works. anyway, I went to using my original code (mainly cause I understood it) a...
by avansc
Sun Nov 09, 2008 9:17 pm
Forum: Programming Discussion
Topic: Pointer Question..... C++
Replies: 23
Views: 3088

Re: Pointer Question..... C++

ahh right..... hmm I see that it draws everything but, I can't really read it. the whole this->pointer I haven't really covered yet. and I deffinately don't know what this does: SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord); } still new to C++ so that may be why I'm not understan...
by avansc
Sun Nov 09, 2008 9:01 pm
Forum: Programming Discussion
Topic: Pointer Question..... C++
Replies: 23
Views: 3088

Re: Pointer Question..... C++

right, I understand about the one function part but, other than that, I'm lost. Did you mean your code was decent design or mine was? anyway, does C++ allow an array of referances?: string& p[8]; p[0] = xy1; no you cant do that. if you take my code and compile it it will take you a long wat to ...
by avansc
Sun Nov 09, 2008 8:43 pm
Forum: General/Off-Topic
Topic: How can I learn math online?
Replies: 19
Views: 1849

Re: How can I learn math online?

they are jsut variables. X, Y, a b c all the same. 4X + 4 = 10 is the smae equation as 4Z + 4 = 10 I really don't think your going to be able to teach him this. Math isn't just something you can ask questions about on a forum, get answers, and get good at. You can ask questions about the parts you ...
by avansc
Sun Nov 09, 2008 8:34 pm
Forum: General/Off-Topic
Topic: How can I learn math online?
Replies: 19
Views: 1849

Re: How can I learn math online?

they are jsut variables. X, Y, a b c all the same.

4X + 4 = 10
is the smae equation as
4Z + 4 = 10
by avansc
Sun Nov 09, 2008 8:21 pm
Forum: Programming Discussion
Topic: Pointer Question..... C++
Replies: 23
Views: 3088

TTT solution in OO form.

the code is incomplete, but shows a decent design. NOTE: this code is not portable! #include <iostream> #include <string> #include <windows.h> using namespace std; void gotoxy(int x, int y) { COORD coord; coord.X = x; coord.Y = y; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord); } c...
by avansc
Sun Nov 09, 2008 7:44 pm
Forum: Programming Discussion
Topic: Pointer Question..... C++
Replies: 23
Views: 3088

Re: Pointer Question..... C++

okay first problem, you cant do all this string **p = (string**)malloc(9*sizeof(string));// get a pointer to a pointer // p[0] = &xy1; p[1] = &xy2; p[2] = &xy3; p[3] = &xy4; p[4] = &xy5; p[5] = &xy6; p[6] = &xy7; p[7] = &xy8; p[8] = &xy9; out side of main or a fun...
by avansc
Sun Nov 09, 2008 7:40 pm
Forum: Programming Discussion
Topic: Pointer Question..... C++
Replies: 23
Views: 3088

Re: Pointer Question..... C++

just got the mail, will reply shortly
by avansc
Sun Nov 09, 2008 7:34 pm
Forum: General/Off-Topic
Topic: How can I learn math online?
Replies: 19
Views: 1849

Re: How can I learn math online?

5X is same as 5*X well very few people know how sin cos and tan works. (its a sumation of a binomial series from 0 to infinity) but i meant that if i give you a right triangle with 1 side and a angle, could you find the other angle and other 2 sides? like do you know that if you add the angles of a...
by avansc
Sun Nov 09, 2008 7:17 pm
Forum: Programming Discussion
Topic: Pointer Question..... C++
Replies: 23
Views: 3088

Re: Pointer Question..... C++

villeballa89 wrote:nope still same error
pm sent
by avansc
Sun Nov 09, 2008 7:16 pm
Forum: Programming Discussion
Topic: AI Tutorial to Come!
Replies: 10
Views: 1465

Chapter 1: Fundamental AI Technologies [1.1.1 Sensing the Wo

Chapter 1: Fundamental AI Technologies [1.1.1 Sensing the World] All AI systems need to be aware of their surroundings so they can use that information in the reasoning/analysis phase. What they sense and how much depends on the type of game you are making. lets look at one example, lets say quake....
by avansc
Sun Nov 09, 2008 7:00 pm
Forum: General/Off-Topic
Topic: How can I learn math online?
Replies: 19
Views: 1849

Re: How can I learn math online?

5X is same as 5*X well very few people know how sin cos and tan works. (its a sumation of a binomial series from 0 to infinity) but i meant that if i give you a right triangle with 1 side and a angle, could you find the other angle and other 2 sides? like do you know that if you add the angles of a ...