Click here to Skip to main content
15,900,254 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHere's a good one. Pin
JD Steffen16-Aug-04 15:58
JD Steffen16-Aug-04 15:58 
GeneralRe: Here's a good one. Pin
Rory Solley16-Aug-04 21:27
Rory Solley16-Aug-04 21:27 
GeneralWinsock 2: Local IP address Pin
wooden0jesus16-Aug-04 14:25
wooden0jesus16-Aug-04 14:25 
GeneralRe: Winsock 2: Local IP address Pin
Antony M Kancidrowski16-Aug-04 22:56
Antony M Kancidrowski16-Aug-04 22:56 
GeneralRegRestoreKey huge delay on 2003 Pin
farby16-Aug-04 11:57
farby16-Aug-04 11:57 
GeneralProject Suggestions Pin
Archer28216-Aug-04 11:55
Archer28216-Aug-04 11:55 
GeneralRe: Project Suggestions Pin
Christian Graus16-Aug-04 12:16
protectorChristian Graus16-Aug-04 12:16 
GeneralRe: Project Suggestions Pin
David Crow17-Aug-04 3:38
David Crow17-Aug-04 3:38 
When I was in undergraduate school, we did quite a few programs that used stdio as the input, and stdout as the output. We were on a Unix box so piping was a big deal, too. Here are some smaller projects that taught, and at the same time, were easy to implement:

  • Create a file with random numbers, one per line. Pipe that file through an averager, and a sorter (not the one that comes with the OS).
  • A grading program. Each line of the file should contain the student's name, followed by 0 or more scores, each separated by a vertical bar (or some other easy-to-read character). Pipe that file through a grading program to give each student's average score, and perhaps a letter grade. Sort students by average score.
  • Roman numeral to arabic converter.
  • Palindromes
  • A program that, given a .h or .c file as a starting point, will go through the file and show the #include hierarchy. Each #include encounter will be a "recursive" call. Determine if a circular dependency exists.
  • A program that will determine if a pattern matches an input string.
  • A program that will determine if a number is prime.

    These are just some off the top of my head.


    "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


  • GeneralUsing a templated CView class with the MDI or SDI framework Pin
    BAmity16-Aug-04 11:50
    BAmity16-Aug-04 11:50 
    GeneralLocking a combobox and handling CFormView closing Pin
    BlackDice16-Aug-04 11:34
    BlackDice16-Aug-04 11:34 
    GeneralRe: Locking a combobox and handling CFormView closing Pin
    David Crow17-Aug-04 3:55
    David Crow17-Aug-04 3:55 
    GeneralRe: Locking a combobox and handling CFormView closing Pin
    BlackDice17-Aug-04 5:11
    BlackDice17-Aug-04 5:11 
    GeneralRe: Locking a combobox and handling CFormView closing Pin
    David Crow17-Aug-04 5:51
    David Crow17-Aug-04 5:51 
    GeneralVisual C++ start problem...delay Pin
    GuimaSun16-Aug-04 9:17
    GuimaSun16-Aug-04 9:17 
    GeneralRe: Visual C++ start problem...delay Pin
    David Crow16-Aug-04 10:24
    David Crow16-Aug-04 10:24 
    GeneralRe: Visual C++ start problem...delay Pin
    nnvidya16-Aug-04 23:03
    nnvidya16-Aug-04 23:03 
    GeneralRe: Visual C++ start problem...delay Pin
    David Crow17-Aug-04 3:20
    David Crow17-Aug-04 3:20 
    GeneralRe: Visual C++ start problem...delay Pin
    GuimaSun17-Aug-04 3:55
    GuimaSun17-Aug-04 3:55 
    GeneralRe: Visual C++ start problem...delay Pin
    David Crow17-Aug-04 4:00
    David Crow17-Aug-04 4:00 
    GeneralDifference between "->" and "." Pin
    crushinghellhammer16-Aug-04 9:08
    crushinghellhammer16-Aug-04 9:08 
    GeneralRe: Difference between "->" and "." Pin
    crushinghellhammer16-Aug-04 9:15
    crushinghellhammer16-Aug-04 9:15 
    GeneralRe: Difference between "->" and "." Pin
    Wes Aday16-Aug-04 9:17
    professionalWes Aday16-Aug-04 9:17 
    GeneralRe: Difference between "->" and "." Pin
    weblee16-Aug-04 9:52
    weblee16-Aug-04 9:52 
    Generalno print preview for CFormView in .Net 2003 Pin
    BlackDice16-Aug-04 8:59
    BlackDice16-Aug-04 8:59 
    QuestionA chatsite for questions? Pin
    Anonymous16-Aug-04 8:46
    Anonymous16-Aug-04 8:46 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.