| | I don't plan these, but I just noticed that the bulk of these week's blog entries were C related and this newsletter will thus be a C special. Normal service next week, honest! It's been one of those weekends. I had to go into work on Saturday, got nothing done after 5 hours because the database wasn't ready and left my keys there by mistake. I couldn't remotely log in (the security device is on the keyring) and finish testing a release. So I had to go in again on Sunday... doh! Have a great week! | | Crossword Maker in C Robert Morris at Harvard (I don't know when or if he is still there but the source files are dated from 1995-2004) published a crossword maker. It's written in C and he has made the source code available as well as providing an online version. It uses pattern files to get the black squares and there are a couple of example files so easy to create your own. The links he published for word lists in the readme file have alas rotted away but there are plenty of word lists on the web, for instance Scrabble word lists on Mike Wolfberg's site. I'm tempted to convert this to C#, unless anyone else wants to have a go. As this seems to be platform independent code, I've added it as a permanent link in the C Games code library. | C Style Guide As used in Linux This follows on from the earlier post about typedefs. If you are au fait with the Linux Kernel Source distribution tarball then you'll know that Linus Torvalds wrote a C programming style guide that is included with it. It's also available in various places on the web. It has a few nuggets of wisdom, many from Kernighan & Richie, so I recommend it as a must read if you are a C programmer. Interesting points worth perusing are:- Indentation 8 chars.
- Break long lines and right justify
- Spaces, use of
There's the odd joke about Microsoft and Pascal programmers in there as well so it makes interesting reading! | Caucus - A Classroom Application Server in C This is a different way of doing things but I suspect it could work for other uses. Caucus is an application server that runs on a Linux/Unix server and implements a classroom through a web server like Apache. It provides:- A "room", with a class list. Only members can attend, and teachers and assistants have special privileges.
- Assignments, with scheduled start (visible) and stop dates, and due dates.
- Lessons and content -- anything that can be put on (or linked from) the web.
- A gradebook. Students can always (and only) see their own grades.
- Quizzes -- with automatic scoring
- Conversations that are highly structured, yet easy to follow and participate in.
In technology terms this is old- a mid 90s way of designing web solutions before scripting languages like PHP/ASP.NET existed and probably before Java application servers as well. However it is still a very good example of a solution to a problem and a major piece of work. | Development Projects from Initial Design to Completed Code Each project is a complete application with notes on the requirements, the design, the architecture, code and final project review. With full source code in C, C++ or C#. | | | | C / C++ / C# Ads | | | | Featured Articles | | | | | | | | Sign up for more free newsletters on your favorite topics | | | | You are receiving this newsletter because you subscribed to the About C / C++ / C# newsletter. If you wish to change your email address or unsubscribe, please click here. About respects your privacy: Our Privacy Policy Contact Information: 249 West 17th Street New York, NY, 10011 © 2010 About.com | | | | | Must Reads | | Advertisement | |
No comments:
Post a Comment