EvilZone

Programming and Scripting => C - C++ => : Polyphony September 16, 2012, 08:43:40 PM

: I'm out of cool ideas on what to program in C
: Polyphony September 16, 2012, 08:43:40 PM
as the title says, I don't know what to program in c, I've hit a spot where simple little terminal apps are kind of easy and it's hard to make a complex one (to me because of the lack of imagination probably) but gui apps using sdl and stuff are hard, does anybody have any suggestions on what I should program?
: Re: I'm out of cool ideas on what to program in C
: ca0s September 16, 2012, 08:52:45 PM
- Do something kernel related
- Code some malware / rootkits
- Try to implement other language's things (look at the ArrayList thread).
- Code a server (http, ftp, etc)
- Crypto?
Idk dude, it also happens to me.
: Re: I'm out of cool ideas on what to program in C
: Polyphony September 16, 2012, 08:56:06 PM
I would like to do something kernel level like a module or something for a USB flash drive, but I don't want to have to compile a kernel to "Make" against :/ I might do that though.  Thanks for the suggestions :)
: Re: I'm out of cool ideas on what to program in C
: ca0s September 16, 2012, 09:04:01 PM
Compile it as a loadable kernel module, then insmod.
http://tldp.org/LDP/lkmpg/2.6/html/index.html
: Re: I'm out of cool ideas on what to program in C
: ande September 16, 2012, 10:07:42 PM
Various servers is always fun and useful to make. IRC, DNS, HTTP, FTP, SSH, SMTP etc etc.
: Re: I'm out of cool ideas on what to program in C
: namespace7 September 16, 2012, 10:10:08 PM
Code a Multi-User-Dungeon game that runs in the command line and allows people to connect to the server that you will code without having the client. That is, they can simply telnet into your MUD server, register or log in, and play with others in real time. The game environment should of course be textual, meaning that everything is described rather then drawn. The game should have a simple map, with at least 30 rooms. Each room has exits to other rooms. Some rooms should have monsters and NPCs with whom you can trade items or get quests. The game should have at least 10 quests to start with. Players can "see" other players in the room by looking at the description of the room. They can chat with each other, trade and also kill each other.


Anyway, be creative.
Note: once you make the MUD server, consider building a custom client for it to make it easier and more fun to use.
And by the way, linux doesn't have any decent MUD client. You could even start an open source project. Look at windows MUSHclient to get the idea of the required standards.



: Re: I'm out of cool ideas on what to program in C
: Polyphony September 17, 2012, 03:24:14 AM
sounds cool namespace7, but really I hate game programming :D but I'm really digging the server type dealio that seems to be coming from almost every suggestion, i'm probably going to make a chat or file sharing server/client in c :) thanks for the ideas everyone
: Re: I'm out of cool ideas on what to program in C
: Xires September 17, 2012, 02:47:03 PM
I'd suggest getting into some data structures.  Those can be applied in many different ways for lots of different purposes.  Afterward, I'd suggest learning to work with some useful libraries like curses, glib2, etc.  When you're ready, I'd strongly recommend taking a look at 0mq (http://www.zeromq.org/).
: Re: I'm out of cool ideas on what to program in C
: Polyphony September 18, 2012, 05:09:21 AM
great idea Xires, I don't think I'm ready for Omq yet ;) sounds pretty darn cool though... I guess I really need to learn ncurses one of these days so that is always an option lurking in the back of my mind