Thread: Writing Screensavers for Windows in C++

  1. #1
    Registered User
    Join Date
    Mar 2006
    Location
    In front of my computer :)
    Posts
    10

    Writing Screensavers for Windows in C++

    Hi everybody, I hope somebody can help me. I am working on learning C and C ++ because I want to write screensavers and transfer them to CD's to sell.

    Please tell me this is possible.

    Also, do I need a compiler? What kind is best? My budget is really tight right now, so if there's a decent free one...

    The screensavers that you get with Windows, you know, like the flags flying at you and the mouse running through the maze, all that- can I write that level of quality with C or C++?

    Thank you so much.

  2. #2
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    1) Yes it's possible.

    2) http://www.bloodshed.net/devcpp.html

    3) Yes you can.

  3. #3
    Registered User
    Join Date
    Mar 2006
    Location
    In front of my computer :)
    Posts
    10

    Thanks!

    Thank you! If I start learning C now, how long is it going to take me? Do I have to know both C and C ++ to write a screensaver?

  4. #4
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    you're not gonna like this, but about 3 or 4 years for a commercial quality program.
    you don't need to know C OR C++ to write a screensaver, there are several packages available that allow you to make screensavers. It really depends on what you want to do. if you just want a slideshow to show off your photography, that's pretty trivial. if you want to do something really cool like the electric sheep, it's gonna take a lot more work in graphics, math, networking, etc.

    In short, if you just want to write a screensaver, stay away from C++.
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

  5. #5
    Registered User
    Join Date
    Mar 2006
    Location
    In front of my computer :)
    Posts
    10
    I want to write really cool screensavers, someday up to the level of "mouse running through the maze upside down and giving everybody veritgo." I've already got programs for slideshow screensavers.

    Did you mean it would take me three or four years to WRITE something like that, or learn how to?

  6. #6
    Registered User
    Join Date
    Nov 2005
    Posts
    545
    I would have thought learn how to as huge games don't really take that long to write.

  7. #7
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    Quote Originally Posted by bumfluff
    I would have thought learn how to as huge games don't really take that long to write.
    you're obviously not still waiting for duke nukem forever then!

    around 2-3 years to become a truly competent C++ programmer (i.e. able to design, code, debug and test a reasonably complex application to a commercial standard) and about 6 months - 1 year to write a 3d engine from scratch.

    I'm assuming you're not doing this full time. If you're working at this 40 hours a week, you'll get there quicker.

    don't forget you also need to learn about 3d math, which is a study in itself.
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

  8. #8
    Registered User
    Join Date
    Mar 2006
    Location
    In front of my computer :)
    Posts
    10
    [QUOTE=ChaosEngine]

    around 2-3 years to become a truly competent C++ programmer (i.e. able to design, code, debug and test a reasonably complex application to a commercial standard) and about 6 months - 1 year to write a 3d engine from scratch. QUOTE]

    DRAT! HTML, this is not!

    3-D math? What's that? (sigh) I guess the next question is, where do I learn that?

  9. #9
    Registered User
    Join Date
    Feb 2006
    Posts
    25
    I wouldn't worry about the 3d math part yet. You're going to need to learn basic C or C++ programming before even THINKING about things like 3d math/programming.

    Start with the tutorials on this here site. They are great tutorials, and were the ones that gave me my start to C++.

  10. #10
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    http://img97.imageshack.us/img97/4143/digitalart9qz.jpg
    that's OpenGL code - the 5 lines under the /* Front */ comment are just the blue side of the cube.

    doesn't look like much, but then multiply that by 6 and you have 1 cube. then look at a game written in OpenGL and try to count the shapes

    to anybody that's actually done game programming: shhhhh I'm trying to help get a point across
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 05-20-2008, 08:57 AM
  2. Very slow file writing of 'fwrite' function in C
    By scho in forum C Programming
    Replies: 6
    Last Post: 08-03-2006, 02:16 PM
  3. Folding@Home Cboard team?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 398
    Last Post: 10-11-2005, 08:44 AM
  4. Difference Between Binary and ASCII writing?
    By Krak in forum C Programming
    Replies: 7
    Last Post: 09-21-2005, 12:31 PM
  5. help! fifo read problem
    By judoman in forum C Programming
    Replies: 1
    Last Post: 08-16-2004, 09:19 AM