|
And after these years programmer will be understand s(he) cant use of it because its old,and s(he) needs to start to learn new language.
|
|
|
|
|
Nope. C ages well, like good red wine.
The man will become older, stuck to the C language, while the woman, smarter, will became his boss and will have no more to do with programming languages.
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.
[my articles]
|
|
|
|
|
I give you 5.
|
|
|
|
|
Because you're my friend.
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.
[my articles]
|
|
|
|
|
Congratulation!
You dont need to Gold symbol because you have Platinum
|
|
|
|
|
Well I think there must be an error at CP.
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.
[my articles]
|
|
|
|
|
I think yes because I saw other members have Platinum!
|
|
|
|
|
Hamid. wrote: I think yes because I saw other members have Platinum!
And in fact I'm the only one deserving it.
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.
[my articles]
|
|
|
|
|
|
razi_Seyyedi wrote: how can I become a programmer ?
If you know WHAT a programmer does, then the HOW is easily answered.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
I'm new to Visual C++ and am creating a windows form application.
I was wondering if it was possible to link a console application which is written in C but stored in C++ files to a windows form?
So for example if I clicked a button in the Windows Form application then this would run the console application?
modified on Wednesday, January 16, 2008 5:56:25 AM
|
|
|
|
|
Can you be more specific.
|
|
|
|
|
Answered in your repost. Which I should not have done. You did the right thing by modifying this question.
Iain.
|
|
|
|
|
For a long time I made Windows programs using a Borland C++ 4.5 compiler winning under Windows 98. To make or remove check marks on menu choices I used this macro:
#define OPTION(x,y) case x: y=1-y; CheckMenuItem (mainmenu, x, MF_BYCOMMAND | (y ? MF_CHECKED : MF_UNCHECKED)); goto RD;
where:
x is a menu option.
y is a variable.
RD is a label where are statements to redraw the screen.
in a program called Listitem, and it worked, and the check marks duly appeared and disappeared. But when compiled on my new Windows Vista computer using Visual C++ 2008 free download version, it does not work, and the check marks do not appear. But the check marks do appear when I run on my new computer my program Listitem's old .exe file which was compiled on my old computer.
I tried using SetMenuItemInfo() instead, as recommended in http://msdn2.microsoft.com/en-us/library/ms647619.aspx[^], and still the check marks did not appear.
Please what must I do to make the check marks appear?
|
|
|
|
|
Can you make a boring win32 program from scratch, and use CheckMenuItem and see it working? Or an MFC program and check / unchecked menus in the command update handlers?
If so, then there's a problem in your code. Are you porting the program straight from borland? Maybe there;s a TMenuDrawer class which no longer works when compiled as a 64 bit program, etc etc.
Start with the first test, and then build up. Hopefully any error will become clear - albeit slowly.
Iain.
|
|
|
|
|
I solved it. It is because in Borland C++ I must call the window's top-border menu myself, but Visual C++ does it for me.
|
|
|
|
|
Hi,
Can anyone please tell me a macro through that I can check if CLR is enabled or not in a MFC project?
Best Regards,
Mushq
Mushtaque Ahmed Nizamani
Software Engineer
Ultimus Pakistan
|
|
|
|
|
See if this helps.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
_MANAGED is defined when compiling to CLR.
For example, you can use something like this to force native
compilation in blocks of code:
#if (_MANAGED == 1)
#pragma unmanaged
#endif
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi Mark.
Thanks for reply.
Actually I tried that, it works fine for disabling the UnManaged code but it doesn't work for Managed code.
But I got another solution i.e. also need to include another macro along with _MANAGED,
#if (_MANAGED == 1) || (_M_CEE == 1)
printf_s("compiling with /clr\n");
#else
printf_s("compiling without /clr\n");
#endif
http://msdn2.microsoft.com/en-us/library/468x0ea1(VS.80).aspx[^]
Best Regards,
Mushq
Mushtaque Ahmed Nizamani
Software Engineer
Ultimus Pakistan
|
|
|
|
|
Cool! Thanks for the link
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
i saw a web page
www.hardcoresoft.com
i download and read the demo3 source code.
very good!
it can listen music from server when client connect server!
|
|
|
|
|
And your question is....?
Or are you just trying to advertise to us?
Iain.
|
|
|
|
|
Hi,
Is there an easy way to monitor the number of threads which are currently running within an application.
I have an app that creates and (hopefully) kills worker threads during operation and it would be nice to be able to monitor that there isnt a build up of undestroyed threads over a few weeks of operation.
TIA
Tony
|
|
|
|