Thread: Bugs (and strange things...)

  1. #121
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Lets not go into the tab vs space debate again. My comment was suppose to be a lighhearted jab at Bubba

  2. #122
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Quote Originally Posted by Hunter2
    I prefer to hit tab once, and have everything line up like it's supposed to, than accidentally miss hitting space the fourth time, or hitting it an extra time, and ending up with code that's all over the place. And, I prefer hitting tab once over hitting space four times anyday.
    In most IDEs, you can configure it to replace tabs with x number of spaces.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #123
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I must have missed the debate...but I will switch my IDE to translate the tabs to spaces instead. Sorry I'm not going to manually tab my code over when I can just as easily hit TAB.

  4. #124
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    I must have missed the debate
    Linky linky http://cboard.cprogramming.com/showt...ht=tabs+spaces

  5. #125
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    >>In most IDEs, you can configure it to replace tabs with x number of spaces.
    Ah yes, but the point was that it would be convenient to be able to hit 'tab' in the code editor, and it would insert a tab character instead of changing the focus

    Actually, I've experimented with the tab-replaced-with-spaces thing, but gave up on it because I'd already been using tab for the first half of the project, and I was getting disoriented with hitting backspace 4 times and realizing that it was actually a tab character, or hitting it once and realizing that it was four spaces
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  6. #126
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    Can you add the "date joined" column back to the membership list?
    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.

  7. #127
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    Grrr
    New Posts Mark Forums Read
    They're next to each other, and I got the wrong one
    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.

  8. #128
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    or you could just convert tabs to spaces before you hit the save button??
    PHP and XML
    Let's talk about SAX

  9. #129
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    But then when you open it again, it'll all be spaces...
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  10. #130
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Quote Originally Posted by Hunter2
    But then when you open it again, it'll all be spaces...
    So what!
    It will look exactly like it did when you saved it.
    It will look exactly like it did in your co-workers IDE.
    It will look exactly like it did in every editor know to man (that uses a mono-space font).

    That's the point of using spaces - it looks the same everywhere - even on C Board!!

    For those of you who think that "using spaces" means "hitting the space bar"..........damn...

    gg

    [EDIT]
    Ok, so you don't like hitting backspace more than once....I hit up and return since my IDE auto-indents for me.
    [/EDIT]

  11. #131
    Registered User
    Join Date
    Jan 2003
    Posts
    648
    You should be able to state what type of code your posting. For example, right beside the Code: header of a code section, it should say Code (<name>):.


    [code=main.c]int main() { }[/code]


    Code (main.c):
    [ int main() { } ]

  12. #132
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    I just noticed that the option to change my avatar is gone. Am I just going crazy?
    My best code is written with the delete key.

  13. #133
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    You are going crazy

    User CP -> Edit Avatar -> fill in options

  14. #134
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >User CP -> Edit Avatar -> fill in options
    What options? I see the option to delete, but that isn't quite what I wanted.
    My best code is written with the delete key.

  15. #135
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Hmm I have options to change and what not:

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Strange side effects?
    By _Elixia_ in forum C Programming
    Replies: 4
    Last Post: 08-16-2005, 03:25 PM
  2. Strange file problem.
    By tilex in forum C++ Programming
    Replies: 1
    Last Post: 12-29-2004, 12:32 AM
  3. strange linked list problem
    By maes in forum Windows Programming
    Replies: 0
    Last Post: 09-06-2003, 09:28 AM