[C++][Source] How to get started menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    wanyancan's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    En... Found this problem in GD forum... Still testing.

    This piece comes with "sauce"! I don't care whether it's for public or private. At least very interesting and useful to me.

    [C++][Source] How to get started
  2. #17
    Flowerew's Avatar Master Sergeant
    Reputation
    72
    Join Date
    Oct 2009
    Posts
    134
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post

    try/finally is not C++, and those extensions you're talking about don't gel well with C++ objects. It's primarily designed for C code, as when using SEH you can't use objects with destructors.

    Example:
    __try
    {
    std::string MyString;
    // do something with string
    }
    __finally
    {
    }

    That will not compile.

    RAII is how it's supposed to be done in C++, try/finally is a hack designed for C code, is not portable across compilers, etc. Basically, it's just 100% the WRONG way to do it in C++. C, yeah, I can see that being useful. But in C++ it's not only unnecessary, it's wrong.
    I see ... thx for the clarification.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [How-To] How to get started in the Inscription Glyph Market
    By Vilesting in forum World of Warcraft Guides
    Replies: 0
    Last Post: 02-13-2012, 08:54 AM
  2. [PvP] Beastcleave2.0 or PHD2 aka BM/fDK/x, How to get started as a Hunter
    By CaptianCrook in forum World of Warcraft Guides
    Replies: 3
    Last Post: 05-18-2011, 01:00 AM
  3. Replies: 47
    Last Post: 03-09-2010, 11:25 AM
  4. How to get y our WHOLE team out of the EOTS bubble b4 game starts
    By wordboy in forum World of Warcraft Exploits
    Replies: 12
    Last Post: 01-04-2009, 03:31 PM
  5. How to get in midle of arena before start
    By Andrejcar in forum World of Warcraft Exploits
    Replies: 18
    Last Post: 11-27-2007, 07:15 AM
All times are GMT -5. The time now is 02:14 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search