particianing software

This is a discussion on particianing software within the C++ Programming forums, part of the General Programming Boards category; i just started learning c++ this week. And I think that a first good project for me to do would ...

  1. #1
    zzz
    zzz is offline
    Registered User
    Join Date
    Feb 2006
    Posts
    13

    particianing software

    i just started learning c++ this week. And I think that a first good project for me to do would be making a particianing program. The only problem is i really have no idea how to do this. Can someone just give me a link to a website describing the process?

    Thanks

    zzz

  2. #2
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    If you mean "partitioning", then no, that is not a good first week project

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,333
    It's right up there with write an OS

  4. #4
    zzz
    zzz is offline
    Registered User
    Join Date
    Feb 2006
    Posts
    13
    Well any ideas on what would be an easy project to start on, but could be continued in to something worth it?

    PS Well ive been looking around c++ for a while now my only complient is all the brackets. Its sort of hard to get used to.

  5. #5
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    Well any ideas on what would be an easy project to start on, but could be continued in to something worth it?
    Hello world?

  6. #6
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,062
    When you're talking about programming, easy and worth it don't really go hand and hand. The only thing "worth it" about the programs is they'll get you on track to learning programming as fast and efficiently as you can.

    Look at the tutorials. Each one comes with a test yourself at the bottom. Do those. You also might want to pick up a programming book at a library or a store. Many of them will have exercises in them that you can do.
    Sent from my iPadŽ

  7. #7
    zzz
    zzz is offline
    Registered User
    Join Date
    Feb 2006
    Posts
    13
    K. What i meant is something that i wont just do in a day be done with and never think about again in my life. I just dont want a project that requires an expert to do.

    thx

  8. #8
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,062
    That's like saying I want to do something important but I don't want it to require any kind of skill whatsoever. I'm sorry to tell you, there is no such thing.
    Sent from my iPadŽ

  9. #9
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    A text RPG

  10. #10
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    the classic beginning project is a payroll program. It'll teach the basics of design, interaction between objects, etc, but it also has the possibility for huge expansion.

    Start by writing out a spec.
    what should the program do?
    - It should manage employee details(name, address etc)
    - how many hours they worked
    - hourly rate
    - calculate pay per employee and for the whole company
    - tax

    then figure out what the classes are
    - look at nouns for classes and verbs for methods
    - figure out a heirarchy (e.g. factory workers and managers are employees)
    - design the interactions (i.e. a manager can fire a worker)

    sit down and code it. there are several aspects of the program you need to think about
    UI - start with a simple console interface, but try to design the classes so that you could use a GUI later
    persistence - it'd be nice to save and load details to a file. again start with something simple (e.g. a flat text file) but try to keep the code flexible enough so that later you could use xml or a db.
    algorithms - think about tax rates, etc. Try to allow for different tax rates and thresholds and allow the user to edit them.

    that's just a quick idea, but it should be enough to get you started.
    "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?

  11. #11
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,333
    > Well any ideas on what would be an easy project to start on
    Lets see, you have 3 posts so far, and none have a single line of code.
    How the hell are we supposed to judge your level of competence at programming?

    OK, start by telling us (or better yet showing us) the last program you completed, then perhaps we can suggest something a little harder to try next.

  12. #12
    zzz
    zzz is offline
    Registered User
    Join Date
    Feb 2006
    Posts
    13
    I like ChaosEngine's idea. I think ill try that one.

    thanx all

  13. #13
    Registered User wildex999's Avatar
    Join Date
    Feb 2006
    Posts
    15
    Do as me :P Make a Tic Tac Toe game ^^
    I have read the cprogramming.com tutorials(The basic ones, up to classes) and have made a basic Tic Tac Toe game, working and playable, and it can be expended on the way as you learn.

    BTW, I had coding experience in other languages before jumping to C++(HTML, PHP, GML)

    EXE: Download[500KB]

    Remember, this is my FIRST project with C++, don't expect clean and nice code, as i learned on the way.

    Code(C++): Download[8KB]
    Text colors header file(C++): Download[8KB]

  14. #14
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    Hey wildex, it'd be really cool if you made AI for that...
    Also, entering a letter as a coordinate makes an infinite loop

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Software Developer Opportunity in Delaware
    By Jdorazio in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 04-28-2009, 10:58 AM
  2. Software Design/Test - Redmond, WA
    By IRVolt in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 06-11-2008, 10:26 AM
  3. Why C Matters
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 136
    Last Post: 01-16-2008, 08:09 AM
  4. Adding trial period to software
    By BobS0327 in forum C Programming
    Replies: 17
    Last Post: 01-03-2006, 01:13 PM

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