CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    869

    Soylent Green Is People!!!

    Code:
    ::Di
    ::)
    trying to see how I can stop from becoming a smiley face.
    Verere testudinem! (Fear the turtle)

    Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy. -Albert Einstein

    Robots are trying to steal my luggage.

  2. #2
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    869
    :D
    Well that didn't work


    Okay, there is a disable smilies check box....

    :)
    :D
    Verere testudinem! (Fear the turtle)

    Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy. -Albert Einstein

    Robots are trying to steal my luggage.

  3. #3
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    869
    int f(float d)
    // Checks whether the number is positive or negative
    {
    if (f > 0) {
    printf("postive\n");
    return 1;
    } else {
    printf("negative or zero\n");
    return -1;
    }
    }
    Just testing this syntax highlighting program of Yves'
    Verere testudinem! (Fear the turtle)

    Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy. -Albert Einstein

    Robots are trying to steal my luggage.

  4. #4
    Join Date
    Aug 2002
    Location
    Madrid
    Posts
    4,588
    you should still put it inside a code segment, to preserve the spaces at the front.
    Code:
    int f(float d)
    // Checks whether the number is positive or negative
    {
      if (f > 0) {
        printf("postive\n");
        return 1;
      } else {
        printf("negative or zero\n");
        return -1;
      }
    }
    Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
    Supports C++ and VB out of the box, but can be configured for other languages.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured