Thread: IDEs: I want non uniform fonts!

  1. #31
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by jeffcobb
    I know b/c I wrote it...
    Tsk tsk, the header inclusion guard uses a name reserved to the implementation for any use, and the CWaitCondition default constructor's body looks like it was not indented properly
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  2. #32
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Quote Originally Posted by laserlight View Post
    Tsk tsk, the header inclusion guard uses a name reserved to the implementation for any use, and the CWaitCondition default constructor's body looks like it was not indented properly
    @Bubba; I shall be more careful in the future. Its part of my automatic new-file startup trigger in Emacs. I have been separated from Sony for almost a year now. In any event I will try to be more careful in the future.

    @LL: The merge tool hosed the indentation. Please explain what you mean about the guards though...must be dense tonight...

    Peace,
    Jeff
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  3. #33
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by jeffcobb
    The merge tool hosed the indentation.
    hmm... how did that happen? It would seem like a negative advertisement for Meld

    Quote Originally Posted by jeffcobb
    Please explain what you mean about the guards though...must be dense tonight...
    In C++, names that begin with an underscore followed by an uppercase letter, or that contain consecutive underscores, are reserved to the compiler and standard library implementation for any use.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  4. #34
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Quote Originally Posted by laserlight View Post
    hmm... how did that happen? It would seem like a negative advertisement for Meld

    Probably not. As this was a fresh burn I may not have set the right options in Meld yet...I *know* I haven't used it on this box yet....it looks fine in Emacs so...

    In C++, names that begin with an underscore followed by an uppercase letter, or that contain consecutive underscores, are reserved to the compiler and standard library implementation for any use.
    Been doing the guards that way for many years and never gave it a second thought. I am learning new things here everyday. Thanks!

    Peace
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Uniform sampling
    By Dedalus in forum C Programming
    Replies: 6
    Last Post: 06-29-2009, 04:30 PM
  2. Replies: 6
    Last Post: 11-12-2005, 11:57 AM
  3. Windows 'Hardwired Fonts'?
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 09-02-2004, 09:38 AM
  4. Scrolling text with variable pitch fonts
    By Raison in forum Windows Programming
    Replies: 0
    Last Post: 06-02-2004, 08:20 AM
  5. GNOME fonts
    By bludstayne in forum Tech Board
    Replies: 3
    Last Post: 01-20-2004, 09:49 PM