thx for your advice,your advice is good,but my second frame is not fixed...maybe it includes two char,three int..maybe it includes other data type... data type in the second frame was defined at run...
thx...but how to define data struct at run time? The type of data wasnt defined utill at run time...it seemed that the type of data was defined at compile-time in your code
thanks for your advice,could you give me some articles or sample codes about your idea? Are there any cool links or forums about design pattern?I just know something about design pattern...but I am...
there are two data frames,the first gives the defining data of the second,so I thought it would define data type in the second frame according to the first frame at run time?
how can I...
Hi,guys...
I had sucessfully used memory-mapped file on small file many times...but yesterday when i used it on 729M file,it failed...the code is following...what should i do to corret the...
I used code in other place of same program such the same mode as the old code that had memory leak,but that code is ok.but the difference is that the class like VolRec has not copiable function and...
thax Paul McKenzie....sorry , my lines dont rightly express my meaning for the sake of my poor english:) the new program has not memory leak.
I wanna know why the old one had memory leak?I traced...
thanks all guys replied this thread.
I have changed my code using the char[256] or WCHAR[256] for resovling...
I tried using vector<char > or vector <WCHAR> but the character is not right.
btw.I...
anyone know about detecting the heap?
how can i monitor allocation of the heap?
I use class1* p = new class1; Is it allocated on the default heap or other heap?
what do the following output of...
hi,guys
I meet LNK2005 when I link the program from VC6 to VC.net.
the error follows:
Searching G:\Program Files\Microsoft Visual Studio .NET\Vc7\lib\libcimtd.lib:
libcimtd.lib(ifstream.obj) :...
hi,guys
i used the std::numeric_limits<double>::max();,but visual C++ 6.0 reported the error C2589: '(' : illegal token on right side of '::'
G:\MY program\temp\test1\test1.cpp(12) : error C2143:...
Thank your reply:)
How would I organize the map file in a database?
which database would I choose?
I recently learned something about spatial index such as KD-Tree,R-Tree R+-Tree... Should I...
thx for your reply :)
The map is just for navigation so it is only used when required.The map is not used for edit. The map is not general format such as MapInfo or ArcoInfo format.It is defined...
Thx for your reply.:)
The map is vector graphics which include roads ,rivers,administration regions etc. The map is divided with longitude and latitude grids.The file of the map is organized by the...
I have a city map file which is size of 1.7 M ...I wanna display the map on PocketPC whose main memory is 32M...i try to use memory-mapped file but it is slow to load the whole map.
who guy has a...
Hi,guys,
I am a MFC progammer...I wanna design a convenient user interface which have two sets of view/framewnd...and it always shows one of them and one set could switch to another
How do I...