|
oh sorry, i understand when the contols will be "designed" during the creation of the dialog/view
i tried only to help someone
|
|
|
|
|
Mushq wrote: Can combo box be initialized with some data at design time.
Sure. What did you do to *NOT* get it?
Right-Click on the Combobox, choose "Properties", enter your entries (semicolon sepatated) into the "Data"-property.
Failure is not an option - it's built right in.
|
|
|
|
|
jhwurmbach wrote: (semicolon sepatated)
With VS6, the items must be on a separate line.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Dear everyone;
First of all, I hope my question is not off topic. And i would be grateful for any assistance.
I am looking for a semantic search engine library which is written in c++. The idea is really simple:
Given a user query ("A set of keywords"), I want to search some pieces of text (paragraphs). For each paragraph, I need to assign a degree of similarity between the set of keywords and that particular paragraph. And yes i am looking for both literal matching and semantic matching.
I have no clue from where to start , as I am sure that people have thought of developing libraries for this purpose i would be grateful if suggestions are given.
Thank you
llp00na
|
|
|
|
|
A while back I saw an Explorer context menu addin that allowed you to select a dll, ocx, or exe and then click on "Register" or "Unregister" on the Explorer context menu. This wasn't a shell explorer addin dll - it was a series of registry modifications in an .inf or a .reg file. Does anyone have a link to this?
|
|
|
|
|
Put the following lines in a .reg file (assuming Windows XP), and then merge it into your registry:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\dllfile\shell]
[HKEY_CLASSES_ROOT\dllfile\shell\Register]
@="regsvr32.exe \"%1""
[HKEY_CLASSES_ROOT\dllfile\shell\Unregister]
@="regsvr32.exe /u \"%1""
-- modified at 14:26 Monday 14th May, 2007
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Don't forget the quotes around %1
|
|
|
|
|
|
You have experience in c# but c# is not c++. It won't be a waste of time if you take a look on a "newbie" manual and go through the things you already know. There may be a lot of tiny differences that you think are obvious but make your programm going wrong.
On the other hand... Use google with "manual c++ advance" there should be manuals for all kinds and tastes. Or just go through articles in C++ section here in codeproject.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
|
|
|
|
|
ok thanks for the advice..
only one question left how did you learn it and when?
what is the best way to learn it?
you say start from scratch?
Did you use a book? maybe you have a good reference for me?
Thanks!
Stef
|
|
|
|
|
Hi,
I learned C the first year of my Engineering Degree, Borland C++ v1.5 in my 2nd year and ensambler on the 3rd. But not so deep. Afterwards I have use ActionScript for Flash MX 2004, a bit of java and sql. But the most knowledge about C++ I have, comes from sites like that, MSDN, 4 or 5 manuals I founded in Internet (some on English some on Spanish) and with the old "Try and Error" (specially this last).
The manuals I have used are:
"Advanced MFC Programming.pdf"
"Learn the MFC C++ Classes.pdf"
"SAMS teachs you VC++60 Unleashed" (web site)
"Aprenda C++ como si estuviera en 1°.pdf" (from Universidad politecnica de navarra - Spain)
But the 3 on english are MFC-Oriented, they are not pure C++. I recommend you to search the "C++ Standard" and take a look on it. It's the best place to know the most important features and how are they to be used.
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
|
|
|
|
|
steffw wrote: I've programming experience with c# (2 years)...
u have 2 years of programming experience in C# and you are trying to learn C++ now???
Regards,
Vijay.
God may not give us what we 'want', but he surely gives us what we 'need'.
|
|
|
|
|
I got your point though I don't see it is surprising. I know lots of people who know C# [and/or Java] but have no clear understanding of what is C++; they think C++ is hard to learn and to use so why to do hard things when one could earn by 'easy programming'. But I think C++ is great and in any time with any experience if someone has decided to learn it, by no matters it is late.
--
=====
Arman
|
|
|
|
|
Arman Z. Sahakyan wrote: I don't see it is surprising.
well, i did find it a little surprising. I believe that most of the people learn programming starting with C/C++, which i still believe is the right approach.
Regards,
Vijay.
God may not give us what we 'want', but he surely gives us what we 'need'.
|
|
|
|
|
not at my school
The guy who is trying to teach programming is a disaster...
Stef
|
|
|
|
|
steffw wrote: The guy who is trying to teach programming is a disaster...
This is the scenario in most of the schools and collages i suppose.
Regards,
Vijay.
God may not give us what we 'want', but he surely gives us what we 'need'.
|
|
|
|
|
Like everyone said, C# and C++ are very different, you should work through a book even if you know a lot of stuff already.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
no problem, do you know a good book about it?
What are your experiences?
Stef
|
|
|
|
|
You just go through BOOK Programming in C++ Written by Balgurus wamy.
Avadhut
Software Developer
|
|
|
|
|
You just go through BOOK Programming in C++ Written by Balguruswamy.
Avadhut
Software Developer
|
|
|
|
|
Since you are used to programming, i can recommend you the following books (in no order of priority).
The C++ Programming Language - by Bjarne Stroustrup.
C++ - The Complete Reference.
C++ Primer - by Stanley Lippman and Josse Lajoie.
you can use any of the above book to start with.
Regards,
Vijay.
God may not give us what we 'want', but he surely gives us what we 'need'.
|
|
|
|
|
Avadhut_mane wrote: Programming in C++ Written by Balguruswamy.
Nah... i guess its good for beginners and not for someone who already has a programming experience.
Regards,
Vijay.
God may not give us what we 'want', but he surely gives us what we 'need'.
|
|
|
|
|
Thank you for the reply
i will consider it
Stef
|
|
|
|
|
|
Try Koenig/Moo "Accelerated C++" (Teaser here[^])
A little old, but your target isn't moving too fast....
Failure is not an option - it's built right in.
|
|
|
|