View Poll Results: An automated function linker?

Voters
4. You may not vote on this poll
  • That would be good to have.

    0 0%
  • It could help, might not too though.

    1 25.00%
  • I would like it with a couple of changes.

    0 0%
  • Bad idea, it would be totally useless.

    0 0%
  • Terrible idea, it would cause problems.

    3 75.00%

Thread: Automatic function linking

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342

    Question Automatic function linking

    I was thinking, when people answer questions with a function, a lot of times the thread opener will ask for a link or how to use the function. And some people already link the function name to microsofts library. So why not impliment an automatic function linker? That way, everytime some posts a post with a function name in it, it will automaticly be linked to msdn. It would be very convenient and would cut down on lazy posts just a litte. Tell me why it would or wouldn't work in your opinion, and what you think. -Quaytrix

  2. #2
    Massively Single Player AverageSoftware's Avatar
    Join Date
    May 2007
    Location
    Buffalo, NY
    Posts
    141
    Not everyone is using Windows.

    Functions with names like "CreateWindow" are very common, and it would be silly to assume that someone was always referring to Microsoft's version.
    There is no greater sign that a computing technology is worthless than the association of the word "solution" with it.

  3. #3
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Would you define a function name as one which has the required ()'s. So what happens if I write CreateThread but leave off the ()'s? Also, finding the right MSDN article might be more of a pain than you might realize.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    It would be so convenient that it would really irritate me. If I want to link, I will do so myself. What I might support is a bbcode tag that is a shorthand for a link to a reference page, much like the [man] bbcode tag used at a PHP community I frequent that provides a shorthand for links to the PHP manual. Of course, if only MSDN was supported as a reference I would be very upset.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Massively Single Player AverageSoftware's Avatar
    Join Date
    May 2007
    Location
    Buffalo, NY
    Posts
    141
    Quote Originally Posted by MacGyver View Post
    Also, finding the right MSDN article might be more of a pain than you might realize.
    I have enough trouble finding things at MSDN when I'm doing it manually. I can't imagine trying to it automatically.
    There is no greater sign that a computing technology is worthless than the association of the word "solution" with it.

  6. #6
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Quote Originally Posted by AverageSoftware View Post
    I have enough trouble finding things at MSDN when I'm doing it manually. I can't imagine trying to it automatically.
    Usage of google to search MSDN ftw!

  7. #7
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    Can we build in an automatic Queatrix poll deleter. That would be swell.
    Woop?

  8. #8
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    I see your points. But actually, finding the right page wouldn't be hard. If you just type in "CreateWindow Function" or "WM_CREATE Notification" in msdn's library search, the first result will be what you're looking for, same goes for the other functions and notifications. Either that, or a library could be compiled.

  9. #9
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Queatrix you just don't get it do you?

    Stop creating so many polls. I'm closing this thread.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. In over my head
    By Shelnutt2 in forum C Programming
    Replies: 1
    Last Post: 07-08-2008, 06:54 PM
  2. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 11:45 AM
  3. dllimport function not allowed
    By steve1_rm in forum C++ Programming
    Replies: 5
    Last Post: 03-11-2008, 03:33 AM
  4. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  5. Replies: 28
    Last Post: 07-16-2006, 11:35 PM