CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: munteanu24d

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    1,041

    Re: isolate a static method

    Thank you very much for your answer. Yes, my function really has a void* extra argument, but I have to admit that I did not how to use it...
  2. Replies
    5
    Views
    1,041

    Re: isolate a static method

    This is the function signature which I cannot change, because the following StartServer method
    is waiting for a reference to a function with exactly that signature. So I cannot add any additional...
  3. Replies
    5
    Views
    1,041

    isolate a static method

    Hello everybody!

    Here is my problme description.
    In my class I have a method which is static, but which, in the same time has to access some data members of my class. Conseqeuntly, all the data...
  4. Replies
    6
    Views
    1,886

    Re: how to call a std::binary_function

    Thank you !

    It works !

    Best wishes,
    D.M.
  5. Replies
    6
    Views
    1,886

    Re: how to call a std::binary_function

    Thank you very much for your explanation, but may be my question was not very clear. I do not understand how to use lt_str_2 methods.

    Can you give me an example, how to call the lt_str_2...
  6. Replies
    6
    Views
    1,886

    Re: how to call a std::binary_function

    i tried ... i hope now it looks better ...
  7. Replies
    6
    Views
    1,886

    how to call a std::binary_function

    Hel;o everybody !

    I have this piece of code, from this tutorial http://lafstern.org/matt/col2_new.pdf , which compares in an insensitive manner character strings, but i do not unserstand how to...
  8. error C2664 : cannot convert parameter from WORD' to 'WORD' 2 from

    I am trying to transmit by reference a Struct type parameter, but i get the following error:

    error C2664 : cannot convert parameter 2 from 'TextFrameworkEngine::WORD' to 'WORD'

    My code is...
  9. Re: build a static/dynamic library from a source code

    Meanwhile, I have decided to you use a build tool, JAM (and equivalent of make utility) ... so, wish me good luck ! :)
  10. build a static/dynamic library from a source code

    Hello.

    I have a source code ( http://ccxvii.net/mupdf/download/ ) and i want to compile it in a dynamic or static library.

    For the moment i think a static library would be easier, because i am...
  11. Replies
    2
    Views
    623

    code optimization

    Hello eveybody !

    I want to optimize some code.

    I have these code :


    try {
    if(result==NULL)
    result = tryToAssignValue1(); // note that the assigning methods are different
  12. Replies
    1
    Views
    3,873

    __LINE__ and __FILE__ macros

    Hello!

    I want to write a custom handling exception class and I also want to know where the exception comes from (file name and line number) .
    I know I can use for this __LINE__ and __FILE__...
  13. How to define a method with a generic parameter

    Hello everyone !

    I think i've solved the problem.

    like this :


    template <class myType>
    void TestEmpty(myType object);
  14. Replies
    3
    Views
    5,050

    Re: Error CXX0069 variable needs stack frame

    void SPMG::traverse(qNode* node ,qNode* trav[] , int& size)

    At this line of code , but only at the second iterartion of the function .
  15. Replies
    3
    Views
    5,050

    Error CXX0069 variable needs stack frame

    Hi !

    I have this function which i use in order to traverse a quadtree :


    void SPMG::traverse(qNode* node ,qNode* trav[] , int& size) {

    if(node != NULL ) {

    ...
  16. Replies
    4
    Views
    4,135

    Re: static libraries

    OK , I added My MathFuncsLib.lib , and now it works !

    Thanks a lot !
    D.M.
  17. Replies
    4
    Views
    4,135

    Re: static libraries

    I have added the library to the linker liberies and modules , but now I get the following error :

    LINK : fatal error LNK1104: cannot open file "MyMathLib.lib"
    Error executing link.exe.

    D.M.
  18. Replies
    4
    Views
    4,135

    static libraries

    Hi !
    I have build a static library using this tutorial : http://msdn.microsoft.com/en-us/library/ms235627(VS.80).aspx .

    The problem I have is that i cannot use its functions inside of the test...
  19. Replies
    9
    Views
    1,379

    Re: pointers and function signature ...

    Finally I have solved the bug .

    The problem was indeed at <CODE> void SPMG::split(qNode* rNode)
    qNode* SPMG::buildNode(qNode* n,qNode*...
  20. Replies
    9
    Views
    1,379

    Re: pointers and function signature ...

    Thanks everybody for reply .

    I have to tell you that even it seems i have a mountain of untested code ... i have tried to test it some how , step by step .
    The root node and it's four children...
  21. Replies
    9
    Views
    1,379

    //...

    // ------------------------------------------------------
    // INIT ()
    //-------------------------------------------------------
    void SPMG::init(){
    FILE *f;
    //initialize root node
    ...
  22. Replies
    9
    Views
    1,379

    Re: pointers and function signature ...

    // ------------------------------------------------------
    // INIT ()
    //-------------------------------------------------------
    void SPMG::init(){
    FILE *f;
    //initialize root node
    ...
  23. Replies
    5
    Views
    1,012

    Re: Help me with for loops

    P.S.
    for (int N = 0; N < rows-boxSize; N+= boxSize) { // go trough all boxes
    for (int M = 0; M < cols-boxSize; M+=boxSize) {
    // substract the box size from rows and cols size ,...
  24. Replies
    5
    Views
    1,012

    Re: Help me with for loops

    If I understood well your question , i think the answer might be this one :

    for (int N = 0; N < rows; N+= boxSize) { // go trough all boxes
    for (int M = 0; M < cols; M+=boxSize) { ...
  25. Replies
    9
    Views
    1,379

    pointers and function signature ...

    Hi !
    I am trying to build a quadtree .
    I have 2 functions :

    // in the first one i am creating the root node
    1 ) void init() {
    qNode rootNode...
Results 1 to 25 of 26
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured