John Carmack used goto

This is a discussion on John Carmack used goto within the Game Programming forums, part of the General Programming Boards category; visual assist isnt a sreen shot program travis, its a program to make visual c++ all colorful and pretty like....

  1. #16
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    visual assist isnt a sreen shot program travis, its a program to make visual c++ all colorful and pretty like.

  2. #17
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Originally posted by Perspective
    visual assist isnt a sreen shot program travis, its a program to make visual c++ all colorful and pretty like.
    Visual C++ 6 that is? What's so colorfull on it?

  3. #18
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    tools----options----format

    all the pretty coloring u need.

  4. #19
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Down at the processor level, the only jump function is GOTO (JMP, BRANCH, call them whatever you want, they're still GOTO:s ). No do/for/while loops exists, they are buildt upon goto:s.

    GOTO is only bad in the wrong hands. You can screw up the stack if using it incorrectly.
    I've never used goto. Never needed to, since the other loops are enough.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  5. #20
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Originally posted by Magos
    GOTO is only bad in the wrong hands. You can screw up the stack if using it incorrectly.
    I've never used goto. Never needed to, since the other loops are enough.
    You won't ever have to resort to GOTO, There are enough
    alternatives, The only arguments encouraging GOTO's are
    that they're easy and fast, But i'm doubting on the fast part,
    Is the difference really that big worth using an ugly statment
    for?

  6. #21
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    Originally posted by Travis Dane
    You won't ever have to resort to GOTO, There are enough
    alternatives, The only arguments encouraging GOTO's are
    that they're easy and fast, But i'm doubting on the fast part,
    Is the difference really that big worth using an ugly statment
    for?
    if the other option to break out of a nested loop is to change a variable in memory, then an unconditional jump using a goto will be a little quicker.

  7. #22
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    tools----options----format

    all the pretty coloring u need.
    That doesn't do syntax highlighting, or at least not as much as visual assist. va keeps track of all variables and makes sure you've spelled everything correctly too and it underlines them when they're wrong, it also highlights corresponding brackets so you know if you have enough in nested loops and what not

    its a really good proggie, try her out

  8. #23
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Originally posted by Silvercord
    That doesn't do syntax highlighting, or at least not as much as visual assist. va keeps track of all variables and makes sure you've spelled everything correctly too and it underlines them when they're wrong, it also highlights corresponding brackets so you know if you have enough in nested loops and what not

    its a really good proggie, try her out
    hmm think i will, thnx for the info.

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

Similar Threads

  1. temperature sensors
    By danko in forum C Programming
    Replies: 22
    Last Post: 07-10-2007, 07:26 PM
  2. John Carmack on Facebook?
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 11-02-2006, 03:29 PM
  3. helpppp
    By The Brain in forum C Programming
    Replies: 1
    Last Post: 07-27-2005, 07:05 PM
  4. John Carmack is cool, he emailed me back
    By Silvercord in forum Game Programming
    Replies: 8
    Last Post: 02-12-2003, 09:20 PM
  5. Need some help with a basic tic tac toe game
    By darkshadow in forum C Programming
    Replies: 1
    Last Post: 05-12-2002, 04:21 PM

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