?
Solved

Simple project suggestions

Posted on 2000-03-30
5
Medium Priority
?
254 Views
Last Modified: 2010-04-15
I'm looking for suggestions for not too difficult program assignments for beginning C students (DOS or gcc).  

They know about basic console I/O, arrays, and function calls, but won't get to pointers or file I/O until next term.

An ideal assignment is one that could be worked on by three people.

Something like a simple black-jack program is right at the upper limit of their abilities.

Ideas?
0
Comment
Question by:cookre
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 8

Accepted Solution

by:
stochastic earned 200 total points
ID: 2671927
cookre,

Do you know the book by Kernighan and Ritchie? It is rich in programming exercises. I think you will find a large collection there, from which you could choose or adapt.

Look at these titles:
C Programming Language, 2nd Ed
by Brian W. Kernighan, Dennis M. Ritchie (Contributor)

The C Answer Book : Solutions to the Exercises in the C Programming Language, Second Edition, by Brian W. Kernighan and Dennis M. Ritchie (Prentice Ha
by Clovis L. Tondo, Scott E. Gimpel, Brian W. C programming Kernighan

Both available on amazon, and I daresay, in any reasonable bookstore.

If for some reason you don't want to use the book(s), I could suggest a problem ... please let me know.

- stochastic
0
 
LVL 5

Expert Comment

by:laeuchli
ID: 2673108
I did a good example once. Make a program that stores phone numbers and names in a file, can add to the file, display the file on screen, and alphabetachly order the file.
0
 
LVL 4

Expert Comment

by:captainkirk
ID: 2673505
1) How about inputting a series of numbers and sorting the array created to store them, calculating the average, mean and std dev of the elements... that's the old stand by.

2) how about reversing the array (reversing character strings)

3) how about matrix operations (mult, inverse, etc...)

There is a more advanced example I have in mind, but it will require more fun knowledge like how to directly write to the screen in DOS ... this one is an Etch-A-Sketch simulator... probably have to wait until next term...
0
 
LVL 22

Author Comment

by:cookre
ID: 2673952
All good, useful ideas.  Everyone deserves points, so I'll award this question to stochastic and post questions with points for the rest of you.

Thanks much.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question