|
Hi all,
Can anyone tell me where I can get some example source code for class template. for example, deque, vector source code...
Thank you
|
|
|
|
|
THE book to buy is STL Tutorial and Reference Guide by David R. Musser, et al. Foreward by Alexander Stepanov ( who wrote the STL ).
I know you're looking for a download, but if you're serious about it you probably should buy this book.
Christian
I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in.
The early bird may get the worm, but it's the second mouse that gets the cheese.
|
|
|
|
|
You might want to take a look at www.stlport.org which is what I use. This is an implementation of the C++ STL. There is quite a bit to wade through, but it works quite well.
|
|
|
|
|
Does anyone know how to create a file name that has the date & time as the file name?
Thanks
|
|
|
|
|
Have a look at the localtime function. Combining time() with this and sprintf will do what you want. It has worked for me in past.
|
|
|
|
|
Thanks Rick for your help. It all works now.
|
|
|
|
|
Is there is any one who can help me to find the way so that i can persist the data in xml file on the client side after requesting it from server in a xml file before displaying it into web browser and then i can use it for later requests
Shahzad Ahmad
|
|
|
|
|
Universe Technology is just starting out and is looking for programmers. If you have skill in ASP, VBSCRIPT, HTML, Java, JavaScript, C++, C, XML or any other programming language of substance, please send me an e-mail at Alexjfink@aol.com, I will look into each applicant personally, if we like what we see, we will tell you more about Universe Technology.
|
|
|
|
|
Does anyone know how to attach IE style toolbars to a tab control, to create a toolbar similar to that of 3dsMax3.
I am able to attach toolbars to the main window, but have had no success in attaching them to dialogs or tab controls.
Is this possable?
Ant
|
|
|
|
|
Dear all,
I 'm working with a project that involved to manipulate ActiveX control from another thread in multi-thread application, but I don't know how.
Can any-body help me?
My email address: bhkien@vnuh.edu.vn
Thanks,
|
|
|
|
|
Dear all,
I 'm working with a project that involved to manipulate ActiveX control from another thread in multi-thread application, but I don't know how.
Can any-body help me?
Contact me following: bhkien@vnuh.edu.vn
Thanks,
|
|
|
|
|
Hello everyone,
I am trying to display the content that is too large for a window (CWnd derived class). So I need to implement the scrolling functionality.I dont want to use the built-in MFC view classes as i am not using DV- arch. Can any one help me out about how to implement the scrolling?
Also can any one let me know about 'clipping' & its implications & implementation?
thanks,
Mangesh
|
|
|
|
|
i'm doing project to store sound files and send it to other computers any one who know about this topic please email to me
|
|
|
|
|
Can some one brief ma abt callback() function and just explain me with a small example
otherwise please point me to some place where i can get acquinted with this function
thanks
chandu
|
|
|
|
|
// The callback function type
typedef void StepProc();
// the callback function
void Step()
{
cout << ".";
}
void DoSteps(StepProc* pProc)
{
for (int i = 0; i < 10; i++)
{
(*pProc)();
}
}
void TestCallback()
{
//Call DoSteps() with ::Step as the argument
::DoSteps(::Step);
}
Michael S. Scherotter
Lead Software Architect
Tartus Development, Inc.
|
|
|
|
|
Hi,
I have just 1 question: how to create a raw socket with incapsulated UDP protocol; also I need to set up some parameters, like IP and port.
Best regards,
Dmitry
|
|
|
|
|
also I need to set up some parameters, like IP and port.
And what can I say, now?
?
?
?
-------
Nature, to be commanded, must be obeyed. (Francis Bacon)
Nature, to be apprehended, must be obeyed. (Ayn Rand)
|
|
|
|
|
How to connect to the Oracle 8i database using only C (normal) without the external options
Karajagi Prashant R.
|
|
|
|
|
These are the steps breifly
u can try out this and let me know
i)Include “sql.h”
ii)SQLAllocHandle()
iii)SQLSetAttrib
iv)SQLConnect
v)SQLDisconnect
vi)SQLFreeHandle
chandu
|
|
|
|
|
Is there any way besides using a right-reading locale to make windows with scrollbars on the left and top instead of on the right and bottom?
Michael S. Scherotter
Lead Software Architect
Tartus Development, Inc.
|
|
|
|
|
I have developed an ActiveX Control using ATL, Now, I want to add drag & drop functionality in this control to drag text values. I have tried MSDN DnDZoom example but couldn't make much progress. I want someone to help me in implementing this functionality or pointing me to right direction with code example. I am uregently in need of this.
Tushar Bhatt
|
|
|
|
|
I have been meaning to get this stuff into an article, I just don't have the time to do everything I need to. Anyways. Here's the code that I have been using in my ATL Projects and that Michael Dunn is using in the CodeProject Search Toolbar.
linkdrop.h
linkdrop.cpp
Hope it helps.
BTW, I should mention that I pulled this out of a MSDN sample a while back. And I have not removed the "GOTO" statements that were part of the MSDN Sample. So that you know where to put the blame.
Cheers,
-Erik
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My thoughts are my own and reflect on no other.
|
|
|
|
|
Thank you very much for your help. I am studying the code. Thank you very much again.
Tushar Bhatt
|
|
|
|
|
Dear Erik,
The files are no more available. Could you please share them again?
|
|
|
|
|
Can someone please tell me a tried and true method for listing (from a client app, not a server) to a socket without hanging the entire program. I'm trying to detect when data arrives without having to continually probe the socket and without locking up the main app by blocking.
There's CAsyncSocket & CSocket (MFC) that uses messaging, there's raw sockets, I guess I could create a new thread that performs a while loop and blocks on the call to recv(...) - should I use non-blocking I/O schemes - should I use winsock or winsock2, ... I'm a little overwhelmed and maybe I've made it harder than it should be. Any clarification is much appreciated.
|
|
|
|