Currently browsing tag

C++

“C++: an octopus made by nailing extra legs onto a dog.” – Steve Taylor

C++ shell with forks and pipes

As an assignment for my operating systems class, we were to write a shell in C or C++. I’m putting my work here under the GNU General Public License v3 in hopes that it will be helpful for someone else, presumably some future student arguing with the C language, which I find infinitely frustrating to work with sometimes.

writing a server

Yarrgh, I have been programming all day, since I got up at 10:30 this morning. I’ve been working on my networking assignment, …

enqueue and dequeue

Source for enqueue() and dequeue() functions to add and remove data from a queue in a class. Node Struct Definition C++ struct …

Makefile

In a Unix environment when working with C++ or C, a Makefile can be a very handy thing. Instead of typing several …

sleeping chickens, reading

I just finished documenting a C++ program I had written a little while ago. I’m now just talking to Trin on AIM …

74.5/75

I just returned from the Corner Store, one of the groceries here on campus that accept our diner account funds, with dinner …

#include (“iostream”)

(10:15:18) michael: okay…now this thing: int age(0); (10:15:23) michael: i don’t know where you learned that but it’s wrong (10:15:27) michael: yes …

C++ example program

Ooh, it worked: C++ #include <iostream> using namespace std; int main () {      cout << "Welcome to C++ Programming." << …