practical programming

This is a discussion on practical programming within the C++ Programming forums, part of the General Programming Boards category; one of the things i've looked forward to in comp sci is being able to make small tools for my ...

  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    13

    practical programming

    one of the things i've looked forward to in comp sci is being able to make small tools for my self with what i've learned.

    but the thing is that even after data structures, i know nothing practical with C++. i can only create command-line programs that serve no purpose.

    with what i've learned so far, what resources can i check up on (books or site) where i can channel what i know into something useful?

    what i had in mind were mods for games, maybe small apps that connect to mysql DBs for record keeping purposes.

    p.s. i've done google searches on this, but nothing fruitful has come of it yet.

  2. #2
    Registered User Terran's Avatar
    Join Date
    May 2008
    Location
    Nashua, NH
    Posts
    100
    it really depends what you want to do, games? try LibSDL. GUI widget programs? try wxWidgets?
    Without knowing your skill level and what you're interested in, it's hard to point you in a certain direction. There's libraries for just about everything.

  3. #3
    Banned
    Join Date
    Nov 2007
    Posts
    678
    Quote Originally Posted by IXxAlnxXI View Post
    one of the things i've looked forward to in comp sci is being able to make small tools for my self with what i've learned.
    That's right!

    but the thing is that even after data structures, i know nothing practical with C++. i can only create command-line programs that serve no purpose.
    Unless you feel proficient in C++, you can still write some console based utility programs. If you are on Linux, then emulating some of the basic commands should be real fun and very educative also. If you have both Windows and Linux you can try writing some of the simple command line utilities available on Linux for your Windows. One example would be grep.

    with what i've learned so far, what resources can i check up on (books or site) where i can channel what i know into something useful?
    Should it be, that, games are fun for you, try learning SDL for developing some really cool 2D based games.

    what i had in mind were mods for games, maybe small apps that connect to mysql DBs for record keeping purposes.
    Umm. Sorry, can't figure out what you are tying to say or ask

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    I don't have any idea how you go about modding games - and if I did, the forum rules would still prevent me from giving any details on the subject.

    In the case of connecting to MySql, you can probably find about a dozen sites dedicated to MySql and the related C interfaces. Repeating even 10% of that here would be a hard task to fulfill.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User
    Join Date
    May 2008
    Posts
    53
    You will have to realize that "serving a practical purpose" differs for everyone. If your programming class focused on implementing least-squares-fits through data sets, sorting names, or calculating the energy levels of quantum wells, yet your idea of "practical purpose" is "database stuff" and "game mods", then there's a disconnect leaving you frustrated.

    The suggestions to look into SDL here are probably more useful if you want to write a game from scratch yourself. Adding a "level" or feature to an existing game is a whole different thing.

    Perhaps you should look into languages like PHP which should be relatively easy to understand since you know C++. This lets you develop "web-apps"; you can set up a database with all your CDs in it which you can query over a web interface. With this, you can get interactive, fancy-looking, "serving-a-purpose" code quickly.

    Good luck,
    Sander

    --
    Computer Programming: An Introduction for the Scientifically Inclined

  6. #6
    Registered User Terran's Avatar
    Join Date
    May 2008
    Location
    Nashua, NH
    Posts
    100
    oh and if you really want to make "game mods" the way most people go about it is to obtain the source code of the game that released under a GNU-type license by the developers.

    The old Half-Life SDK is a perfect example.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Practical C Programming, Third Edition
    By jc99 in forum C Programming
    Replies: 10
    Last Post: 06-19-2009, 10:24 PM
  2. A practical help
    By Ducky in forum C++ Programming
    Replies: 9
    Last Post: 12-29-2007, 10:18 AM
  3. practical c programming - oreilly problem ?
    By goosematt in forum C Programming
    Replies: 18
    Last Post: 12-09-2004, 08:25 AM
  4. making it practical
    By zbap in forum C++ Programming
    Replies: 2
    Last Post: 03-08-2002, 10:51 AM
  5. Satalite Internet in UK
    By (TNT) in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 02-19-2002, 08:02 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21