Search:

Type: Posts; User: Laos

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,296

    Hi! I would not even consided reading that code...

    Hi!
    I would not even consided reading that code line by line.. but I accidentaly stumbled over a line that says

    if(test=1)

    and I'll bet my right leg that's, at least one of the things that...
  2. Thread: big o notation

    by Laos
    Replies
    5
    Views
    2,588

    It's a way to meassure the amount of time a...

    It's a way to meassure the amount of time a procedure takes from completion to end for a given set of data.

    Let's say you are about to sort an array of lenght n, depending on the...
  3. Thread: "class" errors!

    by Laos
    Replies
    1
    Views
    1,207

    You cannot call a function from a global position...

    You cannot call a function from a global position in your code.

    Put

    PDAT[0].setp(0.0f, 0.0f);

    inside main() or some other function and it will most likely work.
  4. Replies
    4
    Views
    5,210

    Hi! Perhaps I missunderstood your question,...

    Hi!

    Perhaps I missunderstood your question, which will make this answer look kinda redicolous, but anyway:

    I figured you are trying to do something similar to the radar used in Counter-Strike....
  5. Replies
    2
    Views
    1,215

    Sure is. How depends on the way you want to...

    Sure is.
    How depends on the way you want to represent it though.
    plz spec. exactly what you want in the txt.

    btw; Does each element in the 2d array containt the value for one pixel, in that...
  6. Thread: Level Editor

    by Laos
    Replies
    11
    Views
    1,815

    Hi! The major reason why your code is not...

    Hi!

    The major reason why your code is not working is since it's written the way it is.

    Read some information about abstraction and general naming and you'll see it will all work very easily....
  7. Using comparing operetors on variables defined by Templates

    I cant figure out the syntax for how to create new operators such as '<', '>', '==', etc. for variables defined by Templates

    for example:
    ...
  8. Replies
    5
    Views
    1,485

    >Ok, so when you use the 'new' keyword, the...

    >Ok, so when you use the 'new' keyword, the pointer is kind of l>ike the variable, right?
    No, the pointer is still the pointer, it only points to a space you have reserved using new.


    >So if you...
  9. Thread: airplane again

    by Laos
    Replies
    5
    Views
    1,607

    Try to take a deep breath between each sentance...

    Try to take a deep breath between each sentance and explain your problem again.
    Hopefully this will help us understand whatever your problem is.

    /Laos
  10. Replies
    3
    Views
    1,627

    try this as the your string to system(); "ping...

    try this as the your string to system();

    "ping whatever_ip >> file.txt"

    that's your file, now analyze that one to found out if the computer is alive..
  11. Thread: Chess function

    by Laos
    Replies
    3
    Views
    2,431

    To do a chess AI is not that hard.. unless you...

    To do a chess AI is not that hard.. unless you really want it to kick ass, since that will make you have to teach the computer some of the most common "chess strategies".

    Basically as in all...
  12. Replies
    7
    Views
    1,226

    Well, per definition a binary tree has 2...

    Well, per definition a binary tree has 2 children, however you may aswell have as many children as you want to, though it would not be a binary tree any more, just a linked list.

    Please specify...
  13. Replies
    2
    Views
    1,829

    Hmm?

    ok, so far I've understood to from reading the msdn docs, but what's good with this.

    The thing I want is to store a alot of classes inside a .DLL file and then use them without have to rewrite the...
  14. Replies
    2
    Views
    1,829

    Sharing Classes using .DLL files?

    MSVC++ 6.0, Win2k Pro

    Hi, perhaps someone knows how to solve this problem of mine..

    Im trying to share classes using .DLL files, Like for example, it's quite easy to share function, and I bet...
Results 1 to 14 of 14