Thread: Updates to the C++ language?

  1. #16
    Registered User
    Join Date
    Aug 2003
    Posts
    470
    It's all about processing power. In VS.NET with Visual Assist ( don't know which application has this feature, Visual Assist is a VS.NET PlugIn ) if you type your code it's compiled on the fly in the background and compiler errors are underlined like spelling errors in word. The tooltip shows the compiler error. To be more correct, it's only parsed, not compiled, but the result is the same. It even uses the office spellchecker for your comment and string lines.
    It's a great tool, but I wouldn't want to use it on my old PII 400 that I ran VC6 on.
    Yes, I have VS.NET, but I've been only using the Intellisense features. My main complaint is that it's difficult to hop between different places in the source code. Usually this isn't too bad unless if the code is badly designed but I would like an interface overall more like a browser. For example, I would like to view a class like Tile that looks something like this

    Code:
    ----------------------
    | Tile                   |
    -------------------------------------------------------------
    | Tile(const CDC* dcSrc, int x, int y, int w, int h) |   
    |........                                                                  |
    | bool draw(CDC* dcDst, int x, int y)                   |
    --------------------------------------------------------------
    And then clicking on the appropriate method function will show a screen with filled with the code for the function and clicking on the back button will go back to the class definition. When editing any particular method function there's more information than is needed to edit the function, I think. A user editing a given function only needs to see the class data and maybe some global data. Ideally, a programmar would have two views, one showing the code he or she is editing and another showing the data structures.

  2. #17
    Registered User
    Join Date
    May 2003
    Posts
    161
    And then clicking on the appropriate method function will show a screen with filled with the code for the function and clicking on the back button will go back to the class definition.
    Incidentally, I just coded a very simple version of such an editor for my multiuser database server. Objects in the database can have functions (in my own scripting language) attached to them. I built a web interface in PHP to connect to the server and retrieve the list of functions on an object. Clicking on a function name will bring up a text area with the source of the function that can be changed and sent to the server to be recompiled into bytecode.

    It's an extremely simple example of what could be done, but very effective nonetheless.

  3. #18
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    Quote Originally Posted by incognito
    Java improved on many different languages that are still around, perhaps no other language as much as C++. Then we have people who just like to point out all of the bad features of C++. I mean why not just take a look around at C++ and start redoing some of these things like they do in Java?
    [rant]
    You evil liar! You devil! How dare you promote the Father of Lies (Java) at a C++ programming board!
    [/rant]

    just kidding...I know Java as well, and although I use C++ much more heavily because I don't really like Java, I must admit Java does have some features that are very nice. I quite like interfaces myself, which are possible in C++ but arent very common and are a little more defined in Java.
    My Website

    "Circular logic is good because it is."

  4. #19
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    Quote Originally Posted by DavidP
    [rant]
    You evil liar! You devil! How dare you promote the Father of Lies (Java) at a C++ programming board!
    [/rant]

    just kidding...I know Java as well, and although I use C++ much more heavily because I don't really like Java, I must admit Java does have some features that are very nice. I quite like interfaces myself, which are possible in C++ but arent very common and are a little more defined in Java.
    I mean that they improved some of the things of other languages when they incorporated some of the ideas into this language, but on the other hand they also messed up in some things.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  2. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  3. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  4. Languages dying
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 07-29-2003, 10:08 AM
  5. Language Script..
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-30-2003, 06:48 AM