Search:

Type: Posts; User: ninjacookies

Search: Search took 0.00 seconds.

  1. anyone, please? I was thinking of storing the...

    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...
  2. Inheritance and program structure planning please help a newbie

    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...
  3. Sighandler questions with child/parent processes

    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...
  4. can anyone please help? please? thanks

    can anyone please help? please?

    thanks
  5. Please help, basic unsigned conversion questions

    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...
  6. NEED HELP QUICKLY PLEASE How to print top value of stack without popping (calculator

    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...
  7. wow snip thanks so much! I didn't realize it was...

    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...
  8. Inserting blank spaces in front of a string? NEED QUICK HELP PLEASE

    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...
  9. Replies
    2
    Views
    1,036

    Quick easy help needed please

    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...
  10. Replies
    4
    Views
    10,441

    thanks much for your reply...I was messing around...

    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...
  11. Replies
    4
    Views
    10,441

    Need help optimizing loops....

    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...
  12. #include #include ...

    #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...
  13. thanks a bunch for all your replies people, much...

    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
    ...
  14. Converting an unsigned int to to unsigned long long (64 bit)

    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...
Results 1 to 14 of 14