Thread: Programmers Block

  1. #1
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200

    Programmers Block

    I have reached a new low in my programming experience. I have been 2 days without programming, and I cant figure out what to program.

    Does anyone have any ideas on something fun I could program. Im sure someone has been through this before .

    Its like I am at a point where my knowledge (lack of) is holding me back.
    Last edited by Vicious; 09-25-2004 at 10:40 PM.
    What is C++?

  2. #2
    Registered User
    Join Date
    Aug 2004
    Posts
    193
    Me too. I can never figure what I want to program. It's either something way too complex for me or something so simple it isn't worth it.

    I have been thinking about making an mp3 player type thing. I currently have Musicmatch Jukebox and it has too many features (and don't need them) that everytime I open it, it slows down my computer. That's why I want to make my own so I can include my own features.

  3. #3
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    mm good idea.

    Sounds like a job for FMOD
    What is C++?

  4. #4
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    Go to school to get some homework if you dare! :P
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  5. #5
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Wrote a text game with decent logic and story line. That will keep you busy for a while and propel you through different learning stages.

  6. #6
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728
    If you are into problem solving and algorithms check out the thousands of problems over at TopCoder or at the UVA Problemset Archive.

    Lots of cool stuff that will keep you busy for months if you are into writing code to solve problems. You can compete and win money too at TopCoder.

  7. #7
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Wow, thanks!
    What is C++?

  8. #8
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    This is where my geekiness shines through. When I'm in a slump I try to write a data structure in a different way. That way I improve my understanding of said data structure and it always gets me fired up again.
    My best code is written with the delete key.

  9. #9
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    Do you still compete on topcoder PJ? I am almost at yellow. I use the name rrenaud. I use the nick rrenaud.

    What about on UVA? I've got 66 solved I think, but it seems like the site is down.

    My UVA stats.
    Last edited by SilentStrike; 09-30-2004 at 07:15 PM.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  10. #10
    hacker in training AdamLAN's Avatar
    Join Date
    Sep 2004
    Posts
    56
    Er....maybe a game of chess? You could use hexadecimal to find the ASCII characters for each piece, create a code that prints the board, (using a 2D array), then have the user (whoever's turn it is) type in something like "A4 to B4" to simulate a motion. It should take a nice amount of time, make a nice cure for boredom.

  11. #11
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903
    I think coding up a version of your favorite casino game is always fun.. blackjack.. poker.. slot machine.. is always a fun way to go
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  12. #12
    Banned
    Join Date
    Oct 2004
    Posts
    8
    I have this problem often, once i went a week without programming a line of code.

  13. #13
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Try and start a program that will develop well, and you'll have this "Code Writer's Block" problem solved for quite some time.

    I went online and found some C# source code for a very simple HTTP server. I went through it line by line, broke it down into the basic pieces of a server, and basically rebuilt it. I now have the same functionality as the original server, but it's quite amazing how different the source code. It's barely recognizeable (and actually has higher-performance now!) The other day I downloaded the HTTP specification and my goal is to have it compeltely HTTP 1.1 compliant by Spring (northern hemisphere), CGI included, and then move onto FTP and other protocols, hopefully having a very good server ready before I'm 19.

    What started as a simple education project that I intended to last a week or so, I now have a project I work on for fun on a regular basis. It's just the perfect hobby for me right now. Try something like that. If games interest you, download the recently released source code from one of the FPS games like Rise of the Triads, break it down conceptually and then rebuild it in your own style, see if you can make it better, and then finish it up to have your own gaming engine.

  14. #14
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438
    Sean, that sounds like a great idea. Care to share the URL of where you found this http server?

  15. #15
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    http://www.sampullara.com/http.cs

    edit: The program flow is a bit hard to follow I think. Main is right down at the bottom, but just make a flow chart from that point. Once you've done your 'rebuild', spend a good couple of hours at www.w3.org reading over some technical specs and all the server-specific bits will start to make sense (though I think he commented rather well), and you'll get some ideas as to what you can add.
    Last edited by sean; 10-03-2004 at 08:45 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. About aes
    By gumit in forum C Programming
    Replies: 13
    Last Post: 10-24-2006, 03:42 PM
  2. HUGE fps jump
    By DavidP in forum Game Programming
    Replies: 23
    Last Post: 07-01-2004, 10:36 AM
  3. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM
  4. Programming Puns
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 44
    Last Post: 03-23-2002, 04:38 PM
  5. pointers
    By fanaonc in forum C Programming
    Replies: 3
    Last Post: 11-17-2001, 02:18 AM