Thread: What kind of program should I write?

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    7

    What kind of program should I write?

    I've had 2 C classes in college and have my "The C Programming Language" book by Dennis Ritchie at my side.

    I'm about to enter the workforce and really want to hone up on C. What type of programs should I write to really get into this? I've done the simple programs you get in college, and am looking for something more robust. Any ideas?


    Thanks!

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    A text editor would be a good project. You can make it as simple as inserting and deleting lines on the command line, or as complex as full insertion, deletion, replacement and searching with regular expressions and a GUI interface. This is a good exercise in optimized non-trivial data structures and algorithms.
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    7
    That sounds great. The first thing I thought about was the old unix VI command.

    any other good ideas out there? This will be on a windows based system.

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    What area of work are you moving into? There are many aspects to programming, so of which you may or may not actually touch on in your career.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Registered User
    Join Date
    Nov 2003
    Posts
    7
    My company makes data quality software and mail processing software. We develop for well over 13 platforms and most of the code is written in C, running on the various UNIX platforms we support. I really want to gain a full-time position there in a couple of months and would like to polish and learn everything I can.

    No matter what I write it will help, but I just can't get any good ideas. I hope that answered your quesion.

  6. #6
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>data quality software and mail processing software<<
    Sounds like raw data manipulation could be a good start. Something to reformat a name+address list, verify zip codes, etc. How about a system that verifies structured input data based on predefined templates.

    I dunno what level you're at etc, so I can only really advise you to think of something your company does, and incorporate that into your program.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  7. #7
    Registered User
    Join Date
    Nov 2003
    Posts
    7
    Thank you for your help. Your solution was so easy I should've thought about it - write something that my company has already written.

    Although the only hurdle I see is actually gaining the information (database of zip codes, states, streets, etc..) I'll probably just go ahead and make some fake data and go from there. Great idea!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Client-server system with input from separate program
    By robot-ic in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-16-2009, 03:30 PM
  2. How to write a program
    By Tashfique in forum C++ Programming
    Replies: 4
    Last Post: 10-17-2008, 11:28 AM
  3. Program to write to memory map addresses
    By modest in forum C Programming
    Replies: 15
    Last Post: 06-03-2008, 03:20 PM
  4. Replies: 13
    Last Post: 01-13-2008, 09:38 PM
  5. write a program
    By angelgemini in forum C Programming
    Replies: 13
    Last Post: 12-05-2007, 11:39 AM