Search:

Type: Posts; User: keira

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    1,682

    Setting Focus in Dialog

    Hello, I have a custom control that can only be set as the first window to receive messages (from keyboard, mouse, etc...) using the "tabstop" feature. So if I set the custom control to be...
  2. Replies
    4
    Views
    1,618

    help with multidimensional array

    if 4 lems are created in a 2 by 2 array, why does the for statement beneath the while statement output index 2 and 3 as being NULL?

    Could it be the fact that I flattened the array by accessing...
  3. Replies
    1
    Views
    1,058

    compiler choking on mem_fun_ref()

    Hello, can someone please explain the error I am getting in order to help me get my code to compile?




    class RomanNumeral
    {
    UINT mValue;
    vector<Symbol> mSymbols;
  4. Replies
    6
    Views
    7,140

    stdio differences windows vs linux

    Hi, I had to write a trivial database program using first principles with the C standard library. I wrote and tested the program on windows in binary mode, because I thought the C standard library...
  5. Replies
    1
    Views
    1,933

    Position mouse in external application

    Hello, I am trying to position the mouse in an external application relative to that application's screen coordinates.

    I can move the mouse relative to my application's x,y position like this: ...
  6. Replies
    2
    Views
    4,453

    oh. thanks for your help!

    oh.

    thanks for your help!
  7. Replies
    2
    Views
    4,453

    Generate asm listing file with CL

    Hi, I am using visual studio 2008 and I want to generate a listing file for a project with multiple source files. Can this be done?

    I have tried the /Fa option and here is the error I got:
    ...
  8. Replies
    6
    Views
    3,348

    You would have a header file that declares...

    You would have a header file that declares GETINTERFACE as extern, included by both the dll and the client, I think.
  9. for (int k = 0; k < V.size(); k++) { for...

    for (int k = 0; k < V.size(); k++)
    {
    for (int inner; inner < W.size(); inner++)
    {
    if ( angle(&V.at(k), &W.at(inner)) > theta )
    {
    W.push_back(V.at(k));
    break; //...
  10. Replies
    14
    Views
    2,010

    I think I misunderstood laserlight. If I can...

    I think I misunderstood laserlight. If I can dynamic_cast it fine, doesn't that rule out type slicing?
  11. Replies
    14
    Views
    2,010

    Delving deeper into SimSet ( what...

    Delving deeper into SimSet ( what listOfSimObjects is )



    template<class T> inline void VectorPtr<T>::push_back(const T& x)
    {
    Parent::push_back((Parent::const_reference)x);
    }
  12. Replies
    14
    Views
    2,010

    Yes, it's very strange, there must be something...

    Yes, it's very strange, there must be something else going on as you alluded earlier.

    Also, the reason I don't simply




    void VisManager::processClient()
    {
    if (!mDirty ||...
  13. Replies
    14
    Views
    2,010

    My gut tells me it has something to do with this:...

    My gut tells me it has something to do with this:



    void addObject(SceneObject* unit)
    {
    listOfSceneObjects.add(unit);
    }

    that shows how the listOfSceneObjects gets populated in the...
  14. Replies
    14
    Views
    2,010

    Okay, thanks, RTSConnection* conn =...

    Okay, thanks,



    RTSConnection* conn = RTSConnection::getServerConnection();
    for (U32 i = 0; i < mObjectList.size(); i++)
    {
    SceneObject* unit = listOfSceneObjects[i];

    ...
  15. Replies
    14
    Views
    2,010

    Virtual Method question...

    Hello.

    For some reason my virtual base method is being called on a pointer to a derived object that overrides the virtual base method. And I don't understand why... Here's some psuedo code...
  16. Replies
    0
    Views
    1,994

    Niche Question: real time stock quotes

    Hi, a lot of services require payment to receive real-time (not more than 5 second delay) stock quotes. Does anyone know if it's possible to program something that can retrieve real-time stock...
  17. Replies
    6
    Views
    1,026

    Yes! I love you guys... thanks. That HAS to be...

    Yes! I love you guys... thanks. That HAS to be it.
  18. Replies
    6
    Views
    1,026

    subtle issue that i cant find

    I need to make an argument vector to pass to execv()... I'm creating it like shown below, I've tested it so I know all my strings are getting null termininated etc... but any programs I execute with...
  19. little problem with a simple shell program i made.

    unix api naturally:

    say you fork your terminal application and execute "ls -l" in the child, why won't the color and the formatting etc... appear in the output? I've got it just printing the...
  20. Replies
    4
    Views
    2,475

    Academic Question About Compilers

    How would something like this:

    int x;
    char hello[6] = "hello";
    x = atoi(hello);

    be compiled? I'm asking what the compiler will do internally to compile something like this. From generation...
  21. Replies
    4
    Views
    1,410

    The file is opened in binary mode. dataBlockSize...

    The file is opened in binary mode. dataBlockSize equals 16 in this case, but it shouldn't matter what it equals so long as bytesRead is the same value when it breaks out.

    I never noticed this...
  22. Replies
    4
    Views
    1,410

    Actually making the byte an unsigned char rather...

    Actually making the byte an unsigned char rather than a char +

    ss << hex << setfill('0') << setw(2) << (int) byte;

    changing that line to that seems to have solved it. Can anyone comment on...
  23. Replies
    4
    Views
    1,410

    Extracting from stream issue

    Hello, I can't wrap my head around why its possible I'm getting different lengths of output.



    while ( (file >> byte) && (bytesRead < dataBlockSize) )
    {
    ss << hex << setfill('0')...
  24. Replies
    6
    Views
    16,005

    I've never seen a declaration like that before...

    I've never seen a declaration like that before and I don't really know how to promise things to the compiler
  25. Replies
    6
    Views
    16,005

    looser throw specifier for virtual...

    Hey, here's the error: "error: looser throw specifier for virtual OutOfMemory::~OutOfMemory
    "
    What does it mean, why does it happen, what do i do to fix? Thanks. (Compiling with GNU compiler)
    ...
Results 1 to 25 of 81
Page 1 of 4 1 2 3 4