|
Dear Sir,
Thanks for suggestion.
With regards,
Shashikant
|
|
|
|
|
Check MTL (Matrix Template Library)
Check TNT and JAMA
Hope this helps
|
|
|
|
|
Dear Sir,
Thanks for suggestion.
With regards,
Shashikant
|
|
|
|
|
Do you have a URL for the MTL? My google search found lots of academic bits talking about it, but not the home itself.
I've rolled my own, but it would be good to have an external one for use too.
Iain.
|
|
|
|
|
Dear Sir,
Thanks for suggestion.
With regards,
Shashikant
|
|
|
|
|
|
Dear Sir,
Thanks for suggestion.
With regards,
He's become a household word in the Lounge. A whole new phraseology has evolved. Post a link or reply with a smiley and rose, and you've made a "Satipsism". So what? It's an interesting thing about the Internet, the evolution (as in change, not progress) of tone, quality, terminology, etc.
-Marc Clifton.
Best wishes to Rexx[^
|
|
|
|
|
How to get the handle of SDI application similar to getting handle in Dialog-based application like: (CWnd*)AfxGetApp()->m_pMainWnd ?
Any help would be greatly appreciable,
Best Regards,
Suman
|
|
|
|
|
You can follow same method.
m_pMainWnd represent main window object, associated with application.
So it does not matter, what application type is. In case of SDI it will represent main frame window associated with application.
Prasad
MS MVP - VC++
|
|
|
|
|
Is it OK to get the handle inside PreCreateWindow() of SDI application? I have tried that, and it is giving NULL .
Thanks for the help!!
Best Regards,
Suman
|
|
|
|
|
rp_suman wrote: Is it OK to get the handle inside PreCreateWindow() of SDI application?
No, at as name indicates, window is yet to create.
Prasad
MS MVP - VC++
|
|
|
|
|
can any one explain the sequence steps how x value changes.
x=x++ + ++x + ++x + --x;
printf("%d",x);
y=x++ + ++x + ++x + --x;
printf("%d",x);
printf("%d",y);
I executed this exp in vc++ i got 1st exp values as x=14
and in second exp i got x=4 and y=14.
|
|
|
|
|
It's GOT to be homework!
Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."
|
|
|
|
|
Hi All,
Under Microsoft C++ compiler Divide by Zero and NULL pointers can be catched using
try
{
}
catch(...)
{
// exception handling
}
When I try it under the GCC on unix platforms it does not catch it. Simply "Segmantation fault" is thown outside and program terminates.
I am just wondering that above mentioned exceptions and not part of C++ standard?
If so, anybody have any more information on this?
|
|
|
|
|
MSVC6 is crap; GCC is behaving correctly according to the C++ standard. The catch keyword is only meant to be able to catch C++ exceptions thrown with the throw keyword; not arbitrary hardware exceptions. Later versions of MSVC corrected this behaviour but added the /EH?[^] switch to choose between to two behaviours.
Steve
|
|
|
|
|
hi
i'm programming a document using scintilla wnd...
here on right clicking mouse button my own popup menu should come..but by default it is showing some popup menu with cut,copy,paste...
i have added mine using RButtonUp function but it is not sensing that function...any help please..thanx in advance...
|
|
|
|
|
Have you tried overriding OnRButtonDown? After all, that happen first...
Or checked if there's an overridable member OnContextMenu?
Lastly, have you added the macros (ON_WM_RBUTTONetc) to your message map? You need to hook up your handler as well as write it.
Iain.
|
|
|
|
|
yah!i have tried with adding WM_RBUTTONUP message using class wizard but it is not at all sensing the function when i press rightmousebutton ...even i tried with WM_RBUTTONDOWN through class wizard,neither is working....
i have avoided the default scintilla wnd's popmenu also by using SCI_USEPOPUP(false)...
as you said these WM_RBUTTONUP are working well in other windows not in scintilla wnd...
any help thanx in advance....
|
|
|
|
|
Hi,
How i can delete a file at an specified location.Is there any function which does this.
Regards,
|
|
|
|
|
The DeleteFile function deletes an existing file.
BOOL DeleteFile(
LPCTSTR lpFileName
);
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
If you want to be more portable across various platforms:
int unlink(const char *filename)
-- modified at 2:23 Monday 30th July, 2007
Roberto
|
|
|
|
|
|
Hello everyone,
I am wondering how to remove a non-empty directory on Windows? I find that function RemoveDirectory works only for empty directory.
thanks in advance,
George
|
|
|
|
|
A quick search give me the below link. I have not tested/used.
http://www.codeproject.com/cpp/Clean_Workspace.asp
|
|
|
|
|
Good reference, thanks mandanani!
Since I need to use API DeleteFile, I am wondering how to pass path name string which is encoded as multi-byte character or wide character?
In the article, it is an MFC project so CString is used, but I am not using MFC based Windows project, and I can not use CString data type.
Any ideas?
regards,
George
|
|
|
|