Thread: What 5hould I learn?

  1. #16
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    No need!

    #define 5 (char)0x63
    #define 5 (char)0x53

    There's a problem with capitalisation though ...

  2. #17
    Lean Mean Coding Machine KONI's Avatar
    Join Date
    Mar 2007
    Location
    Luxembourg, Europe
    Posts
    444
    Quote Originally Posted by twomers View Post
    No need!

    #define 5 (char)0x63
    #define 5 (char)0x53

    There's a problem with capitalisation though ...
    As well as with the number five itself:

    Code:
    #define REAL_FIVE 5;

  3. #18
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Sure, except... *deep breath*

    5 is an illegal identifier and therefor cannot be used as a macro name, it wouldn't matter anyway as the identifier would be taken as a literal next to other characters (ex. <io5tream>), which wouldn't matter anyway since that would just replace with the literal definition giving you <io(char)0x63tream>.
    Sent from my iPad®

  4. #19
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    #define five (char)0x63
    #define FIVE (char)0x53

    #define REAL_FIVE 5;

    You ruin all the parties, sly!

  5. #20
    Lean Mean Coding Machine KONI's Avatar
    Join Date
    Mar 2007
    Location
    Luxembourg, Europe
    Posts
    444
    \/\/|-|@7 4B0U7 7|-|3 3|\|71r3 L337 $P34|< \/0(4BUL4r'/?

  6. #21
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Quote Originally Posted by twomers View Post
    You ruin all the parties, sly!
    My dairy companion would disagree.
    Quote Originally Posted by KONI View Post
    \/\/|-|@7 4B0U7 7|-|3 3|\|71r3 L337 $P34|< \/0(4BUL4r'/?
    Too many different dialects.
    Sent from my iPad®

  7. #22
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    Or he could ju5t u5e hi5 IDE5 find-and-replace form. Here PublicAutop5y, copy the following into your find-and-replace form in you'r IDE. (Acce55ed with CTRL-R)
    Code:
    s

  8. #23
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Copy and pa5te
    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.

  9. #24
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    there is a virtual keyboard in windows... I use it for \ and | symbols on my notebook, because this button is not working
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  10. #25
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Here's a challenge before you start delving into the world of programming. Write 5 grammatically correct sentences that don't contain the letter 's'.

  11. #26
    Registered User
    Join Date
    Apr 2007
    Posts
    45
    Quote Originally Posted by twomers View Post
    How do you expect to be able to program with a broken s and S?
    hahahahaha
    we are one

  12. #27
    Registered User
    Join Date
    Apr 2007
    Posts
    45
    Not for any 5pecific purpo5e5 but what do you think i5 the be5t programing language ju5t over all?
    Learn C.

    we are one

  13. #28
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    There is no "best" language. The thing to do is choose the language that best fits the particular task you are doing. For example, you would choose Java Script over C++ if you were creating a web application or even XTML.

    C++ is great for large apps like game development, and store systems ( databases ect )
    Double Helix STL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Am I too late to learn programming?
    By maccat in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 02-17-2009, 08:49 AM
  2. Looking to learn C++
    By Fuzzy91 in forum C++ Programming
    Replies: 40
    Last Post: 04-13-2006, 02:38 AM
  3. You have to learn C in order to learn C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 07-16-2004, 10:33 AM
  4. Witch to learn first?
    By Unregistered in forum Windows Programming
    Replies: 2
    Last Post: 06-17-2002, 12:06 AM
  5. Advice on how to being to learn C++
    By VenomUK in forum C++ Programming
    Replies: 9
    Last Post: 05-18-2002, 01:06 PM