|
That file is part of the Platform SDK.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Did you search with google?
|
|
|
|
|
HI
MY problem is in creating a C++ program to build a 3ary heap using linked list structure rather than array
the 1st problem is that i am very weak in the area of linked list structure...so any help on how to start and what is important to know would be very helpful
thanks
|
|
|
|
|
Use the standard template library, for example the std::list. It is very powerfull.
|
|
|
|
|
Ba6o6 wrote: 3ary heap
are you talking about a memory pool ? not really a beginner topic, and if you don't know much about linked lists. ( my bad, I miss understood what you were talking about ( see David Crow's post )
anyway, there are tons of examples, tutorials on linked lists on the web, google a little bit.
one of the first hit : http://richardbowles.tripod.com/cpp/linklist/linklist.htm[^]
-- modified at 9:24 Tuesday 5th December, 2006
|
|
|
|
|
Ba6o6 wrote: MY problem is in creating a C++ program to build a 3ary heap using linked list structure rather than array
Keep in mind that a 3-ary heap is like a binary heap, but instead of 2 children, nodes have 3 children. The heap itself is an array object that can be viewed as a complete ternary tree. Each node in the tree corresponds to an element of the array that stores the value in the node.
Ba6o6 wrote: the 1st problem is that i am very weak in the area of linked list structure...
Focus on trees and the heapsort algorithm.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
how can i edit in field?
if i have found my record in my table and i whant to edit into the field how?
Bravoone
|
|
|
|
|
Call the record set's Edit() method. After making the changes, call the record set's Update() method.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
how to write an entry point when creating a dll in vc++?
|
|
|
|
|
If you create a MFC dll, the DllMain will be hidden (exactly like main will be hidden in an MFC application). So, if you really need to have access to the entry point, create a Win32 DLL.
|
|
|
|
|
|
Hi everyone,
in my MDI project i have a Transfer-Operation which is configurated in a MDIChild ( FormView )
If i start the operation, it takes a lot of time.
So i want to display a progressbar with some informations. The entire ProgressDisplay will be used
in different MDIChilds, so i created a Dialog with the layout of a Progress-Screen.
Now i want to display this Dialog in my MDIChild.
I create it and make a ShowWindow(SW_SHOW). The Dialog is subordinated ( not context or overlapped )
It's displayed into the MDIChild, all components are displayed correctly, but the background is semi-transparent and the components of the View are over the components of the Dialog.
I can't open the Dialog with DoModal() because in this case, the user could place other MDIChild under it.
Does anyone have an idea?
Big thanks
|
|
|
|
|
Hi
We are devolopping one project in that we give three static controls by clicking that corresponding menu item will open.Here it is required to add the colors to that menu items.Please Kindely help me in my project.
#sanroop#
|
|
|
|
|
Do you want to have a customize menu?
|
|
|
|
|
No Here when i add custom menu then menu display half part only
Functionaliy also didnt work
#sanroop#
|
|
|
|
|
When you want to run your program it doesnt work did you get any errors?
|
|
|
|
|
Hi there
I would like to add a Demonstration feature to my Visual C++ application. For example the user would click the "Demo" menu item, this would start executing a script and move the mouse, click buttons, display tooltips, that kind of thing.
I'm sure I've seen it done in some applications before but can't remember where. Has anyone ever seen this sort of thing before, or any ideas where I could find such a thing?
It would be so useful for me and I'm sure many others.
Thanks
[d3m0n]
|
|
|
|
|
Usually it's a movie. A product like powerpoint should allow you to prepare a demo
that you could run from your product.
My $0.02.
|
|
|
|
|
Thanks, I've looked into using Powerpoint, but having bitmaps and animation is not as memorable as seeing something actually happen inside your program.
If I could only remember where I've seen this before....
Cheers
[d3m0n]
|
|
|
|
|
Hello community,
have one question about L"" for unicode strings:
do i have to use this L"" for strings always, even if is only one caracter length,
also, if i have an single character to compare, something like this:
('H' == *lpsz)
(L'H' == *lpsz)
("H" == *lpsz)
(L"H" == *lpsz)
to often my application breaks in this line:
while( (*wcStrToAnalyse != '\0') && (*wcStrToAnalyse != ' ') )
and my project is in unicode.
thanks in advance
break;
-- modified at 6:55 Tuesday 5th December, 2006
|
|
|
|
|
if you're using LPSTR (CHAR*) strings, then don't use any.
if you're using LPTSTR (TCHAR*) strings, then use _T().
if you're using LPWSTR (WCHAR*) strings, then use L.
|
|
|
|
|
Hello,
thanx for help,
is this for single characters to, like this : 'H' or _T('H'), 'H' or L'H', "H" or L"H"?
Sorry about this question, but i need help!
regards
break;
|
|
|
|
|
yes, this is also extended to single characters
|
|
|
|
|
Be carefull with '' and "" ... can drive you into some problems.
|
|
|
|
|
spielehelfer wrote: Be carefull with '' and "" ... can drive you into some problems
like ?
are you suspecting me to confuse characters with C-Style Strings ?
|
|
|
|