Thread: drawing lines and rectangles in c++

  1. #31
    Registered User
    Join Date
    Dec 2005
    Posts
    118
    ok im scrapping dev for now and am currently downloading the microsoft one in hope that it will work lol
    just wondering if sdl id easyer to install on this

  2. #32
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    I suggest perhaps you forget about all this SDL nonsense and stick to basics until you feel more comfortable.

    Maybe try to draw stuff with the windows.h header file (there's tutorials for this) or conio.h (there's tutorials for that too I think).
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #33
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    I recommend GDI.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  4. #34
    Registered User
    Join Date
    Dec 2005
    Posts
    118
    it seem every way i turn i stub my toe lol
    ok i downloded microsoft visual c++
    now how the hell do i compile the source codes lol

  5. #35
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Copy the source code into the big white empty box and press the button "Compile". Capiche?
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  6. #36
    Registered User
    Join Date
    Dec 2005
    Posts
    118
    there isnt a compile button?

  7. #37
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    You need to create a project first, and then insert the source files. VC++ cannot (at least not in any obvious way I've ever discovered) simply coompile source files.

    Alternatively, you could compile from the comamnd line.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  8. #38
    Registered User
    Join Date
    Dec 2005
    Posts
    118
    ok so how do i compile a project?

  9. #39
    Registered User
    Join Date
    Dec 2005
    Posts
    118
    im such a noob im sorry i found how to do it but now how to i make it an exe file or where is that file stored?
    sorry for these noob questions
    Last edited by thestien; 10-08-2006 at 07:07 AM.

  10. #40
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    The executable is located somewhere in the folder tree of the project you created. Probably inside the debug folder (or release folder if you are building a release version).
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  11. #41
    Registered User
    Join Date
    Dec 2005
    Posts
    118
    ok i found it thank you

  12. #42
    Registered User
    Join Date
    Dec 2005
    Posts
    118
    ok ive have another problem....
    i can now compile and run some things but i get an error on a different project

    Compiling...
    sdlintro.cpp
    Linking...
    LINK : fatal error LNK1561: entry point must be defined
    Last edited by thestien; 10-08-2006 at 07:51 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Drawing program architecture - information needed
    By Marko_D in forum Windows Programming
    Replies: 1
    Last Post: 11-28-2003, 07:46 PM
  2. Drawing a triangle with hatch marks?
    By Bajanine in forum Windows Programming
    Replies: 4
    Last Post: 05-19-2003, 05:42 AM