Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Dx stuff

Dx stuff

Scheduled Pinned Locked Moved The Lounge
question
29 Posts 13 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B brianwelsch

    You're getting grief for 2 reasons 1- You're asking a programming question in a forum which clearly states at the top, NO Programming questions. 2- Your question can be answered with a few minutes of Googling. You say ASAP, but make no mention of having tried to get the info yourself. BW "I'm coming with you! I got you fired, it's the least I can do. Well, the least I could do is absolutely nothing, but I'll go you one better and come along!" - Homer J. Simpson

    B Offline
    B Offline
    Brian Olej
    wrote on last edited by
    #16

    That wasn't really a programming question, people are getting too picky around here. A programming question would be somthing along the lines of: "How do I initialize DirectX" Why waste time learning when ignorance in instantaneous -Hobbes

    1 Reply Last reply
    0
    • A Ashwin C

      oh please..how do you know if i have tried or not!! and "THis is not a prog question"""????? whats your prob man..if you know it simply ans otherwise dont bother!

      B Offline
      B Offline
      brianwelsch
      wrote on last edited by
      #17

      inertiaFreak wrote: how do you know if i have tried or not!! Google on directx rsources programming. http://www.gamedev.net/reference/list.asp?categoryid=24[^] inertiaFreak wrote: whats your prob man..if you know it simply ans otherwise dont bother! :zzz: BW "I'm coming with you! I got you fired, it's the least I can do. Well, the least I could do is absolutely nothing, but I'll go you one better and come along!" - Homer J. Simpson

      A D 2 Replies Last reply
      0
      • A Ashwin C

        :zzz::wtf::wtf::laugh::eek: X| can anyone tell me the best way to get started on DX prog? any books rec? asap plz!

        B Offline
        B Offline
        Bao Nguyen
        wrote on last edited by
        #18

        Try http://www.gamedev.net for DirectX-related forums. You might get better responses there.

        1 Reply Last reply
        0
        • A Ashwin C

          what the hell does that mean? i asked for DIRECTX !!!!

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #19

          Welcome to CP. Some tips. 1. You should post programming questions in the programming forums. It says as much above the lounge, with a link. 2. If you don't know what the example posted means, you need to forget about direct x. It was the framework for every C/C++ program, and unless you know a lot more than that about C++, you're not going to get anywhere with DirectX, which is basically COM objects accessed through C++. 3. If you feel you've been treated rudely here, please don't let it stop you from posting more and asking questions in the right forums, the fact is that we do get kind of sick of people not reading the big warnings not to post programming questions here, but for all that, we are a friendly mob, and keen to be helpful too. Just try posting in the right place, and I'm sure you'll see that we have a good side that outweighs the bad..... :-) Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

          B A 2 Replies Last reply
          0
          • B brianwelsch

            inertiaFreak wrote: how do you know if i have tried or not!! Google on directx rsources programming. http://www.gamedev.net/reference/list.asp?categoryid=24[^] inertiaFreak wrote: whats your prob man..if you know it simply ans otherwise dont bother! :zzz: BW "I'm coming with you! I got you fired, it's the least I can do. Well, the least I could do is absolutely nothing, but I'll go you one better and come along!" - Homer J. Simpson

            A Offline
            A Offline
            Ashwin C
            wrote on last edited by
            #20

            dude... thankx for that effort...i had that article bookmarked already the reason why i put it up in this forum is so that i could get first hand feedback from people...which would make my errands of searching for which stuff is good or bad ...a lot easier!

            1 Reply Last reply
            0
            • C Christian Graus

              Welcome to CP. Some tips. 1. You should post programming questions in the programming forums. It says as much above the lounge, with a link. 2. If you don't know what the example posted means, you need to forget about direct x. It was the framework for every C/C++ program, and unless you know a lot more than that about C++, you're not going to get anywhere with DirectX, which is basically COM objects accessed through C++. 3. If you feel you've been treated rudely here, please don't let it stop you from posting more and asking questions in the right forums, the fact is that we do get kind of sick of people not reading the big warnings not to post programming questions here, but for all that, we are a friendly mob, and keen to be helpful too. Just try posting in the right place, and I'm sure you'll see that we have a good side that outweighs the bad..... :-) Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

              B Offline
              B Offline
              brianwelsch
              wrote on last edited by
              #21

              Can we make this a standard reply somehow? like a hidden :thingy: Its friendly, informative, and comes complete with a smiley. BW "I'm coming with you! I got you fired, it's the least I can do. Well, the least I could do is absolutely nothing, but I'll go you one better and come along!" - Homer J. Simpson

              K 1 Reply Last reply
              0
              • C Christian Graus

                Welcome to CP. Some tips. 1. You should post programming questions in the programming forums. It says as much above the lounge, with a link. 2. If you don't know what the example posted means, you need to forget about direct x. It was the framework for every C/C++ program, and unless you know a lot more than that about C++, you're not going to get anywhere with DirectX, which is basically COM objects accessed through C++. 3. If you feel you've been treated rudely here, please don't let it stop you from posting more and asking questions in the right forums, the fact is that we do get kind of sick of people not reading the big warnings not to post programming questions here, but for all that, we are a friendly mob, and keen to be helpful too. Just try posting in the right place, and I'm sure you'll see that we have a good side that outweighs the bad..... :-) Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                A Offline
                A Offline
                Ashwin C
                wrote on last edited by
                #22

                how does this qualify as a prog question!!! i was asking for book recommendations not syntax!??!!

                D C 2 Replies Last reply
                0
                • A Ashwin C

                  how does this qualify as a prog question!!! i was asking for book recommendations not syntax!??!!

                  D Offline
                  D Offline
                  David Wulff
                  wrote on last edited by
                  #23

                  For what it's worth I agree 100% with you here - what the hell is getting these guys all riled up? You asked for a book recomendation nothing more. Sadly I can't recommend one to you, but still, it's a shame what has happened here. :confused:


                  David Wulff http://www.davidwulff.co.uk

                  David Wulff Born and Bred.

                  C 1 Reply Last reply
                  0
                  • B brianwelsch

                    inertiaFreak wrote: how do you know if i have tried or not!! Google on directx rsources programming. http://www.gamedev.net/reference/list.asp?categoryid=24[^] inertiaFreak wrote: whats your prob man..if you know it simply ans otherwise dont bother! :zzz: BW "I'm coming with you! I got you fired, it's the least I can do. Well, the least I could do is absolutely nothing, but I'll go you one better and come along!" - Homer J. Simpson

                    D Offline
                    D Offline
                    David Wulff
                    wrote on last edited by
                    #24

                    I've been through most of the DX articles on GD a few years back now and whilst they cover a lot they also assume you know a lot to start with - great if you already know what you want to do before you start reading, but not much help if you're just starting out with DX.


                    David Wulff http://www.davidwulff.co.uk

                    David Wulff Born and Bred.

                    1 Reply Last reply
                    0
                    • A Ashwin C

                      how does this qualify as a prog question!!! i was asking for book recommendations not syntax!??!!

                      C Offline
                      C Offline
                      Christian Graus
                      wrote on last edited by
                      #25

                      In hindsight your post is vague enough that it could be a general programming question *or* just a request for book recommendations. However, when you write: asap plz! , the best way to annoy a group of people offering to help you for free is to tell them to hurry up about it. If your intention was just to ask about books, it was unclear, possibly in part because we are sensitive to the fact that so many people delurk by posting a programming question to the lounge. The trouble with DX is that it changes so often that the books are pretty much always obsolete as soon as they are published. You'd do better to work through the samples that come with the SDK, read the on-line docs, and if you can get a copy of the Open GL red book, buy it for the explanation of 3D theory in general. Finally, while we have our share of DX programmers who would love to help if you post questions in the programming forums, you'd find better help in forums on sites dedicated to 3D programming, I'd recommend joining a few others as well as asking here. And I'd reiterate that if you really did not recognise what int main() means, you need to forget DirectX, buy some decent books on C++ and start from there. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                      1 Reply Last reply
                      0
                      • D David Wulff

                        For what it's worth I agree 100% with you here - what the hell is getting these guys all riled up? You asked for a book recomendation nothing more. Sadly I can't recommend one to you, but still, it's a shame what has happened here. :confused:


                        David Wulff http://www.davidwulff.co.uk

                        David Wulff Born and Bred.

                        C Offline
                        C Offline
                        Christian Graus
                        wrote on last edited by
                        #26

                        I agree - the post was vague enough to look like a programming question and came complete with a 'hurry up and tell me' comment, which probably contributed greatly to the way it was read by most people here, but the way newbies get treated has been a concern of mine for a while, maybe this is a prime example of our being too quick to assume wrong simply because it's been the case so often before. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

                        1 Reply Last reply
                        0
                        • B brianwelsch

                          Can we make this a standard reply somehow? like a hidden :thingy: Its friendly, informative, and comes complete with a smiley. BW "I'm coming with you! I got you fired, it's the least I can do. Well, the least I could do is absolutely nothing, but I'll go you one better and come along!" - Homer J. Simpson

                          K Offline
                          K Offline
                          KaRl
                          wrote on last edited by
                          #27

                          Good idea.


                          Ohé Partisans, Ouvriers et Paysans C'est l'alarme! Le Chant des Partisans

                          1 Reply Last reply
                          0
                          • B Brad Jennings

                            "I want to learn how to program, where do I start?" Yeah, you're absolutely right. I couldn't even begin to imagine how to teach somebody how to program on a forum. I just thought it was funny that you gave him code on how to write a program that takes command line arguments (unless this is different in Windows, I only know what this means under Unix). Brad Jennings

                            T Offline
                            T Offline
                            Tim Smith
                            wrote on last edited by
                            #28

                            I've been creating a lot of console applications lately. I don't even remember how to make a Window's main. :-O Tim Smith I'm going to patent thought. I have yet to see any prior art.

                            1 Reply Last reply
                            0
                            • J Jim Crafton

                              Alternately you could try

                              int main (int argc, char *argv[])
                              {
                              //DirectX initialization here
                              //DirectX graphics
                              //DirectX termination here
                              return 0;
                              }

                              I find this sometimes helps more...:) ¡El diablo está en mis pantalones! ¡Mire, mire!

                              J Offline
                              J Offline
                              jan larsen
                              wrote on last edited by
                              #29

                              THANKS!, youv'e solved my problem!, I have been trying to learn the DirectX API for YEARS, but when I executed this, my application would hang every time   :( :

                              int main (int argc, char *argv[])
                              {
                              //DirectX initialization here
                              //DirectX graphics
                              //Tricky Bugs That You Will Never Find
                              //DirectX termination here
                              return 0;
                              }

                              "After all it's just text at the end of the day. - Colin Davies "For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups