anyone, please?
I was thinking of storing the technologies as a class and then creating an array of technologies (with member functions to add and delete a technology) and then having pointers to...
Type: Posts; User: ninjacookies
anyone, please?
I was thinking of storing the technologies as a class and then creating an array of technologies (with member functions to add and delete a technology) and then having pointers to...
Hello all, I've been away from programming a good few years and am back in school now trying to picked up where I left off. I'm currently in a C++ data structures class, and we're learning about...
Hello all, I currently have the following program which uses fork to create two child processes which exit normally and return back to the parents and give the following output:
child 2916...
can anyone please help? please?
thanks
The following is code which is run on a machine where values of type int are 32bits. They are represented in two's-complement, and right shifted arithmetically (meaning the bits are shift right, and...
The following code acts as a reverse polish notation calculator
example: 5 5 +
outputs 10
I'm trying to figure out a method to print the top element of the stack without popping using...
wow snip thanks so much! I didn't realize it was that easy...I kept on experimenting with strlength comparisons and even tried to implement a very complicated node pointer scheme...I'm only going on...
Hello all, I'm trying to alter this code for atoi to accept an integer argument, which, if the number is larger than the length of the output string, it will insert the difference in spaces in front...
Hi all, I'm stuck with this program and cannot figure out why it's not compiling on me. It keeps giving me an 'undefined reference to bar' error message and fails to compile. Any ideas/suggestions...
thanks much for your reply...I was messing around with loop unrolling (Which I hear is much more efficient) but the resultant image is not the same as the original code when I use the following to...
Hi all...I've written a program which successfully does very basic image manipulation utilizing a square image input source.
I'm just curious if there's anything I can do to optimize the following...
#include <stdio.h>
#include <sys/types.h>
static unsigned cyc_hi = 0;
static unsigned cyc_lo = 0;
/* Set *hi and *lo to the high and low order bits of the cycle counter. */
void...
thanks a bunch for all your replies people, much appreciated
I guess let me rephrase what I'm trying to do
I'm trying to seperately convert each of two unsigned ints into unsigned long longs
...
Hi everyone...excellent forum you have here!! I will definitely be frequenting this area a lot as I am fairly new to the programming scene.
Anyways, I'm writing this program and I'm trying to...