HFX Online Forum HFX Online Forum
September 09, 2010, 01:25:23 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Forum Upgraded...Finally!
 
Pages: [1]   Go Down
  Print  
Author Topic: C projects  (Read 6332 times)
syklops
Guest
« on: March 24, 2006, 12:29:49 PM »

Im learning C again, and as usual when i dont do something for a long time, i forget it ALL. So back to Hello World it was.

I am looking for some projects to code to get myself back into it, and need a couple of small projects to get the blood pumping. Does anyone have any ideas. And no smart alec replies like a linux Kernel, please.
Logged
Metgod
the deranged hacker
Administrator
Hero Member
*****
Offline Offline

Posts: 1063



« Reply #1 on: March 24, 2006, 01:33:12 PM »

Try the BSD kernel then. :)

Seriously though...

One thing that might be good is to do little exercises from a book/document (online or otherwise).

So, follow the material, and then at the end of each section, try the exercises. Don't have to succeed in everyone (although that's a plus) because it's the getting back into the thinking that is important. You'll gradually get better with it all anyway.

Otherwise I'm not sure what to offer. I can say that I think it's normal that you tend to forget things you don't do. I mean, it's not just the language, it's the skill in logic, thinking, etc.

Oh, I believe there are challenges around too. http://www.osix.net for example.

Those might be nice. If you need resources, I can help there too.

Hope this helps some. Let me know if you have any more questions though (or comments).
Logged

"My Terminal is my Soul"
benthehutt
Global Moderator
Sr. Member
*****
Offline Offline

Posts: 373


"Drugs? You'd better not be!" - my mom


WWW
« Reply #2 on: March 24, 2006, 04:08:47 PM »

I recommend socket programming Smiley

Seriously, write a small chatroom--it helped me get to know C real well.  (Though I admit--I'm still not totally finished with that project, if one side exits, the other side crashes)
Logged

Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Metgod
the deranged hacker
Administrator
Hero Member
*****
Offline Offline

Posts: 1063



« Reply #3 on: March 25, 2006, 02:53:08 PM »

Not only will it be useful for coding but also good for networking skill ...

I assume your program gets a SIGPIPE ?

Logged

"My Terminal is my Soul"
Cobra
cool?
Administrator
Sr. Member
*****
Offline Offline

Ireland, Republic of Ireland, Republic of

Posts: 445

My mom says im cool!


« Reply #4 on: March 27, 2006, 07:45:43 AM »

Me and C don't get on anymore these days .. haha
Logged

I am not suffering with insanity... I am loving every minute of it.
syklops
Guest
« Reply #5 on: March 27, 2006, 08:09:06 AM »

Ive done a bit of socket programming. I wrote a small packet sniffer  for linux. It was basic, it just opened a socket, and printed the types of packets it saw.

Im going to play about with the source codes for namp or netcat, and see if I can change it anyway.

A chatroom is an idea. I want to end up doing network programming anyway so it might be a good practice. Ill let you know how I get on.
« Last Edit: March 27, 2006, 08:09:27 AM by syklops » Logged
wizwom
Guest
« Reply #6 on: January 15, 2007, 09:30:38 PM »

I like programming a prime number finder.  Simple, contains a number of useful things, can be extended to complex.

Other interesting things to do:
Tic-Tac-Toe w/a computer opponent, if you want to learn a GUI

Address book, if you want to learn a DataBase

Email client, if you want to learn basic TCP/IP sessions

Life - a cellular Automaton

Logged
benthehutt
Global Moderator
Sr. Member
*****
Offline Offline

Posts: 373


"Drugs? You'd better not be!" - my mom


WWW
« Reply #7 on: January 16, 2007, 10:32:40 AM »

Prime number finders are great, and in C, you can get them to be pretty stinking fast.  For the tic-tac-toe game, I actually made one, but you couldn't actually win, it kinda sucked.  I think the hardest part about making a computer opponent is making it the right level of difficulty.  For instance, NOT IMPOSSIBLE, hehe.
Logged

Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
wilnix
mv user /dev/null
Administrator
Hero Member
*****
Offline Offline

Posts: 691


You're not the fastest packet in the subnet...


WWW
« Reply #8 on: January 07, 2010, 02:17:17 PM »

I just created a fully functioning webserver (text, html, gif, jpg, and png supported) with perl cgi support in C as a school project. It is far from perfect, but everything is functional. If there is an interest for it, I will post the files somehow. C is a frustrating language to use after writing in C++ for awhile.

wilnix
Logged

alt email address: wilnix@hackphreak.org
chandru49
Newbie
*
Offline Offline

India India

Posts: 28


« Reply #9 on: June 28, 2010, 12:52:58 AM »

1. A First Program 2. Let's Compute
3. Loops 4. Symbolic Constants
5. Conditionals 6. Pointers
7. Arrays 8. Character Arrays
9. I/O Capabilities 10. Functions
11. Command-line arguments 12. Graphical Interfaces: Dialog Boxes
============
Driving  Lessons Glasgow | Driving  Lessons
Logged
chandru49
Newbie
*
Offline Offline

India India

Posts: 28


« Reply #10 on: July 08, 2010, 08:10:57 AM »


Beginners / Lab Assignments

   C on Unix

Data Structures

   DBMS Projects

Device Driver & Compiler Design

   File Operations

Games and Graphics

   Hacking & Cracking, Virus

Hardware Interaction Through C

   Mathematics

Multimedia and Sound

   Terminate but Stay Resident (TSR)

Web Technologies


_________________
Free Games
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: