Thread: Learning C++ by Example

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Where is "NewTrack" defined?
    Where are the functions begin, end defined?
    Where are the operators ++ (prefix), != and * defined?
    What does the compiler say?

    You can create a function that returns all tracks or one track, if you will. You will get less encapsulation, though, and some programmers will come to expect to be able to iterate over tracks because... it's a standard pattern for all things that are iterable (all standard contains supports it).
    Last edited by Elysia; 09-01-2014 at 09:31 AM. Reason: Spell error
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Learning C++
    By sLIVER in forum C++ Programming
    Replies: 2
    Last Post: 07-11-2007, 08:18 PM
  2. Learning
    By nojoegohome in forum C++ Programming
    Replies: 6
    Last Post: 07-06-2006, 04:33 AM
  3. Learning Dos and learning Windows
    By blankstare77 in forum C++ Programming
    Replies: 8
    Last Post: 07-31-2005, 03:48 PM
  4. Learning?
    By bob20 in forum A Brief History of Cprogramming.com
    Replies: 41
    Last Post: 12-11-2002, 10:17 AM

Tags for this Thread