Soylent Green Is People!!!
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Soylent Green Is People!!!

  1. #1
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    860

    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

    Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. -Cicero

  2. #2
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    860
    :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

    Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. -Cicero

  3. #3
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    860
    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

    Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. -Cicero

  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
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center