Thread: what do you prefer

  1. #1
    Registered User whistlenm1's Avatar
    Join Date
    Jan 2002
    Posts
    124

    what do you prefer

    I'm a curious, which header/library do you prefer to use in C or C++ programming I/O, <stdio.h> or <iostream.h>, I myself - a definite <stdio.h>. My reason being is that I believe I have more control (placebo).
    Last edited by whistlenm1; 01-28-2002 at 04:11 PM.

  2. #2
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385


    (fun post of the decade)

    normally iostream.h, conio.h and then whatever specific headers i need.


    _____
    and is the board doing random logouts again or is it just me?
    Monday - what a way to spend a seventh of your life

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    363
    iostream
    its the way i was taught
    and the way i've seen it done in pretty much every single book i've seen on the subject.

  4. #4
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    Well, the most obvious answer is that I use whatever is best suited to the job at hand. If a hammer is your tool of preference then would you still use a hammer to tighten a nut?

    -Prelude
    My best code is written with the delete key.

  5. #5
    A Banana Yoshi's Avatar
    Join Date
    Oct 2001
    Posts
    859
    I thought I asked a similar question in DOS programming: cout or printf
    Yoshi

  6. #6
    Registered User
    Join Date
    Jan 2002
    Posts
    363
    >>you still use a hammer to tighten a nut

    i for one would, to quote homer simpson:
    "if you can't fix it with a hammer, then maby it isn't worth fixing"

  7. #7
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >i for one would
    Ah, an aficionado of repair procedure #1 I see

    -Prelude
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why do you prefer C#?
    By Welder in forum C# Programming
    Replies: 38
    Last Post: 12-06-2007, 06:54 AM
  2. which way you prefer
    By l2u in forum C++ Programming
    Replies: 4
    Last Post: 06-07-2007, 11:39 AM
  3. What Font Size do you prefer?
    By SourceCode in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 03-23-2003, 04:58 AM
  4. Which one will you prefer: cout or printf
    By Yoshi in forum A Brief History of Cprogramming.com
    Replies: 35
    Last Post: 02-06-2002, 10:42 PM