Thread: Dev C++ compiler question

  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    100

    Dev C++ compiler question

    I've seen this many times, and I have yet to figure out exactly how I can use it. Let me give you a ferinstance.

    Ferinstance

    Code:
     void Fraction:MultFrac()
    oops! forgot the second ":". When I go to insert it, down drops a menu :
    Code:
     
    Function  void AddFrac()
    Variable   int den
    Function  void DisplayFrac()
    Function  void DivFrac()
    Function  void GetFraction()
    Function  void MultFrac()
    Variable   int num
    Function  void RawDisplay()
    Function  void Reduce()
    Function  void SubFrac()
    So what does this do and how can it help me? I also noticed that it seems to give you some sort of menu when you start to overload constructors.
    Maybe they have something over at Dev's page that I've overlooked?

    *edit note...forgot some parenthesis. Not that you wouldn't have gotten the gist of it, but good habits early and all that.
    Last edited by exluddite; 10-16-2004 at 08:25 PM.

  2. #2
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    the list is a way to display the members of the class you are refering to without scrolling up the page to find the correct spelling, etc. At least in some compilers, the program will highlight the member that you are trying to type in based on the letters you've typed so far, and, when it does so, you can hit the enter button and it will type in the rest of the member information for you, decreasing the risk of typos. Sometimes it helps, sometimes it's a nuisance.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. compiler question
    By al_engler in forum C Programming
    Replies: 5
    Last Post: 12-19-2006, 10:39 PM
  2. Compiler Question.
    By RealityFusion in forum C++ Programming
    Replies: 2
    Last Post: 07-20-2004, 07:52 AM
  3. C/C++ Compiler Question
    By Unregistered in forum C++ Programming
    Replies: 11
    Last Post: 07-09-2002, 02:09 AM
  4. newbie question about using windows app in Dev C++
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 06-09-2002, 10:50 PM
  5. Question: Which Compiler????
    By MaBo in forum C Programming
    Replies: 5
    Last Post: 06-04-2002, 11:57 AM