My Text-Based RPG...

This is a discussion on My Text-Based RPG... within the C++ Programming forums, part of the General Programming Boards category; No, it's akin to if ((1 + 2 == 3) == true) (your case) and if (1 + 2 == ...

  1. #16
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,167
    No, it's akin to
    if ((1 + 2 == 3) == true) (your case)
    and
    if (1 + 2 == 3)
    The extra "== true" is just unnecessarily explicit.
    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.
    For information on how to enable C++11 on your compiler, look here.
    よく聞くがいい!私は天才だからね! ^_^

  2. #17
    Registered User
    Join Date
    Dec 2009
    Posts
    25
    Quote Originally Posted by Elysia View Post
    No, it's akin to
    if ((1 + 2 == 3) == true) (your case)
    and
    if (1 + 2 == 3)
    The extra "== true" is just unnecessarily explicit.
    yes thats what im saying...it is not wrong but unnecessary..i was just being sarcastic with the 1+2=3 example..however that a minor thing i should pay attention in c++ :P

  3. #18
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    1,602
    Sorry for making a liiiiiitle mess earlier, but i rarely find greeks here. ( I think they're hiding! )

    EDIT: Although even i couldn't read that message o_O. I hate Greeklish!!!
    Devoted my life to programming...

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

Similar Threads

  1. A bunch of Linker Errors...
    By Junior89 in forum Windows Programming
    Replies: 4
    Last Post: 01-06-2006, 01:59 PM
  2. text rpg help
    By xxwerdxx in forum Game Programming
    Replies: 1
    Last Post: 11-26-2005, 07:16 PM
  3. Check out My Text Rpg Game
    By knight543 in forum C++ Programming
    Replies: 3
    Last Post: 05-17-2002, 10:40 PM
  4. Text based GUI?
    By jon_nc17 in forum C++ Programming
    Replies: 1
    Last Post: 05-16-2002, 11:45 AM
  5. Text Based Game
    By drdroid in forum C++ Programming
    Replies: 2
    Last Post: 02-18-2002, 05:21 PM

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