Pointers

This is a discussion on Pointers within the C++ Programming forums, part of the General Programming Boards category; I agree with SamGuilliam, I was taught to call it #include<iostream.h> . And never once did I come across this ...

  1. #16
    Super Moderater.
    Join Date
    Jan 2005
    Posts
    374
    I agree with SamGuilliam,

    I was taught to call it #include<iostream.h>. And never once did I come across this #include<iostream> ... using namespace std. It's only being in these forums that it has been brought to my attention.

    However, it appears in order for those who are using Devshed, the second heading i.e. #include<iostream> using namespace std, is the only one which compiles without any errors.

    Sure enough #include<iostream.h> works, but it compiles with errors.

    If you are using Devshed Sam you should use the updated syntax.

    But yes I understand where you are coming from.

  2. #17
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Quite simply, <iostream.h> never was standard. So, if a given compiler had it, and it worked as expected, great. If not, oh well.

    Cheers
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  3. #18
    Budding Synth Programmer samGwilliam's Avatar
    Join Date
    Feb 2002
    Location
    Trefforest
    Posts
    368
    Quote Originally Posted by Zach L.
    Quite simply, <iostream.h> never was standard. So, if a given compiler had it, and it worked as expected, great. If not, oh well.

    Cheers
    Then when they decided to standardise it, what possessed them to change it from what was the current convention?

    Anyhow, I'll continue to use it until I acquire a compiler that doesn't honour it...

  4. #19
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,590
    Further replies here.
    Pointers...Problem still exists

    Please don't start new threads for questions which are basically a continuation of the same topic.

    > Please mail this back to my address: dharma_sanyasi@hotmail.com
    This will get you nowhere fast, mostly, you'll just get ignored.
    If you really want email, tick the "please email me when replies are posted to my thread" checkbox in your user options.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using pointers to pointers
    By steve1_rm in forum C Programming
    Replies: 18
    Last Post: 05-29-2008, 05:59 AM
  2. function pointers
    By benhaldor in forum C Programming
    Replies: 4
    Last Post: 08-19-2007, 10:56 AM
  3. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 09:33 AM
  4. Staticly Bound Member Function Pointers
    By Polymorphic OOP in forum C++ Programming
    Replies: 29
    Last Post: 11-28-2002, 12:18 PM

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