Explore >> Select a destination


You are here

blog.dornea.nu
| | blog.oddbit.com
1.8 parsecs away

Travel
| | Overview I was recently working with someone else's C source and I wanted to add some basic error checking without mucking up the code with a bunch of if statements and calls to perror. I ended up implementing a simple must function that checks the return value of an expression, and exits with an error if the return value is less than 0. You use it like this: must(fd = open("textfile.txt", O_RDONLY)); Or:
| | gist.github.com
0.9 parsecs away

Travel
| | GitHub Gist: instantly share code, notes, and snippets.
| | vcansimplify.wordpress.com
4.2 parsecs away

Travel
| | Following my previous post here , I'll get to the programming part.But before that a few concepts that are important. Client Server Model Anytime two devices want to connect through a TCP/IP socket , one of them has to be a client and the other has to be a server. As an example your computer...
| | www.skitoy.com
16.1 parsecs away

Travel
| Looking at event IO frameworks and found some really good comments about the "ev" library, the challenge is that I would rather work in C++ than pure C - I like ...