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

Search:

Type: Posts; User: mornin

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    1,251

    Re: memory leak detectector in c++

    I have the same problem man. Also have no clue why.
  2. Replies
    4
    Views
    694

    Where to get include file ?

    Hi guys,

    I am using VC++ 6.0. I realized that <hash_map>, <hash_mutlimap.h> and <hashtable.h> are not included in it.

    May I know where can I download this library files?

    Thx.
  3. Replies
    1
    Views
    628

    Compile error with hash_multimap

    The following are my codes:



    /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    Header: CET.h
    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

    #ifndef CET_H...
  4. Replies
    2
    Views
    674

    Output of Data Structure in C++

    Hi all

    In JAVA, one can output data structures, like trees, into any object files and load them back in easily. Does VS has the similar functions?

    Thanks a lot.
  5. Replies
    5
    Views
    665

    Re: Compiling of C source codes

    Hi BytePtr,

    May I know how (or wat setting you used) to compile the first codes?
    I tried with VC++ 6, but I got back a tones of errors.

    Mornin
  6. Replies
    5
    Views
    665

    Compiling of C source codes

    Hi everyone,

    May I know how to compile the C codes in the following links?
    What compiler should I used?
    I have tired visual studio, but it failed. Over a hundred error comes out.
    ...
  7. Replies
    2
    Views
    39,440

    Re: library in windows

    Thanks alot friend.
    Your suggestions have been very helpful!

    Cheer! :thumb: :thumb: :thumb:
  8. Replies
    2
    Views
    39,440

    library in windows

    Hi all,

    I have encounter some codes that include <getopt.h> library. I guess it is a library under linux enviroment. However, I am using Windows and I want to compile the codes using Visual C++....
  9. Replies
    1
    Views
    786

    where to download library file?

    Hi all, I wanna include library <hash_map>, but I just realized that my version of VC do not have this lib. Thus, may I know where can I download it?

    Thanks in advance!!! : )
  10. Replies
    3
    Views
    658

    Re: qsort and sort Which one is faster?

    Thanks a lot Paul!
  11. Replies
    3
    Views
    658

    qsort and sort Which one is faster?

    Hello everyone,

    Any of you know whether the qsort function, under <search.h> is faster or the sort function, under <algorithm.h> faster?

    Thx!!!!
  12. Re: Error met while try to use "new" to create a new object.

    Hi Rigel, Thx a lot for your reply.
    May I know under what conditions I am allocating memory from heap and what conditions from stacks? I am not sure abt this.

    Regards
    Mengling
  13. Re: Error met while try to use "new" to create a new object.

    File attached this time?
    :confused: :confused: :confused:
  14. Re: Error met while try to use "new" to create a new object.

    Here is the code.

    Regards
    M
  15. Re: Error met while try to use "new" to create a new object.

    Hi Bornish and everybody, thx a lot for your suggestions.
    I try to paste my code to my message. The code is a bit "not short" :), but I still hope some of you may help me to see where is the...
  16. Re: Error met while try to use "new" to create a new object.

    May I know what kind of things that I did will corrupt a heap???
    Thx for all the replies

    Regards
    M
  17. Re: Error met while try to use "new" to create a new object.

    The object that I created is a memory managnement object, who basically acts as a big buffer. the detail of the object is pretty long. (If it is necessary i am more than willing to upload it, but how...
  18. Error met while try to use "new" to create a new object.

    Hi everyone,
    while i try to declare an object using "new", i have received the following error message :

    First-chance exception in FPTSampleVC.exe (NTDLL.DLL): 0xC0000005: Access Violation....
  19. Replies
    15
    Views
    1,572

    Re: Error in array declaration. Not enough memory?

    Hi Khuen, Thx for your reply.
    I do agree with wat u hv said.
    But from my task manager, it shows that the physical memory is still not full.
    Any suggestion?
  20. Replies
    15
    Views
    1,572

    Re: Error in array declaration. Not enough memory?

    Hi abdussamad and all the others,
    Thx for your reply!
    I have try the above code. It din get inside the catch, but still no memory was allocated to a and a still points to 0x000000000.

    By the...
  21. Replies
    15
    Views
    1,572

    Re: Error in array declaration. Not enough memory?

    So any solution for this kind of problem?
  22. Replies
    15
    Views
    1,572

    Re: Error in array declaration. Not enough memory?

    Any suggestion for how to solve these problems.
    I have actually checked my physical memory and memory on my harddisk.
    And, it was found that they were not full at all.

    What would be the causes...
  23. Replies
    15
    Views
    1,572

    Re: Error in array declaration. Not enough memory?

    Actually I am not there is not enough memory.
    I am just guessing.

    But the fact is that, the request memory was not granted while I try to declare an array.
  24. Replies
    15
    Views
    1,572

    Error in array declaration. Not enough memory?

    Hi everyone.

    I have currently encountered this problem while my program ran till half way:
    any array or object that I declare, there will be no memory allocated for them.

    For example:

    int*...
  25. Re: Data structure to store long string of bits

    Thx Marc G! and sorry for the cross posting :blush:

    I defined a class called Item as follow

    #include <boost/dynamic_bitset.hpp>

    #define BASE_LENGTH 100
    class Item
    {
    public:
Results 1 to 25 of 34
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured