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

Search:

Type: Posts; User: lqakane

Search: Search took 0.03 seconds.

  1. Replies
    21
    Views
    14,347

    Re: initialize static variable in cpp file

    Thank you for the clear explanation. I learnt a lot:)
  2. Replies
    21
    Views
    14,347

    Re: initialize static variable in cpp file

    I see:) Thank you very much!
  3. Replies
    21
    Views
    14,347

    initialize static variable in cpp file

    Hey guys, here is what I read in CProgramming.com:

    You cannot initialize the static class member inside of the class. In fact, if you decide to put your code in a header file, you cannot even...
  4. Replies
    5
    Views
    2,170

    Re: How to remove file's written protection

    It worked! Thank you so much:)
  5. Replies
    5
    Views
    2,170

    Re: How to remove file's written protection

    ...and where should I set the file attributes in vs2005?
    Thank you.
  6. Replies
    5
    Views
    2,170

    How to remove file's written protection

    Hey guys,
    I am using some other people's cpp file which has written protection (a little lock's icon). Just wondering how I should change that so I can modify the file. I did not see an option in...
  7. Replies
    32
    Views
    28,359

    Re: build a project using given obj files

    O, btw, not sure I state it clearly. The BuildLog is what he sent me, not mine. His code does not have a main I think, which is why it has the link error. Because he's sending me the interface that...
  8. Replies
    32
    Views
    28,359

    Re: build a project using given obj files

    Okay, here is my main.cpp:

    #include "AbstractActions.h"
    #include "AbstractInterfaceDefinition.h"
    #include "AICharacters.h"
    #include "BasicCharacter.h"
    #include "BasicObjects.h"
    #include...
  9. Replies
    32
    Views
    28,359

    Re: build a project using given obj files

    I think he did not write a main function when generating the obj files. The reason is through the interface he gave me I should write my own main to do testing. If he did write a main, I would not be...
  10. Replies
    32
    Views
    28,359

    Re: build a project using given obj files

    Hey guys,
    So I got back from him. He gave me all the obj files, all headers, and buildLog(which I think gives the compiler configuration). He said I should be able to compile except there is one...
  11. Replies
    32
    Views
    28,359

    Re: build a project using given obj files

    Sry my bad...you are right. I think this time he's gonna give me all the obj files and part of the source files that he's allowed to give, and the system config files (as Paul suggests, the config...
  12. Replies
    32
    Views
    28,359

    Re: build a project using given obj files

    Thanks folks,
    I just got back from the guy who gave me the obj files. He said he's gonna create a clean system and build again with only the cpp/h files he gave me in the folder and send me again....
  13. Replies
    32
    Views
    28,359

    Re: link external obj files in vs 2005

    I typed LIBCMT in the field of "Ignore Specific Library" under Linker->Input...hope im doing right.

    There are all together 62 errors. About 20 of them are complaining Xran function and 20 of them...
  14. Replies
    32
    Views
    28,359

    Re: link external obj files in vs 2005

    Woops, just saw your post GCDEF. I will give it a shot now. Thanks!
  15. Replies
    32
    Views
    28,359

    Re: link external obj files in vs 2005

    Thank you so much Paul^^
    Hmm, I only know roughly how compiler works. Given this situation, I guess I do not have any other options besides asking the person who gave me those obj files what...
  16. Replies
    32
    Views
    28,359

    Re: link external obj files in vs 2005

    Thanks GCDEF, I did follow what you said yesterday and added them as if they are cpp files. I could not find my old thread today so just started a new one, sorry that im new here.
    Basically after...
  17. Replies
    32
    Views
    28,359

    link external obj files in vs 2005

    Dear everyone:
    I asked a similar question here yesterday. So basically I am trying to link some given obj files as if they are static libraries. For example if I have action.obj somewhere, I right...
  18. Replies
    32
    Views
    28,359

    Re: build a project using given obj files

    Thank you anyways:)
  19. Replies
    32
    Views
    28,359

    Re: build a project using given obj files

    Thank you for your response. The thing is, im building a project and part of the code is hidden. I was only given some of the obj files and im supposed to link those in my solution.....not sure how...
  20. Replies
    32
    Views
    28,359

    build a project using given obj files

    Hello guys,
    Sorry it might sounds silly, but how can I build a solution using given obj files and several cpp files in vs2005?
    Thank you so much!
  21. What is the overhead for const class/functions in C++

    I am very confused...here is the original question:

    What sort of performance overhead is incurred when using const in C++ programs to create classes and member functions that are considered to be...
Results 1 to 21 of 21





Click Here to Expand Forum to Full Width

Featured