Thread: Error handling, thw With statement and Distributing

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    19

    Question Error handling, thw With statement and Distributing

    Hi!

    I have three questions about VC++:

    1. How should I handle Errors in VC++ (like in VB: On Error GoTo ...)

    2. Is there a With statement in VC++
    (like:
    With cout
    {
    << "Line 1\n"
    << "line 2\n"
    << "Line n"
    }

    3. How should I Distribute a VC++ application. Must I use PDW or any other setup programs like in VB or is there another way?
    Regards!
    Ales Zigon

    Rock 'em key things!!

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    155
    1) probably throw/catch pair. to learn more look at a section in a textbook that discusses error handling:

    http://www.stud.fim.ntnu.no/~oystesk/CPP/htm/ch01.htm

    2) No with statement, it's just:
    cout << variable1 << variable2 << variable3;

    3) Sorry, can't help on this one.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    19
    Originally posted by guest
    1) probably throw/catch pair. to learn more look at a section in a textbook that discusses error handling:

    http://www.stud.fim.ntnu.no/~oystesk/CPP/htm/ch01.htm

    2) No with statement, it's just:
    cout << variable1 << variable2 << variable3;

    3) Sorry, can't help on this one.
    Hi!

    Thanx man!

    Anyone else knows about distributing VC++ applications?
    Regards!
    Ales Zigon

    Rock 'em key things!!

Popular pages Recent additions subscribe to a feed