Search:

Type: Posts; User: syneii

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    3,204

    In developing software, especially where geometry...

    In developing software, especially where geometry is involved, there's constantly a trade-off between accuracy and performance, despite that you're still always limited with respect to both and will...
  2. Thread: Pointers

    by syneii
    Replies
    14
    Views
    2,367

    I don't think that's necessarily a healthy...

    I don't think that's necessarily a healthy perspective. If I hadn't started off using pointers more often then I would never have really appreciated what exactly can go wrong with a program that...
  3. Thread: Pointers

    by syneii
    Replies
    14
    Views
    2,367

    It's become second nature for me to default to...

    It's become second nature for me to default to using pointers, I live dangerously. >:]

    ... it just makes things easier for me where dealing with NULL is a part of the application's design, and yes...
  4. Thread: Pointers

    by syneii
    Replies
    14
    Views
    2,367

    Appreciate the replies, unfortunately I was...

    Appreciate the replies, unfortunately I was responding in haste and had to leave before really evaluating what I wrote. I should have not hit reply when I did, in any case I went back and changed it...
  5. Thread: Pointers

    by syneii
    Replies
    14
    Views
    2,367

    Edit: Given responses to my reply below I've...

    Edit:
    Given responses to my reply below I've updated my post.
    Writing bad code ad-hoc is what I get for being in a hurry. Hehe. :)
    --

    There's also significant performance benefits. You can pass...
  6. Replies
    4
    Views
    1,013

    Let an integer 'x' equal some number of interest,...

    Let an integer 'x' equal some number of interest, and let integer 'k' equal zero. Then in a loop from j = 0 to array.size()-1 perform a check against each (array[j] == x); If true do nothing, if not...
  7. Replies
    5
    Views
    1,219

    You declared 'y' within the scope of a function,...

    You declared 'y' within the scope of a function, when the function scope ends the variable is destroyed. You'll want to declare 'y' in the global scope and remove the declaration within the function...
  8. Replies
    2
    Views
    3,069

    Edit; my example wasn't for binary tree's, so I...

    Edit; my example wasn't for binary tree's, so I re-wrote the example.

    You want to write a function that defines the recursive traversal, then invoke that function within another method. Below is a...
  9. More than half of your code is outside of the int...

    More than half of your code is outside of the int main() { } brackets, and is also not within a function declaration or anything for that matter.

    I highly recommend that you slowly *crawl* through...
  10. Thread: Need some help

    by syneii
    Replies
    14
    Views
    1,266

    Here is my full c++ code-like tutorial for you,...

    Here is my full c++ code-like tutorial for you, connecting everything and even adding it all up for ya.




    #include <iostream>

    using namespace std;

    int main(int argc, char *argv[])
  11. Replies
    2
    Views
    7,392

    My reply goes far beyond simple sounds, but you...

    My reply goes far beyond simple sounds, but you can create simple sounds with a very flexible and wide open potential to go further if you want.

    I do a lot of audio programming, which for the most...
  12. Replies
    4
    Views
    18,376

    Everything I posted is pseudo, it's not intended...

    Everything I posted is pseudo, it's not intended to be used as I wrote it. My words are a giant arrow giving a direction, you work your way down that path. ;p

    Draw(x,y) means ... do what ever you...
  13. Replies
    4
    Views
    18,376

    A bit off subject from your question, but I...

    A bit off subject from your question, but I couldn't help but notice that your random function doesn't do what you seem to want it to do (judging by the parameter names).

    With your method:
    min =...
  14. Replies
    4
    Views
    5,458

    Why was my response removed? rfoor, did you...

    Why was my response removed?

    rfoor, did you get my code before they deleted my post?

    Apparently they got really angry at me for giving you code in my reply.
  15. Replies
    4
    Views
    5,458

    Lucky for you I just worked out a thing like this...

    Lucky for you I just worked out a thing like this for an application I'm writing to study financial data (statistical-like things, har har).

    Say you got a CSV file with a set of elements,...
  16. Replies
    2
    Views
    3,943

    Just in case anyone on google finds this, I'd...

    Just in case anyone on google finds this, I'd like to leave the working end results. I didn't use PortMedia/PortMIDI in the end, instead I worked off of MSDN since I'm developing on a Windows 7...
  17. Replies
    2
    Views
    3,943

    I just came across PortMedia which has PortMIDI...

    I just came across PortMedia which has PortMIDI library for interfacing with MIDI. Unless I get any responses here that suggest otherwise I think I'll start poking around with that. :)

    PortMedia
  18. Replies
    2
    Views
    3,943

    C++, MIDI Instrument

    I have a MIDI device that I would like to use to interact with an application I'm developing. I've never messed with MIDI devices before so I'm not very familiar with what standard (if any) libraries...
Results 1 to 18 of 19