English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i'm looking for ideas for a project in C programming.
something that is not complex, applying only the basics of it.
preferably, something that will only use stdio.h, stdlib.h and string.h.
thank you.

2007-03-13 11:07:04 · 2 answers · asked by Newbody 4 in Education & Reference Homework Help

something that is really interesting and not that easy.
something that can be B+ or higher.

2007-03-13 11:19:52 · update #1

2 answers

One thing I can think of that wouldn't be too hard would be to write a simple "encoder" and a "decoder" program.

The "encoder" program could take a letter as a parameter:

C:\> encode G

And then the program would just read from standard input and output to standard output, using a substitution cipher:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
- - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - -
G H I J K L M N O P Q R S T U V W X Y Z A B C D E F

So for instance, if it reads a B, it would output an H. If it reads a Y, it would output an E.

Then the decoder program would decode the text, if you use the same letter as was used to encode. If not, it would be gibberish.

2007-03-16 21:41:31 · answer #1 · answered by Jim Burnell 6 · 0 0

We have an ebook with over 200 programming projects which you can do in C. They are all different levels of difficulty and great for those learning the basics. Most of them will include stdlib, string etc. The great thing about this ebook is that you can work your way through from beginning to end level projects and master the language. Be sure to check it out.

http://www.coderslexicon.com/downloads/the-programmers-idea-book/

2015-07-16 07:44:19 · answer #2 · answered by Martyr2 7 · 0 0

fedest.com, questions and answers