Search:

Type: Posts; User: Smjert

Search: Search took 0.00 seconds.

  1. I think it was only a language problem, i very...

    I think it was only a language problem, i very well know about the comma in the for statement but when i read that in, i though about letter character that was already inside the body of the for...
  2. Replies
    2
    Views
    734

    I think you have to look better at line 14, how...

    I think you have to look better at line 14, how you're declaring your function arguments ;).
  3. The first requirement is just telling you to...

    The first requirement is just telling you to change one line, from what i understand (even though i fail to see the reason):

    char letter = ',';

    For the second requirement, if you look how you...
  4. Replies
    5
    Views
    2,997

    Ok i realized it myself, you already gave me the...

    Ok i realized it myself, you already gave me the right solution but i interpreted it so i haven't done what you said (i didn't realize that defining MESH_TOOL_API when i use the header from the other...
  5. Replies
    5
    Views
    2,997

    I'm using Visual Studio 2008, i tried it with...

    I'm using Visual Studio 2008, i tried it with forward declaration (forgot about it thnx!), it compiles but it still gives the same linking error.
    Tomorrow i'll try to find more about it ;).
  6. Replies
    5
    Views
    2,997

    Thnx for the link, but if i read it i can find: ...

    Thnx for the link, but if i read it i can find:


    template class __declspec(dllexport) B<int>;
    class __declspec(dllexport) D : public B<int> {
    // ...

    This workaround fails if the template...
  7. Replies
    5
    Views
    2,997

    Problem with dll, template and library dir

    I have a linking problem, i have a project that compiles in a dll:

    header:


    #ifndef MESH_TOOL_H
    #define MESH_TOOL_H

    #include "Ogre.h"
  8. oh damn i hate myself a lot now xD So stupid...

    oh damn i hate myself a lot now xD
    So stupid mistake, i forgot that i close the handle to let another handle open the file and then when i reopen the old handle i use the append mode -.- .
  9. Problems with fstream, one variabile for write and read

    I use a fstream variabile to open a file in write and read mode.



    fstream file;
    file.open("filepath", ios::in | ios::out | ios:: binary);

    What's the difference between using seekg or seekp?...
  10. Replies
    8
    Views
    10,972

    The fact is that pfunc cannot be null if...

    The fact is that pfunc cannot be null if ListSearch find a valid ID, it was my fault to initialize plist->ID (in Initialize function) to 0, because when HandlePacket encounter a 0 ID in the buffer...
  11. Replies
    8
    Views
    10,972

    Yes i'm referring to the jump, and i still have...

    Yes i'm referring to the jump, and i still have that problem, i only changed a line to solve the first problem.

    This:

    void Initialize(RecvPacketList **plist)
    {
    pFunction temp = NULL;...
  12. Replies
    8
    Views
    10,972

    Oh lol it was so simple XD, but i thought...

    Oh lol it was so simple XD, but i thought valgrind was referring to the last object i added to the list :\



    Don't worry you're not pedantic :P and i'm not english, i chose the wrong word ^^

    ...
  13. Replies
    8
    Views
    10,972

    But it's initialized! Maybe it's difficult to...

    But it's initialized!
    Maybe it's difficult to understand the order of the execution so:

    All starts from Listen function (called by a new thread created), as you can see there is the "real"...
  14. Replies
    8
    Views
    10,972

    Bug hunting with Valgrind

    I'm using Valgrind to find if there's bug in my program (i'm coding under linux) and it find someting, but i don't understand where's the problem.

    Valgrind sais:


    For the first error valgrind...
Results 1 to 14 of 14