Programming AI in C++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chessmanexe
    New Member
    • May 2007
    • 24

    Programming AI in C++

    Hello all, I'm new here, now down to business, XD

    I am making a very difficult program, and i can't really find the types of info i need to continue, I need a mentor to help me, a mentor that is going to stay with me until i finish, if you are interested please email me at xxxxxxx@xxxxxxx .xxx

    If you can tell from my email, yeah, im gonna take a whack at AI, and i know how to do it too, so if you could help me out, that would be great.
    *What I'll be using;
    Text boxes
    Submit buttons
    most likely a server
    C++
    A 3D navigator(perso n DOING the AI commands)
    and about a year of your help.

    I have the executable's window up, but so far it is just gray, and i don't know what to do from here. so if i could get some help, it would be great, And i thank you 10000x in advance.

    Remember, xxxxxxx@xxxxxxx .xxx




    _______________ __

    EDIT:
    I 4got to say, I don't have any money at the moment, however, if this plan goes through, we might not have that problem, im sorry, but IF i do get donations, you'll be the first to know.
    Last edited by weaknessforcats; Aug 6 '07, 02:57 PM. Reason: removed e-mail link
  • Girish Kanakagiri
    New Member
    • May 2007
    • 93

    #2
    Originally posted by chessmanexe
    Hello all, I'm new here, now down to business, XD

    I am making a very difficult program, and i can't really find the types of info i need to continue, I need a mentor to help me, a mentor that is going to stay with me until i finish, if you are interested please email me at xxxxxxx@xxxxxxx x.xxx

    If you can tell from my email, yeah, im gonna take a whack at AI, and i know how to do it too, so if you could help me out, that would be great.
    *What I'll be using;
    Text boxes
    Submit buttons
    most likely a server
    C++
    A 3D navigator(perso n DOING the AI commands)
    and about a year of your help.

    I have the executable's window up, but so far it is just gray, and i don't know what to do from here. so if i could get some help, it would be great, And i thank you 10000x in advance.

    Remember, xxxxxxx@xxxxxxx x.xxx




    _______________ __

    EDIT:
    I 4got to say, I don't have any money at the moment, however, if this plan goes through, we might not have that problem, im sorry, but IF i do get donations, you'll be the first to know.
    Don't worry!!! Just go head; I will definitely hold you, If you get styumble.
    You can proceed and let me know If you got stuck any point of time.

    Take care bye ...

    Regards,
    Girish.
    Last edited by weaknessforcats; Aug 6 '07, 03:29 PM. Reason: removed e-mail link

    Comment

    • chessmanexe
      New Member
      • May 2007
      • 24

      #3
      alright, so is that sayin that you are good with C++?

      Comment

      • RedSon
        Recognized Expert Expert
        • Jan 2007
        • 4980

        #4
        It is against site rules to post email addresses. Please refrain from doing it in the future.

        Comment

        • chessmanexe
          New Member
          • May 2007
          • 24

          #5
          k, well i STILL need help with the C++ thing.

          Comment

          • oler1s
            Recognized Expert Contributor
            • Aug 2007
            • 671

            #6
            You can always ask for help on forums. But to ask a random stranger to be a personal mentor is a bit too much. I won't even accept that request from close friends, let alone a stranger. I think that is the case with any knowledgeable person here. Countless people have had to figure out programming and computer science on their own. What makes you warrant such special attention?

            This is not because we are being rude or snobby. We would love to help the entire world, but we've got lives as well. We can't dedicate time to helping random people one on one.

            Comment

            • RedSon
              Recognized Expert Expert
              • Jan 2007
              • 4980

              #7
              If you have a question you can post it in the forum. If you need help with your C/C++ code then ask it. No one is going to do your research for you, and no one is going to do your work for you. You can think of this whole site as your mentor. Just ask in the proper forum and someone will be there to answer it.

              Comment

              • sicarie
                Recognized Expert Specialist
                • Nov 2006
                • 4677

                #8
                Changed the thread title - now you can post your questions, and people who are interested in AI will look! (amazing how that works)

                Comment

                • chessmanexe
                  New Member
                  • May 2007
                  • 24

                  #9
                  ok then, i have many 8^)

                  1) Where can i find the C++ Color wheel? (such as in html, 000000 is black, FFFFFF is white)

                  2) I want to make a text box with a submit button, how?

                  3) I have a windows exe file already made, but it only has a gray screen when i double click on it to start it. If you have a prog called dev-cpp, then you should know what to look for. What i want to do is change that background to a picture called...."pic1 "
                  can someone tell me how to call this picture as a background? it would be located at...lets say C:\pictures\pic 1

                  4) I want to make a button that takes me to another place, first off, i want to click a button that says "Website" on it, and it takes me to an .html document. how do i do it?
                  another one will take me to the actual A.I. prog.
                  and I want to make an "About" button, it should open up a new window inside the program, (i also want to know how to put stuff inside this window) so i can drag it around and have a little "x" to close the window.
                  and finally, I want a button which will close the whole program, "Exit" will be on it.

                  5) Buttons. say i make the Website, exit, prog, and x button. I rename them pic "2, 3, 4, and 5"
                  How would i call these pics to be used in the program? is there an X Y axis that i can put them EXACTLY where i want the buttons to be?
                  i also want a mouse over and a button down pic to be called when i put my mouse over the button, and when i click down on the button.

                  6) People say that winRAR takes all of the files you need, and puts them into one .exe file, i tried looking, but i could not find it out. is there some sort of program that will let me pick the files i want to be installed? I do want an installer.

                  that is all for now, but there WILL be more. ;)

                  Thanks in advance.

                  Comment

                  • oler1s
                    Recognized Expert Contributor
                    • Aug 2007
                    • 671

                    #10
                    Where can i find the C++ Color wheel?
                    C++ has no notion of colors. Nor does the C++ standard library. How you input colors depends on any third party libraries you use (or if you develop your own).

                    I want to make a text box with a submit button, how?
                    Pick a GUI toolkit and learn to use it.

                    I have a windows exe file already made, but it only has a gray screen when i double click on it to start it. If you have a prog called dev-cpp, then you should know what to look for. What i want to do is change that background to a picture called...."pic1 "
                    This is a Win32 App and not a console app? If you have a bitmap, you can blit it onto the drawing canvas. If it's a third party format like a jpeg, png, gif, whatever, then you'll have to decode it first, ideally with a third party image decoding library like libpng, libjpeg, and so on.

                    Honestly, this comes down to you doing your due reading. An entire book covers these topics: http://www.charlespetz old.com/pw5/ . Are you seriously expecting us to type a book's worth of response here?

                    People say that winRAR takes all of the files you need, and puts them into one .exe file, i tried looking, but i could not find it out. is there some sort of program that will let me pick the files i want to be installed? I do want an installer.
                    You couldn't find WinRAR? Not with a Google search? If you want an installer instead, look at http://nsis.sourceforg e.net/Main_Page or actually, just google for installer script or the like. Or look it up on Wikipedia.

                    You're asking questions on broad topics. You might want to do some reading, and asking something specific. Chances are, if you can't get even attempt to write a bit of code, you didn't Google enough.

                    Comment

                    • chessmanexe
                      New Member
                      • May 2007
                      • 24

                      #11
                      I thought i could ask a question and have it answered staight forward....i just need the answers nothing else, i am very capable of learning things fast, i just dont like researching and reading.

                      Comment

                      • RRick
                        Recognized Expert Contributor
                        • Feb 2007
                        • 463

                        #12
                        Nobody likes researching but its part of the job. I think you'll have better luck if you change your inquires from 20 questions to more specific topics.

                        As to your first question, its not C++ that has the color wheel. Its up to the system/ide that you are using. Your example is a 24 bit color variety made up of 3 bytes, one each for RGB (red,green,blue ). Each color varies from 0 to 0xFF. You're right about the extreme ends of the values, 0xFFFFFF is white and 0xFF0000 is bright red.

                        Comment

                        • RedSon
                          Recognized Expert Expert
                          • Jan 2007
                          • 4980

                          #13
                          In case this thread turns into a bit of a flame war, please be advised that I am watching it closely. Chessman, these other people have good points, try to listen to them and take their advice seriously. The book by petzold is on every Win32 developers desk. Its the Bible of Windows programming (apps that is). Check it out from your library or local university.

                          You also need to take a look at what you are trying to do. Creating an AI program in Win32 that lets you click on buttons to take you to websites is mixing two separate paradigms. If you want to make and app, make an app. If you want to make a website, make a website. But don't make an app thats a website.

                          Comment

                          • developing
                            New Member
                            • Mar 2007
                            • 110

                            #14
                            i recommend you start by learning basic programming first (not the language basic)

                            go to google and type 'introduction to programming'. choose a language and stick with it.

                            for a more structured approach, check out University of Waterloo's distance ed courses. $175 CAD...

                            Comment

                            • chessmanexe
                              New Member
                              • May 2007
                              • 24

                              #15
                              In case this thread turns into a bit of a flame war, please be advised that I am watching it closely. Chessman, these other people have good points, try to listen to them and take their advice seriously.
                              erm...Please dont think of me as a flamer, because i am that in the lease, I am new to C++, and i have come to find, IT WILL be a long way to go until i have a functioning AI, I understand that now. As for the website/app thing, you might have misunderstood. I meant to say, "I want a button that SAYS website on it, and when you click it, it opens up IE/FF/Opera/Safari/whatever (>_>) and takes you to my website xxxx@xxxx.xxx.x in case you didn't understand.

                              I am very sorry if you thought i was on my way to flaming, i wasn't. As for the C++ "color wheel" (0xff) Is there any reference as to where it is?

                              and, as for the other questions, i will go look further for them. I will ask questions here, but i dont want to be victimized as one of those flamers ;)

                              thanks in advance.

                              Comment

                              Working...