Page 2 of 2 FirstFirst 12
Results 17 to 23 of 23

Thread: Born to be a Computer Programmer *56k*

  1. #17
    Senior Member
    Join Date
    Nov 2005
    Posts
    501
    Thanks
    0
    Thanked
    0 times in 0 posts
    Quote Originally Posted by TheAnimus
    the reason the teacher hasn't let him off is its missing a

    \r\n or \n depending how you newline
    Another reason for using puts, the ANSI standard says puts should append a newline to the string

  2. #18
    Banned
    Join Date
    Mar 2006
    Location
    Bradford
    Posts
    110
    Thanks
    0
    Thanked
    0 times in 0 posts
    lol

  3. #19
    dgr
    dgr is offline
    Senior Member
    Join Date
    Jul 2003
    Posts
    621
    Thanks
    0
    Thanked
    0 times in 0 posts
    Quote Originally Posted by GDVS
    Bloody youngsters with your new fangled object oriented languages, it's standard C. In C++ you wouldn't use printf there, you'd use cout << "insert text here"; not printf. In fact, puts would be much more resource efficient than printf for echoing a plain string but that's just being pedantic
    actually it's quite common to use printf in C++.

    It's definitely c though: look at the include line.
    dothan 745 @ 2.4ghz | 2gb Corsair XMS (2-3-3-6) | dual raptors (raid0) | ATI 9700pro | CM201 | dual lg 1810

  4. #20
    Banned
    Join Date
    Mar 2006
    Location
    Bradford
    Posts
    110
    Thanks
    0
    Thanked
    0 times in 0 posts
    it look like c rather than c++

  5. #21
    HEXUS.Metal Knoxville's Avatar
    Join Date
    Jul 2003
    Location
    Down In A Hole
    Posts
    9,388
    Thanks
    484
    Thanked
    442 times in 255 posts
    • Knoxville's system
      • Motherboard:
      • Intel X58
      • CPU:
      • Intel i7 920
      • Memory:
      • 2GB DDR3
      • Storage:
      • 1TB
      • Graphics card(s):
      • ATi HD3450
      • PSU:
      • Generic
      • Case:
      • Cheap and nasty
      • Operating System:
      • Vista 64
      • Monitor(s):
      • 24" LG LCD
      • Internet:
      • Virgin Media 20mb
    Its like watching fanboys tear apart the lord of the rings movies, I know you guys are right but it still looks sad

  6. #22
    Senior Member
    Join Date
    Nov 2005
    Posts
    501
    Thanks
    0
    Thanked
    0 times in 0 posts
    Quote Originally Posted by Knoxville
    Its like watching fanboys tear apart the lord of the rings movies
    Don't get me started, I loved the films but Faramir was NEVER tempted by the ring, never I tell you!

    It's kinda like the whole "Han shot first" thing.

  7. #23
    Senior Member
    Join Date
    Jun 2005
    Location
    London
    Posts
    224
    Thanks
    1
    Thanked
    2 times in 2 posts
    Quote Originally Posted by Knoxville
    Its like watching fanboys tear apart the lord of the rings movies, I know you guys are right but it still looks sad

    lol the first picture yeah was funny but all these post arguing over what language it is, are even funnier.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 07-12-2004, 11:45 AM
  2. Replies: 0
    Last Post: 07-12-2004, 10:44 AM
  3. Chickenhawks.
    By VladTheImpaler in forum Question Time
    Replies: 0
    Last Post: 03-10-2004, 08:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •