|
I am bit confused with the second and fourth template arguments!
What's the exact use of that.
|
|
|
|
|
RSAK wrote: I am bit confused with the second and fourth template arguments!
The First and Third parameters specifies, in which datatype the map will be keeping the data inside.
The Second and 4th parameter specifies, how you will be passing the key and value to map. For example, when you call the SetAt() function, the map will be expecting the data types in the form of 2nd and 4th datatypes. How ever, it will convert those parameters to 1st and 3rd form internally and sets that objects as map data.
|
|
|
|
|
Can we prinany thing through C on Codeblocks using the following code. I have tried but it didn't worked. Any alternate way??
#include <fstream>
#include <iostream>
using namespace std;
int main()
{
ofstream printer( "prn" );
if (!printer)
{
cout <"fooey!\n";
return 1;
}
printer << "Hello world!\n";
printer.close();
cout << "HEllo";
return 0;
}
|
|
|
|
|
Have you ever heard about Google? See, for instance [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Yeah and I heard about www.cpallini...com,too!
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
You're right: even if he has never heard about Google, he must know about www.cpallini.freeproductz.com.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I have sooooo got to register that domain some time...
Iain.
|
|
|
|
|
That's fine, provided the productz remain free.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi All,
I have created the CFileDialog for open the .txt file.I need to add my own controls to a CFileDialog with out SDI implementation.
Pls help me.................
Thanks & Regards,
Anitha
|
|
|
|
|
Do you know CodeProject has a wonderful, magic, article search engine [^]?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
Dear all
I created a console application in vc 2005.
but when I transfer the exe program to another computer and click on it to execute I get following error :
"
The application has failed to start because the application configuration is incorrect
reinstalling the application may fix this problem.
"
could you please let me know what is the reason of this error.
regards
Mahdi
|
|
|
|
|
Hey, Mahdi,
well you should make your console project as Static link library
when you choose CLR Console Application in the "new project wizard" check the checkBox of "Staticly linked library" (on the left)
that should solve your problem
Regards
|
|
|
|
|
Possibly your application was linked with the runtime dynamic library and the target computer (it is the dafault linker option) has not such a library installed. If so then you have to install it via the Microsoft Visual C++ 2005 Redistributable Package (x86) [^] on such a machine.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
Hi, can anyone give me some hint on how to change the background color of the toolbar when the mouse hover/point to it?
i've tried WM_EraseBkGnd
Regards,
KH
good
|
|
|
|
|
for example :the Date-Time Control Panel application displays the property sheet.
thanks in advance
|
|
|
|
|
Checkout this article[^]. Its so simple.
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
HI all,
I have an ListCtrl on FormView with Reportview type.
i m using a CheckListBox in diffrent dialogbox.
in form view on button clicked event i m calling the dialog box that is having CheckListBox .
i want to add all columns heading of Listctrl in the CheckListBox when the dialogbox called.
please tell me how can i do this.
thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Hi,
Is there any conflict betwwen ws_clipsibling and cs_parentdc style.if any please suggest.
Thanks in advance
|
|
|
|
|
hi every1,
I am new to VC++, Right now am looking for an sample to understand proces creation and synchronisation mainly ...but not getting a proper one...could u pls guide me trough?
thnks
Himangshu
|
|
|
|
|
What about reading the documentation [^], [^]?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
thx pallani...I will go through it now....If any doubt i will post here...Actually i was not able to run any exe created under a particular directory...may be systax wrong....Himangshu
|
|
|
|
|
hi again,
Am not able to run a simple txt file...Could u pls look through my code..
BOOL bWorked;
STARTUPINFO suInfo;
PROCESS_INFORMATION procInfo;
CString m_Process = "D:\\docs\\aa.txt";
char *vip = "D:\\docs\\aa.txt";
"whatever command line arguments here";
memset (&suInfo, 0, sizeof(suInfo));
suInfo.cb = sizeof(suInfo);
bWorked = ::CreateProcess(m_Process,
NULL,
NULL,
NULL,
FALSE,
NORMAL_PRIORITY_CLASS,
NULL,
NULL,
&suInfo,
&procInfo);
Pls help..
Thax
|
|
|
|
|
From CreateProcess documentation [^], about its first argument
lpApplicationName [in, optional]
The name of the module to be executed.
while you're passing a text file, that is NOT an executable module.
If you wish the Windows OS choosing the appropriate executable to open your text file than have a llok at ShellExecute [^] instead.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|