Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. The W2K crash proggy

The W2K crash proggy

Scheduled Pinned Locked Moved The Lounge
c++questionannouncement
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nikhil Dabas
    wrote on last edited by
    #1

    I've seen it at least a dozen times around here... everyone's using

    #include "stdio.h"

    in that proggy. Why? I think it should be

    #include <stdio.h>

    Yeah, I know, both ways work, but the really correct version should be the one with the wakas™, not the tickies™. Bestow thy knowledge upon me, C++ gurus. A list is only as strong as its weakest link. - Don Knuth

    B C C 3 Replies Last reply
    0
    • N Nikhil Dabas

      I've seen it at least a dozen times around here... everyone's using

      #include "stdio.h"

      in that proggy. Why? I think it should be

      #include <stdio.h>

      Yeah, I know, both ways work, but the really correct version should be the one with the wakas™, not the tickies™. Bestow thy knowledge upon me, C++ gurus. A list is only as strong as its weakest link. - Don Knuth

      B Offline
      B Offline
      Brigg Thorp
      wrote on last edited by
      #2

      I don't think it matters. The compiler will look ONLY in the system include directory if the include is between the <> symbols. If you put quotes around it instead it will look in the system inlcude directory FIRST, then go to the user specified include directories for the search. As long as the standard file is found, who cares. Brigg Thorp Software Engineer Timex Corporation

      N 1 Reply Last reply
      0
      • N Nikhil Dabas

        I've seen it at least a dozen times around here... everyone's using

        #include "stdio.h"

        in that proggy. Why? I think it should be

        #include <stdio.h>

        Yeah, I know, both ways work, but the really correct version should be the one with the wakas™, not the tickies™. Bestow thy knowledge upon me, C++ gurus. A list is only as strong as its weakest link. - Don Knuth

        C Offline
        C Offline
        Chris Losinger
        wrote on last edited by
        #3

        maybe eveybody has their own custom version of stdio.h ? like, i prefer to define size_t as __int64 instead of whatever stupid type MS thinks it should be. :) -c


        Smaller Animals Software, Inc. http://www.smalleranimals.com

        1 Reply Last reply
        0
        • B Brigg Thorp

          I don't think it matters. The compiler will look ONLY in the system include directory if the include is between the <> symbols. If you put quotes around it instead it will look in the system inlcude directory FIRST, then go to the user specified include directories for the search. As long as the standard file is found, who cares. Brigg Thorp Software Engineer Timex Corporation

          N Offline
          N Offline
          Nikhil Dabas
          wrote on last edited by
          #4

          Yes I know. I mentioned that in my post. I just wanted to test out a silly new gradient filter I found. A list is only as strong as its weakest link. - Don Knuth

          1 Reply Last reply
          0
          • N Nikhil Dabas

            I've seen it at least a dozen times around here... everyone's using

            #include "stdio.h"

            in that proggy. Why? I think it should be

            #include <stdio.h>

            Yeah, I know, both ways work, but the really correct version should be the one with the wakas™, not the tickies™. Bestow thy knowledge upon me, C++ gurus. A list is only as strong as its weakest link. - Don Knuth

            C Offline
            C Offline
            Chris Maunder
            wrote on last edited by
            #5

            oooh - nice gradient ;) cheers, Chris Maunder (CodeProject)

            A 1 Reply Last reply
            0
            • C Chris Maunder

              oooh - nice gradient ;) cheers, Chris Maunder (CodeProject)

              A Offline
              A Offline
              Andrew Peace
              wrote on last edited by
              #6

              Funnily enough that's the first thing I thought when I clicked on the post, but I thought I'd avoid appearing easily taken and keep schtum ;P. What I'm not gonna admit is that I then went across to an article, and found another post with a <pre> in just to see whether you'd made it standard across the site or if it was the poster who'd done it :-D. BTW the scrolly things in code listings in articles didn't go amiss - nice idea, I'd no idea it was even possible. Mucho HTML catch-up research needed soon methinks. Ok, off to bed, it's 0227 here and WAY too late for 'us youngens' (as you over 30's would say ;P), like my grand self, to be hangin' round in the Salloon (sic?) :). -- Andrew.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups