I can't think of a good project ...

This is a discussion on I can't think of a good project ... within the C Programming forums, part of the General Programming Boards category; Since the day i started to learn C , i've been making small projects in the end of each 2 ...

  1. #1
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472

    I can't think of a good project ...

    Since the day i started to learn C , i've been making small projects in the end of each 2 or 3 chapters just to review the concepts. I also make projects when im away from C for a while and i need some refreshment.

    Now it has been a long while since i made a program , and i need to move on to C++ too , so i thought i should work on a project that will hopefully let me recall everything i've learned (and maybe learn a thing or two) , but i couldn't think of any usefull console program.

    I need a to make a program that :
    1. .. would be usefull for anyone who is familiar with console windows. Not just a program for geeks.
    2. ..requires the following :
      1. Linked lists ,stacks or queues.
      2. heavily rely on files and streams. (i.e : a program that deals with inputs from previous executions or analyse text files)
      3. Program parameters (argc & argv) (note : this one isn't really important)



    What i know about C is what any basic C book would cover (not binary trees though). However , im willing to learn any standard function(s) the project might require.

    Note that im not looking for a home-work-alike program. I need something REAL but not so complicated, so if you have any ideas please share them with me , It'll be much apprecited.
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  2. #2
    Watch for flying houses. Nessarose's Avatar
    Join Date
    Sep 2004
    Posts
    46
    Simple port scanner maybe? You get to learn socket programming along the way.

  3. #3
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472
    Nice idea , but im not willing to learn socket programming right now. I thought of this before but its a bit harder to do in a Windows platform because most of the tutorials i encountred were either easy but for *nix or for windows but with special and complicated functions\libs that might only work under a certian compiler. So i don't think im doing something that is windows\compiler based. (this made me want to learn sockets programming only on a platform with gcc)

    besides.. port scanners wouldn't need data from external files (maybe rarely) , and i need to review streams too.

    Thanks for replying Nessarose
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  4. #4
    #include<xErath.h> xErath's Avatar
    Join Date
    Jun 2004
    Posts
    722
    Perpahs a media player (only for mp3, to reduce work) with media library??

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,344
    Something which mimics this (to a degree of your choosing)
    http://www.xtreefanpage.org/

    You can have lots of fun with statistics, like the amount of space occupied by each directory, file type, whether backed up or not etc etc.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  6. #6
    Registered User manofsteel972's Avatar
    Join Date
    Mar 2004
    Posts
    317
    Only thing I can think of is some sort of file conversion or file manipulation program. Maybe a language translator or document converter from one format to another. Spell Checker maybe, maybe an audio mixer or sound effect generator.
    "Knowledge is proud that she knows so much; Wisdom is humble that she knows no more."
    -- Cowper

    Operating Systems=Slackware Linux 9.1,Windows 98/Xp
    Compilers=gcc 3.2.3, Visual C++ 6.0, DevC++(Mingw)

    You may teach a person from now until doom's day, but that person will only know what he learns himself.

    Now I know what doesn't work.

    A problem is understood by solving it, not by pondering it.

    For a bit of humor check out xkcd web comic http://xkcd.com/235/

  7. #7
    ---
    Join Date
    May 2004
    Posts
    1,379
    xErath has a good idea
    download the fmod library and play around with that.

  8. #8
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472
    xEarth & sand_man :
    that would be a bit difficult for me and i'd need to learn loads of stuff about it.

    manofsteel972 :
    yup... file manipulation

    Salem :
    This seems like the perfect project !! but im afraid that i can only do simple tasks like renaming a file , allocating its size, removing it, reading and writing from\to a text file and thats all.

    I've searched google and this site too but couldn't find something a bit advanced on this topic like how to :

    - search directory(s) for given file(s).
    - count the number of files in directory(s)
    - find the total size of files in a directory.
    - create new directories.
    - that :
    like the amount of space occupied by each directory, file type, whether backed up or not etc etc.
    and so on...

    i only found a thread here with Prelude showing a method for copying a file using DOS command (system() function) wich isn't really interesting because DOS will be doing all of the work for you...

    so... will you guys point me to like a tutorial that illustrates how to accomplish the previous tasks in pure C? (without DOS commands)

    or at least name some usefull file-related functions like 'remove()' and 'rename()' so i can study them and go on with my project.


    Thanks for replying.
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  9. #9
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,344
    > i only found a thread
    Scroll down to the end to see my posts then

    And the FAQ for attributes and sizes
    http://faq.cprogramming.com/cgi-bin/...&id=1044780608
    Also by me
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  10. #10
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472
    sorry i think i didn't notice those

    it looks a bit complicated at first glance but hopefully it'll be easier after i study it.

    Thanks for helping everyone
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. can not create Visual C++ Smart Device project
    By George2 in forum Tech Board
    Replies: 0
    Last Post: 11-26-2006, 05:20 AM
  2. renaming a project created with MSVC 6
    By Bleech in forum Windows Programming
    Replies: 2
    Last Post: 10-31-2006, 12:19 AM
  3. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 12:48 AM
  4. linked list recursive function spaghetti
    By ... in forum C++ Programming
    Replies: 4
    Last Post: 09-02-2003, 02:53 PM
  5. c++ OOP project ideas
    By newbie17 in forum C++ Programming
    Replies: 4
    Last Post: 02-25-2002, 11:40 AM

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