Search:

Type: Posts; User: walla

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. This is not what I wanted. I don't want pointer...

    This is not what I wanted.
    I don't want pointer to the allocation it does to store the data.
    I want a pointer to the actual vector structs in the memory, where it keeps all its members and etc'...
  2. Unable to see memory location of vector in watch window in VS 2008

    Hello,
    I just wrote a couple lines of code to see how the memory of vector variable is and I cant seems to make it show in the watch window.


    vector<BYTE> buf;
    buf.push_back('b');...
  3. Replies
    9
    Views
    1,350

    Just to say, I already gave up and changed this...

    Just to say, I already gave up and changed this stupid goto :o
    Anyway currently there is no finally there.
    Let's say that is __finally
    Does goto from catch make __finally irrelevant?
  4. Replies
    2
    Views
    1,383

    Thanks!

    Thanks!
  5. Replies
    2
    Views
    1,383

    Using ReadFile from different threads

    Every thread has another handle to the file (the same file to all) in order that every handle will hold its own offset.
    Anyway, is it safe to read from the file in several thread at the same time...
  6. Replies
    9
    Views
    1,350

    VS. Of course the code isn't mine, I need to...

    VS.
    Of course the code isn't mine, I need to maintain it while doing minimum changes.
  7. Replies
    9
    Views
    1,350

    goto from within try block

    Hi :D
    Just to make sure, if there is goto from within try block then we will not arrive to finally, correct?
    Thanks
  8. we already managed but thanks, apparently this is...

    we already managed but thanks, apparently this is not trivial, not all functions you can run :D
  9. I will quote from wiki the solution :D:...

    I will quote from wiki the solution :D:
    "Interpreters of Reverse Polish notation are often stack-based; that is, operands are pushed onto a stack, and when an operation is performed, its operands...
  10. Is it possible to execute functions while debugging (VS)

    Assume you have a complex structure (e.g. hash table) that you hold ptr to (pHash).
    Now in the middle of nowhere, you would like to print the data within pHash (with no real time edit+compile) .
    Is...
  11. Replies
    4
    Views
    1,863

    why pa=&(data_buffer[0][0]); /* Pointer points...

    why

    pa=&(data_buffer[0][0]); /* Pointer points at contents at [0][0] */
    size=*pa; /* Put contents of pointer into (size)*/

    why not just

    size=data_buffer[0][0]
  12. It is usually said about regular expressions :)

    It is usually said about regular expressions :)
  13. Replies
    21
    Views
    2,371

    You have to go out on the evenings after work,...

    You have to go out on the evenings after work, only working is a guaranty for depression.
    Sunlight is important too, at least 10 minutes a day!
  14. Replies
    4
    Views
    3,116

    just a guess: author is only 30 chars long,...

    just a guess:
    author is only 30 chars long, maybe you try to put there something with more chars?
    then you may fall in the printf.
  15. Replies
    10
    Views
    2,562

    because you want to show an error only when the...

    because you want to show an error only when the user gives an input that is not album and also not single.
    If you would put or there it will actually don't show an error never.
    Let's assume there...
  16. Replies
    8
    Views
    1,041

    Interesting.. thanks :D

    Interesting..
    thanks :D
  17. Replies
    8
    Views
    1,041

    He didn't use anything from std

    He didn't use anything from std
  18. Replies
    36
    Views
    6,164

    I wish to be the manly version of Nikita, this...

    I wish to be the manly version of Nikita, this can be useful..
  19. Replies
    8
    Views
    1,041

    BTW, I didn't try to compile but I think the ...

    BTW, I didn't try to compile but I think the


    using namespace std;

    is unnecessary in your current implementation.
  20. Thread: three

    by walla
    Replies
    4
    Views
    874

    First of all I will recommend in the future to...

    First of all I will recommend in the future to use more explanatory title.
    Second, the problem is much more difficult than you are trying to solve in the code.
    e.g. lets say n=10, then your...
  21. Replies
    1
    Views
    4,377

    There are some problems. for example: itemNumber...

    There are some problems. for example:
    itemNumber is a class member, the line

    scanf(fPtr, "%d", &itemNumber);
    is wrong.
    you need to allocate memory for one Item and then use its data to put...
  22. Thread: Introduction?

    by walla
    Replies
    9
    Views
    1,891

    welcome :wink:

    welcome :wink:
  23. Replies
    3
    Views
    1,485

    Simple google search could give you so many...

    Simple google search could give you so many results.
    here is one of them:
    TUTORIAL: Defining and Overloading Operators in C++
  24. Thread: Guidance needed

    by walla
    Replies
    24
    Views
    2,890

    I think this is the comment of the year! :) I...

    I think this is the comment of the year! :)

    I met some people that weren't really interested in computers and went to study it anyway, they were not happy.
    Don't you like something else that can...
  25. Replies
    8
    Views
    3,057

    Hello!

    Hello!
Results 1 to 25 of 37
Page 1 of 2 1 2