Search:

Type: Posts; User: binaryboy

Search: Search took 0.00 seconds.

  1. Replies
    18
    Views
    3,087

    And that's where things are letting you down....

    And that's where things are letting you down. Remember the right hand side is evaluated first and then assigned to whatever's on the left side of the equals sign.

    Think about it, and consider that...
  2. Thanks, will definitely take a look. Also for...

    Thanks, will definitely take a look.

    Also for anyone interested, or in the same boat, I'm currently checking out devcon.
  3. Replies
    18
    Views
    3,087

    Why don't you tell us what you think each of the...

    Why don't you tell us what you think each of the three parts are doing?
  4. I'm not accessing it 'directly' as such, the...

    I'm not accessing it 'directly' as such, the drivers/code supplied do the hard work and all that is needed is for the user (or so far just me hard-coding) to supply the base address (by going to the...
  5. Replies
    15
    Views
    3,288

    Also remember that arrays start at position '0'....

    Also remember that arrays start at position '0'. In your code, a[j] (and the names when you fix them) will skip the first place and start at the second position (i.e. '1'). Just worth bearing it in...
  6. A way to automatically detect the base address of a PCI card

    Hi guys,

    I have a program that interfaces with a PCI card and it works fine, except that the needed PCI base address either has to be hard-coded or entered by the user. Ideally I would prefer for...
  7. Thread: Float help

    by binaryboy
    Replies
    2
    Views
    1,059

    Thanks. Using an integer (with cents as the...

    Thanks. Using an integer (with cents as the value) and the operations you said is what I changed my program to.

    Interesting code. I can see what you mean now. I just automatically assumed that...
  8. Thread: Float help

    by binaryboy
    Replies
    2
    Views
    1,059

    Float help

    Hi guys,

    Just doing an assignment now in which we have to calculate the wages due... It's all working fine except that our output should be of the form "You are owed 40 dollars and 50 cent"

    I'm...
  9. Interesting, it's been a long time since I've...

    Interesting, it's been a long time since I've messed around with dynamic arrays and the likes. Cheers for the input.
  10. Ok problem solved. I had a different variable in...

    Ok problem solved. I had a different variable in for 'size' in the first for loop. Only saw it when posting up here.
  11. Two dimensional dynamically allocated array problem

    Hi everyone.

    I'm having some trouble with dynamically allocating a 2D array. Here's the portion of code dealing with it.


    myArrayOne = new int*[size];

    for(int i = 0; i < size; ++i)
    {...
Results 1 to 11 of 11