* question on Doing search *
-
:)Hi, Dear all, when I read the codes from other people, a question come up to me: If I know which class/namespace to realize one function, the rest of work is pretty straightforward--just read the documentation and debug, but when I am designing a project and need to add one function to my application, if I had no idea which namespace/class provide this function, how can I find it fast? :confused: For example: when I am doing a graphic application, I wanna add a zoom function to my appli, what is the quickest way to search for right functionality? I tried the MSDN/google, it seems to take long time to find the right thing....:eek: dear bro, I know this may sound like a silly question to you, pls give me some idea what you do when you find yourself in a situation like me? Million Thanks.:rose:
-
:)Hi, Dear all, when I read the codes from other people, a question come up to me: If I know which class/namespace to realize one function, the rest of work is pretty straightforward--just read the documentation and debug, but when I am designing a project and need to add one function to my application, if I had no idea which namespace/class provide this function, how can I find it fast? :confused: For example: when I am doing a graphic application, I wanna add a zoom function to my appli, what is the quickest way to search for right functionality? I tried the MSDN/google, it seems to take long time to find the right thing....:eek: dear bro, I know this may sound like a silly question to you, pls give me some idea what you do when you find yourself in a situation like me? Million Thanks.:rose:
-
:)Hi, Dear all, when I read the codes from other people, a question come up to me: If I know which class/namespace to realize one function, the rest of work is pretty straightforward--just read the documentation and debug, but when I am designing a project and need to add one function to my application, if I had no idea which namespace/class provide this function, how can I find it fast? :confused: For example: when I am doing a graphic application, I wanna add a zoom function to my appli, what is the quickest way to search for right functionality? I tried the MSDN/google, it seems to take long time to find the right thing....:eek: dear bro, I know this may sound like a silly question to you, pls give me some idea what you do when you find yourself in a situation like me? Million Thanks.:rose:
you can try http://www.koders.com/[^] which will let you search open source code sets for routines, but depending on the functionality that you want, some require a lot more than one routine. For instance zoom might find you a field-of-view camera zoom for a 3D application similar to mine which might not be what you want, but if even if it was, it is dependant upon the other camera utils. But it could at least find you the project to start from, and it does provide links to the whole project when you do. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
:)Hi, Dear all, when I read the codes from other people, a question come up to me: If I know which class/namespace to realize one function, the rest of work is pretty straightforward--just read the documentation and debug, but when I am designing a project and need to add one function to my application, if I had no idea which namespace/class provide this function, how can I find it fast? :confused: For example: when I am doing a graphic application, I wanna add a zoom function to my appli, what is the quickest way to search for right functionality? I tried the MSDN/google, it seems to take long time to find the right thing....:eek: dear bro, I know this may sound like a silly question to you, pls give me some idea what you do when you find yourself in a situation like me? Million Thanks.:rose:
Your best bet is to go thru th CP articles and forums and google. Remember if you get to many results, refine refine refine. Google lets you use up to ten words, use them if you got them. The more specific you are, the less mess you have to muddle thru to find what you are looking for. For example you say you are looking for a zoom functionality, thats not very specific i mean: 1) for what language? 2) to zoom what? (pic, document, charts) 3) will you zoom the whole program, or spawn a small window with the results I mean i could go on, but then i'd get pretty anal. When you answer all these questions don't respond to me, put it all in google. When you put it all in google or msdn, and find wht you are looking for, post so i can vote you a congratulatory 5. Discovery consist of seeing what everybody has seen and thinking what nobody has thought -- Albert Szent-Györgyi Name the greatest of all the inventors: accident --Mark Twain
-
:)Hi, Dear all, when I read the codes from other people, a question come up to me: If I know which class/namespace to realize one function, the rest of work is pretty straightforward--just read the documentation and debug, but when I am designing a project and need to add one function to my application, if I had no idea which namespace/class provide this function, how can I find it fast? :confused: For example: when I am doing a graphic application, I wanna add a zoom function to my appli, what is the quickest way to search for right functionality? I tried the MSDN/google, it seems to take long time to find the right thing....:eek: dear bro, I know this may sound like a silly question to you, pls give me some idea what you do when you find yourself in a situation like me? Million Thanks.:rose:
;););););)
-
:)Hi, Dear all, when I read the codes from other people, a question come up to me: If I know which class/namespace to realize one function, the rest of work is pretty straightforward--just read the documentation and debug, but when I am designing a project and need to add one function to my application, if I had no idea which namespace/class provide this function, how can I find it fast? :confused: For example: when I am doing a graphic application, I wanna add a zoom function to my appli, what is the quickest way to search for right functionality? I tried the MSDN/google, it seems to take long time to find the right thing....:eek: dear bro, I know this may sound like a silly question to you, pls give me some idea what you do when you find yourself in a situation like me? Million Thanks.:rose:
Gee, why do I think you're talking about me? :) Read through the table of contents for the Class Library[^] to get a feel and look at random class names. You should notice a pattern. The other day a colleague needed a dictionary to store strings and mentioned he couldn't find one so he wrote his own. Think "string", "dictionary", and put them together how the BCL commonly does it:
StringDictionary
. Type it in the index and...viola'...you find a class. Definitely browsing the TOC can help at least enlighten you to what classes are available and the names are most often self-explanitory. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog]