I am using the following sorce code to display JPEG images in my Win CE application developed using eVC++ for a pocket PC device.
Actually i get a bitmap handle by using the above source code, i display this bitmap handle on my picture control.
Actually i am displaying the image with its original size, but i am not able to see the whole image as the size of screen of my WIN CE device is very small, so i want to display compressed image or display the image after reducing its size?
I read that skip list takes less time to insert a node than some other data structure (O(log n)). So I wonder why I need ~3 minutes to make the skip list above. And when I stop debugging, the program is still running!? I've just started studying programming, please help me!
Other data structures probably have better characteristics for this
vectors are nice because they've been optimised - it's generally reckoned that if you're going to be reading from and searching in your data structure a lot, you're best off using a vector, sorting it and using std::lower_bound to search.
std::map or std::set has probably been better optimised
Thanks alot ist worke, but i still have another problem with the script element:
m_cfdlg.m_cf.Flags |= CF_NOSCRIPTSEL; // Disabled but not blind out the script element
m_cfdlg.m_cf .Flags &= ~CF_SHOWHELP; // Disabled the Help Button, but the Question mark in the Dialog still showed.
I am building legacy application in VS2008 solution. I have the followng lines in my code
template <class MapType, class DestinationType = MapType::referent_type>
typedef DestinationType destination_type;
typedef typename MapType::value_type source_type;
static HRESULT copy(destination_type* pTo ,source_type *pFrom) //here i am getting C2664
on building this project i am getting the following error
error C2664: copy' : cannot convert parameter 2 from 'const std::pair<_Ty1,_Ty2> *' to 'std::pair<_Ty1,_Ty2> *' C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\atlcom.h