WARNING "fprintf ()" C function

This is a discussion on WARNING "fprintf ()" C function within the C Programming forums, part of the General Programming Boards category; Hehe, this is hilarious. Can you imagine how many applications, not to mention Operating Systems, have fprintf() in their code?...

  1. #16
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    Hehe, this is hilarious. Can you imagine how many applications, not to mention Operating Systems, have fprintf() in their code?

  2. #17
    Red Panda basilisk's Avatar
    Join Date
    Aug 2001
    Posts
    219
    first time i have ever seen a person with a doctorate without any published papers on the net - funny that one
    Do not meddle in the ways of dragons, for thou art crunchy and taste good with ketchup

  3. #18
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    Is it not illegal to claim your a doctor if your not? I think I seen somethink about that ...MM worth looking into.

  4. #19
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    >>not to mention Operating Systems, have fprintf()

    Considering operating systems can't use most standard C library functions? I'd say roughly about 0 (plus, they have their own filesystems, can you imagine how portable that function'd have to be? )

  5. #20
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,856
    >>the read/write mechanism crashes into the side of the disc casing.

    I thought the disk moved not the heads.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  6. #21
    Registered User foniks munkee's Avatar
    Join Date
    Nov 2001
    Posts
    343
    No, I believe that the heads move across the platter, there is one head per platter (I think) in most IDE drives and these move back and forth across the surface of the platter which is spinning, (they don't make contact with the platter, unless you are dancing vigourously close to your computer).

    Anyway, this news is going to make the world of Virus making a damn site easier.

  7. #22
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    lol


    This is so dumb I could even believe this guy is teaching students at university


    Happy flaming. Let the troll roast.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  8. #23
    Patent Pending GSLR's Avatar
    Join Date
    Sep 2001
    Posts
    134

    mm

    I used fprintf to write to a floppy, errr

    Im still trying to get the melted plastic out of the drive.

    Now Thats What I call Damage...











    And To All Those Opposed, Mmm Well !!!]

  9. #24
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    >Is it not illegal to claim your a doctor if your not?

    Yep.

  10. #25
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    >Is it not illegal to claim your a doctor if your not?

    Yep
    I don't know if that's entirely true... I know it's illegal to claim you're a medical doctor if you're not, but I don't know how illegal it is to say you have a PhD unless you're applying for a job or something...

  11. #26
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    >I don't know if that's entirely true...

    Well, perhaps it is better to say: in the Netherlands it is illegal to claim a title if you're not. Here in the Netherlands, titles are protected by law.

  12. #27
    B26354 Deckard's Avatar
    Join Date
    Jan 2002
    Posts
    633
    WARNING! I have determined that buggy software uses the main() function. DO NOT USE MAIN() IN YOUR PROGRAMS! IT KRASH UR KOMPOOTER!

    -Dr. Deckard

  13. #28
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    there is one head per platter (I think) in most IDE drives and these move back and forth across the surface of the platter which is spinning, (they don't make contact with the platter, unless you are dancing vigourously close to your computer).
    Most drives these days have more than one per platter (actually, the min is 2 per platter, 1 per side), which makes for quicker access times. Also, they do make contact when you switch off, but only on what's called the landing zone, which is lightly roughened to clean the heads. Sometimes they stick, which is why tapping a dead drive lightly on the floor sometimes resurrects it (this is NOT a joke BTW).
    Visit entropysink.com - It's what your PC is made for!

  14. #29
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,856
    >>which is why tapping a dead drive lightly on the floor sometimes resurrects it (this is NOT a joke BTW).

    Nor is the 'Shake test' (Pick up PC case and shake vigourously, listening for loose components.)

    Or the 'swing test' (Take a cable, attach to roof by connectors, grab hold and put all your weight on it to test soldering)

    Hard drives are rated to around 80g's, that is they can withstand an impact equal to 80 times that of gravity (when off), but only can be turned on / off around 100,000 times.

    If you don't believe me, throw your PC out the window and see which bit survives.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  15. #30
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    > If you don't believe me, throw your PC out the window and see which bit survives.

    Ppl DON'T DOO THIS! IT CRASHED MY POOTER!


Page 2 of 3 FirstFirst 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. doubt in c parser coding
    By akshara.sinha in forum C Programming
    Replies: 4
    Last Post: 12-23-2007, 12:49 PM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 04:45 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  4. Errors
    By Rhidian in forum C Programming
    Replies: 10
    Last Post: 04-04-2005, 12:22 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21