• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "something in VC++ MS Visual Studio bugging me ... do you know ?"

Collapse

  • Joe Black
    replied
    "I am still not out of ideas here, 4th version:"

    Emm...what planet are you on AtW?

    Leave a comment:


  • Churchill
    replied
    It's no coincidence that .net rhymes with .tulipe...

    Have you thought about learning 6502 assembly language?

    Leave a comment:


  • luke warm
    replied
    Originally posted by messiah
    something in VC++ MS Visual Studio is bugging me ... do you know what the key short cut is that makes the cursor jump to the corresponding parenthesis of a compound statement in VC++ ?? even if the parenthesis pair is deeply nested ?

    }
    depends which version you're on

    in VC6 it is ctrl+]
    in VS .net depends on what mode you have it in
    go to tools, options, environment, keyboard, type brace into the search box

    Leave a comment:


  • AtW
    replied
    I am still not out of ideas here, 4th version:

    #define begin {
    #define end }

    void ExpectASarcasticOrSnottyReplyToThisEmail
    begin

    cout << "I love Jordan\n";
    ExpectASarcasticOrSnottyReplyToThisEmail();

    end

    Leave a comment:


  • AtW
    replied
    Hell, I am on a roll today, 3rd version:

    void ExpectASarcasticOrSnottyReplyToThisEmail
    {
    cout << "I love Jordan\n";
    ExpectASarcasticOrSnottyReplyToThisEmail();
    }

    Leave a comment:


  • AtW
    replied
    You guys give up too easy, here is my second attempt to help:

    void ExpectASarcasticOrSnottyReplyToThisEmail
    {

    // no brackets needed at all
    for(;
    cout << "I love Jordan\n";

    }

    Leave a comment:


  • mcquiggd
    replied
    Yep, lets offshore AtW....

    Sorry mate

    Leave a comment:


  • milanbenes
    replied
    feck me that sounds complicated, give it to the Indians

    Milan.

    Leave a comment:


  • AtW
    replied
    Try this:


    void ExpectASarcasticOrSnottyReplyToThisEmail
    {

    // no brackets needed for just one statement
    if (true)
    while (true)
    {
    if (true) // no brackets needed for just one statement
    cout << "I love Jordan" << endl;

    }

    }

    Leave a comment:


  • mcquiggd
    replied
    I just use Resharper with C#... sorry mate.....

    Leave a comment:


  • something in VC++ MS Visual Studio bugging me ... do you know ?

    something in VC++ MS Visual Studio is bugging me ... do you know what the key short cut is that makes the cursor jump to the corresponding parenthesis of a compound statement in VC++ ?? even if the parenthesis pair is deeply nested ?


    example :-

    void ExpectASarcasticOrSnottyReplyToThisEmail
    {
    if (true)
    {
    while (true)
    {
    if (true)
    { // <--------------- cursor at opening parenthesis a).

    cout << "I love Jordan" << endl;

    } // corresponding clossing parenthesis b) in compound
    statement.
    }
    }
    }

Working...
X