create object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • priyanka s
    New Member
    • Jul 2006
    • 4

    create object

    1) how to declare object for wrapper class in consol based application.
    Is it the same :

    classname object;

    or some other way

    if this is the class declaration and i have to declare object for CAAPI class how ????
    SO THAT I CAN CALL THE FUNCTION OF CAAPI.

    class CAAPI : public CWnd

    2)If i want to create menu in consol based application is that possible ????
    If yes then what is the easy method for that
    Any link
    Any help
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    1.

    CAAPI myApi;

    2. No not on the console application itself although it looks like your console app might be creating a window. Anyway a menu is a GUI artifact and by it's very nature the console has no GUI.

    Comment

    Working...