Page 1 of 2 12 LastLast
Results 1 to 40 of 56

Thread: C++ Is A Dying Language?

  1. #1

    Thread Starter
    Hyperactive Member Jenova's Avatar
    Join Date
    Feb 2006
    Location
    Googleplex
    Posts
    413

    C++ Is A Dying Language?

    I was speaking to a customer at work who happened to be a professional C# developer, nice guy too, he said to me today that C++ is now a dying language. Is this true? What are your opinions?

    Jenova

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: C++ Is A Dying Language?

    No, it's not. It's alive and thriving.

    Nobody can really say where programming languages are headed in the future, but I would trust C# and Java programmers less than anybody else when it comes to C++ (with the possible exception of D programmers) - all of these languages were partially meant to "replace" C++.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    Hyperactive Member
    Join Date
    Oct 2005
    Posts
    257

    Re: C++ Is A Dying Language?

    C++ is like those stupid AS400's that just won't die no matter how inefficient they are for humans to use. Everything's a pain in the ass on it but they're so dug into companies that they can't get rid of them. All the old people here will say OMG C++ is the best language ever! No other language can come close! When in reality, I can write an application 10x faster in VB.net that works 95% as well. The only reason they say C++ is "more powerful" than VB is cuz they don't know how to do a lot of stuff in VB but they've been using C++ forever so they know how to do most stuff in there. The language can't even handle strings by itself for God's sake. It might not be dead but I'm digging its grave lol. Speaking of that, I should go to the AITP nationals in Michigan next month and kick all the C++ users' asses in the application development competition with VB just cuz I can Btw it's the same with C++ as it is with AS400's again. No new companies with half a brain choose to use it, only old ones that are stuck with it.
    I tried to end process on Visual Studio 2005
    but PETA stopped me saying it's smart enough
    to be a living creature

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: C++ Is A Dying Language?

    Quote Originally Posted by Desolator144
    <snip drivel>
    When in reality, I can write an application 10x faster in VB.net that works 95% as well.
    What does what you can do have to do with anything? Look around, get some experience - you'll find that there are libraries to do most things in C++ readily available. And after all that's really the only significant difference in development time: the amount of available libraries and tools.

    The only reason they say C++ is "more powerful" than VB is cuz they don't know how to do a lot of stuff in VB but they've been using C++ forever so they know how to do most stuff in there.
    No, we say that C++ is more powerful because the theoretical limit of things you can do is a little further away. Not that this matters. What matters to me most is that C++ is infinitely cooler than VB.Net (or any other imperative language, for that matter).

    The language can't even handle strings by itself for God's sake.
    You say that like it's a bad thing. I fail to see how. Besides, it's not like VB.Net can handle strings "in the language" - it's still a class in the .Net framework.
    Besides, std::string is part of the C++ language standard. So yes, the language can handle strings by itself.

    <more drivel snipped>
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    Hyperactive Member Jenova's Avatar
    Join Date
    Feb 2006
    Location
    Googleplex
    Posts
    413

    Re: C++ Is A Dying Language?

    I share your opinion CornedBee, i had a feeling that there would be some ambiguity in this topic from programmers who develop in other languages i just wanted hear what other people had to say about it.

  6. #6
    PowerPoster sunburnt's Avatar
    Join Date
    Feb 2001
    Location
    Boulder, Colorado
    Posts
    1,403

    Re: C++ Is A Dying Language?

    C and C++ are not going anywhere. Visual Basic, Java/.NET, etc are all good languages, but they fulfill different purposes. If you want to rapidly develop a GUI business or database application that doesn't require an awful lot of performance, then you can use some sort of VM based language/framework.

    Here are some areas that will not be switching to Java/VB/.NET or any similar language in the foreseeable future: Game development, embedded systems, performance-driven applications, servers, oh and operating systems. There are probably more, but that's what I came up with off the top of my head.

    I work with embedded systems that can have between 4K and 10K of RAM. There's no way that the .NET framework or JRE is coming close to this hardware. I love C#/mono and use it all the time, but it's not going to replace C++ anymore than Java did.
    Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.

  7. #7
    Frenzied Member dis1411's Avatar
    Join Date
    Mar 2001
    Posts
    1,048

    Re: C++ Is A Dying Language?

    VB .NET runs on C++. 'nuff said.

    edit: oh, C# also.
    Last edited by dis1411; Feb 28th, 2007 at 11:47 PM.

  8. #8
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: C++ Is A Dying Language?

    You can't really replace a language with another language unless you either 1:1 map their feature sets, in which case the replacement language would be completely redundant and hence still-born, or extend the original language (like C++ and C), in which case your replacement language would have to offer significant advantages to be seriously considered.

    The Java/.NET philosophy is a wonderful idea, but all it does is restrict the scope for which you would reasonably choose C++ over it.

    Desolator: language bashing is moronic. There are truly ancient languages, older than C/C++, that are still alive and kicking because they fill a particular niche better than anything else. Whether they fill your niche or not doesn't have any bearing on whether they're actually good or not.

  9. #9

    Thread Starter
    Hyperactive Member Jenova's Avatar
    Join Date
    Feb 2006
    Location
    Googleplex
    Posts
    413

    Re: C++ Is A Dying Language?

    Quote Originally Posted by penagate
    There are truly ancient languages, older than C/C++, that are still alive and kicking because they fill a particular niche better than anything else.
    ASM for example. Apparently this is still in frequent use or so i have heard.
    Last edited by Jenova; Mar 1st, 2007 at 08:15 AM.

  10. #10
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: C++ Is A Dying Language?

    Well, assembly is a special case. I think he was more talking about Lisp.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  11. #11
    Fanatic Member
    Join Date
    Dec 2002
    Location
    North Carolina
    Posts
    734

    Re: C++ Is A Dying Language?

    Quote Originally Posted by penagate
    Desolator: language bashing is moronic. There are truly ancient languages, older than C/C++, that are still alive and kicking because they fill a particular niche better than anything else. Whether they fill your niche or not doesn't have any bearing on whether they're actually good or not.
    FORTRAN comes to mind. David Bradley, guy who invented CTRL-ALT-DEL and also one of my professors, talks about it all the time for some reason. I've always thought of it as a pain in the ass, but apparently he found a use for it in his job.


    "X-mas is 24.Desember you English morons.." - NoteMe

  12. #12
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Re: C++ Is A Dying Language?

    Quote Originally Posted by Desolator144
    C++ is like those stupid AS400's that just won't die no matter how inefficient they are for humans to use. Everything's a pain in the ass on it but they're so dug into companies that they can't get rid of them. All the old people here will say OMG C++ is the best language ever! No other language can come close! When in reality, I can write an application 10x faster in VB.net that works 95% as well. The only reason they say C++ is "more powerful" than VB is cuz they don't know how to do a lot of stuff in VB but they've been using C++ forever so they know how to do most stuff in there. The language can't even handle strings by itself for God's sake. It might not be dead but I'm digging its grave lol. Speaking of that, I should go to the AITP nationals in Michigan next month and kick all the C++ users' asses in the application development competition with VB just cuz I can Btw it's the same with C++ as it is with AS400's again. No new companies with half a brain choose to use it, only old ones that are stuck with it.
    Can I buy some pot from you?
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  13. #13
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: C++ Is A Dying Language?

    In Ireland it is dying because of the cost and scarcity of skilled resources. The company where my wife works is doing some major rewrites (to C# and VB.Net) because they just can't find and retain C++ developers.

  14. #14
    Fanatic Member
    Join Date
    Dec 2002
    Location
    North Carolina
    Posts
    734

    Re: C++ Is A Dying Language?

    Quote Originally Posted by crptcblade
    Can I buy some pot from you?
    He might be selling crack by the looks of that post.


    "X-mas is 24.Desember you English morons.." - NoteMe

  15. #15
    Fanatic Member x-ice's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    671

    Re: C++ Is A Dying Language?

    Quote Originally Posted by Jenova
    I was speaking to a customer at work who happened to be a professional C# developer, nice guy too, he said to me today that C++ is now a dying language. Is this true? What are your opinions?

    Jenova
    I agree with CornedBee, by no means in C++ dying.
    The only reason they say C++ is "more powerful" than VB is cuz they don't know how to do a lot of stuff in VB but they've been using C++ forever so they know how to do most stuff in there.
    That's because it simply is, no debate there.
    Last edited by x-ice; Mar 3rd, 2007 at 08:53 AM.

  16. #16
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: C++ Is A Dying Language?

    C++ will never die. Why would one of the most powerful languages die?!?
    The reason people think it will die is because not everyone uses it and why don't they?.....
    because of its syntax and IDE

  17. #17
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: C++ Is A Dying Language?

    Quote Originally Posted by Hell-Lord
    because of its syntax and IDE
    Huh? What, pray tell, is "C++'s IDE"?

    And what's wrong with the syntax? Java and C# use exactly the same syntax.

    Nah, C++'s main problem is a lack of easily available libraries.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  18. #18
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: C++ Is A Dying Language?

    Well what i meant is C++'s syntax is obviously a lot more difficult that Visual Basic(obviously since it is a basic language). And yea i would have to agree the libraries are a problem as well.

  19. #19
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: C++ Is A Dying Language?

    Quote Originally Posted by Hell-Lord
    Well what i meant is C++'s syntax is obviously a lot more difficult that Visual Basic(obviously since it is a basic language).
    Bzzt, subjectivity alert.

  20. #20
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: C++ Is A Dying Language?

    Quote Originally Posted by penagate
    Bzzt, subjectivity alert.
    Bahahaha.

    I am currently just fully getting into C++, because my course teaches it. We're all aspiring game developers, and part of our course involves C++, C#, and inline ASM. I think the C# bit is just to understand GUI's though, its not so much the programming side of it.

    We also had presentations the other day, where we were told that Fortran and Cobol are still widely used and won't go away for years to come. They were saying that Fortran and Cobol programmers will be some of the highest paid people in the world in the next few decades.

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  21. #21
    Fanatic Member McCain's Avatar
    Join Date
    Jan 2002
    Location
    Sweden/Denmark
    Posts
    802

    Re: C++ Is A Dying Language?

    I would say that memory management is one major thing that scares people away. Memory leaks are easy to get and are hard to find. In languages like Java you don't have to care.
    Never argue with fools, they will only drag you down to their level, and beat you with experience.

    Q: How do you tell an experienced hacker from a novice?
    A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer

  22. #22
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: C++ Is A Dying Language?

    Except when you have to. I've spent hours in the last project looking for a memory leak in a Java application, created by a peculiar combination of libraries and how they are deployed.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  23. #23
    Fanatic Member McCain's Avatar
    Join Date
    Jan 2002
    Location
    Sweden/Denmark
    Posts
    802

    Re: C++ Is A Dying Language?

    Ouch! Let's rephrase that then "In languages like Java *you're not supposed to* have to care"

    Pointers and memory management is the reason they gave at my school for teaching Java instead of c/c++ to all the CS students
    Never argue with fools, they will only drag you down to their level, and beat you with experience.

    Q: How do you tell an experienced hacker from a novice?
    A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer

  24. #24
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: C++ Is A Dying Language?

    Yeah, I know. I still think it's a bad idea. I had to worry a lot about resources in Java, while in C++ it's always been simply a few seconds of thought at most, then using one of a few simple patterns.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  25. #25
    Fanatic Member McCain's Avatar
    Join Date
    Jan 2002
    Location
    Sweden/Denmark
    Posts
    802

    Re: C++ Is A Dying Language?

    Tools like valgrind helps a lot with finding memory leaks too Too bad it doesn't run in windows.
    Never argue with fools, they will only drag you down to their level, and beat you with experience.

    Q: How do you tell an experienced hacker from a novice?
    A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer

  26. #26
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: C++ Is A Dying Language?

    I heard the new installment of Java will be introducing pointers anyway?

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  27. #27
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: C++ Is A Dying Language?

    Java 6 didn't, and Java 7, by all accounts I could find, won't.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  28. #28
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: C++ Is A Dying Language?

    I agree with almost everything that CornedBee has said here. With the exception of "not trusting C# programmers". I'm a professional C# programmer and I have recently been doing a great deal of C++ programming (and C for that matter). I don't think you can really say that C# was intended to replace C++, its too different.

    C# is intended to be cross platform (which requires no re-compilation of binaries between platforms) whereas C++ is a standardised-portable language which means you've got to compile it for each platform you want to use it on. Camels and horses.

    I think its unfair to imply that C# programmers are less skilled than C++ programmers (at least thats what I inferred) because a great deal of the technical know-how is shared between the languages.

    But anyway thats beside the point. Clearly "Desolator144" (its annoying when you find your username already taken isn't it? ) is under the influence of some kind of chemical.
    I don't live here any more.

  29. #29
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: C++ Is A Dying Language?

    Valgrind is a Linux programmers greatest ally. Its awesomeness is not to be underestimated.

    Back to the sentiments about memory leaks. If you are using C/C++ then you already know that such dangers exist and you actively avoid them, its merely part of the territory and it becomes second nature after a while. With C# you simply aren't sure that anything you do is as efficient as it can possibly be, unless you are willing to really deprave yourself and trawl through the IL code (if you are that desperate you should be using C++ anyway). That problem is 10 times worse in VB.net.

    I love C# but its not 10% as satisfying as C++.
    I don't live here any more.

  30. #30
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: C++ Is A Dying Language?

    Quote Originally Posted by wossname
    With the exception of "not trusting C# programmers". I'm a professional C# programmer and I have recently been doing a great deal of C++ programming (and C for that matter). I don't think you can really say that C# was intended to replace C++, its too different.
    The # in C# is four plus signs arranged in a square, touching on the ends. It's C++++.
    The name joke aside, C#'s primary purpose is to provide a language completely integrated into the .Net framework and providing C-style syntax. It's closest relative is, of course, Java. Java was designed to replace C++ in quite some part of what was, back then, C++ territory. C# is of course supposed to do the same.

    C# is intended to be cross platform (which requires no re-compilation of binaries between platforms) whereas C++ is a standardised-portable language which means you've got to compile it for each platform you want to use it on. Camels and horses.
    Yes, but even camels and horses can be compared as pack and riding animals. The difference in execution models has very little to do with application domain. Execution on multiple platforms without recompilation is a nice thing to have, but only essential for applets, which C# has no support for anyway.
    Besides, C++ could be compiled to LLVM IL and be run without recompilation too.

    I think its unfair to imply that C# programmers are less skilled than C++ programmers (at least thats what I inferred) because a great deal of the technical know-how is shared between the languages.
    I intended no such implication. All I'm saying is that supporters of languages that are seen as improvements over another language are more likely to be biased about that language than other people.


    Edit: that §%=(/ memory leak in my Java program turned up again! Why can't this &§#* language let me handle my own memory?
    People, save yourself a lot of grief and NEVER use Hibernate inside of Tomcat running on the Sun VM. In fact, don't use Hibernate inside of Tomcat at all. (As far as I'm concerned, I would even cut Tomcat out of that statement.)
    Last edited by CornedBee; Mar 16th, 2007 at 06:20 PM.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  31. #31
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: C++ Is A Dying Language?

    Desolator144

    C++ programmers are on a completely different level then your visual basic programmers. It has nothing to do with know how. For the most part, C++ programmers have a formal education whereas most of your visual basic programmers are people who buy a “Do this in 24 hours” book.

    When you start visual basic and hit the play button, a nice little working application appears before you. A visual basic programmer would consider all this magic. A c++ programmer can run down the steps thats being taken by the hardware, operating system, and to the application which calls the function thats been assigned for the type of event generated by hardware.

    A visual basic programmer will tell you that when you create a string with the line such as: dim x as string. Visual basic simply creates a small array in memory to store the bytes of your string. The address of the first byte is simply associated with your variable name and that is how visual basic references and keeps up with everything. After all, that is the most you'll normally see in visual basic books. Visual basic actually creates a OLE_SAFEARRAY structure which contains things such as the length of a string and it's members. For example, when you type Len(x), the function doesn't do any kind of counting algorithm, it simply goes to that structure in memory and gets the number from there.

    A c++ programmer would not only be able to tell you this little fact, but he would tell you that he can create the same exact strings that you can create in visual basic. C++ can not only deal with strings, it can deal with strings any way that you wish to deal with them as long as the hardware allows it. That is the key difference between visual basic and C++ and all these other languages that's been trying to replace it.

    C++ is a canvas for an artist and visual basic is an etch a sketch. Sure you don't have to worry about all the colors and tools but at the end of the day, your still a kiddo wanting to grow up to be an artist. C/C++ is the de facto language of computer scientist and as long as that continues, C/C++ will be around and be important.

    To me saying visual basic is going to replace C++ or kill it, is like saying something stupid like mathematics isn't very important in computer science. (LOL I actually heard someone say that before).
    Last edited by Maven; Mar 17th, 2007 at 11:16 AM.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  32. #32
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: C++ Is A Dying Language?

    Actually, VB strings are BSTRs, which are length-counted and null-terminated strings which store the length in the first word of their memory. Weird critters.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  33. #33
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: C++ Is A Dying Language?

    First dword in fact (2gb length limit on a VB6 dynamic-length string, fixed strings are limited to a meagre 64kb), although anyone needing that much string should get a new day-job.
    I don't live here any more.

  34. #34
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: C++ Is A Dying Language?

    Quote Originally Posted by CornedBee
    Actually, VB strings are BSTRs, which are length-counted and null-terminated strings which store the length in the first word of their memory. Weird critters.
    When visual basic calls something from outside itself, such as an API or something of that nature it creates a temporary ascii null terminated str as it considers everything outside itself to be different. I suppose you could aslo say that internally, the string is a unicode bstr with a structure wrapper.

    struct SAFEARRAY
    {
    WORD cDims; // number of dimensions
    WORD fFeatures; // bitfield indicating attributes of a particular
    // array
    DWORD cbElements; // size of an element of the array
    DWORD cLocks; // lock counter
    Void * pvData; // pointer to the array's elements (use only if
    // cLocks>0)
    SAFEARRAYBOUND rgsabound[1]; // structure containing information for
    // each dimension
    };

    struct SAFEARRAYBOUND
    {
    DWORD cElements; // number of elements on a given dimension
    long lLbound; // lower boundary on a given dimension
    };

    With this information, you can redim a visual basic variable from within C++.


    Documentation on this is very hard to come by I'm afraid, Microsoft felt that nobody really needed to know that "low level" of visual basic. But its out there, just do a search on SAFEARRAY.
    Last edited by Maven; Mar 17th, 2007 at 09:05 PM.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  35. #35
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: C++ Is A Dying Language?

    Not that hard, actually. This stuff is the basis of the ActiveX scripting system, and for the benefit of making scripting language supporters support the system in their languages, it's rather well-documented. Look for OLE and ActiveX.
    Oh, and all non-VB applications that want to be scriptable from the WSH must use these low-level types, too, because IDispatch doesn't support much else.

    But still, SAFEARRAY is only used for actual arrays. Strings are BSTRs. Variants are VARIANTs, which in turn could hold SAFEARRAYs or BSTRs.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  36. #36
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: C++ Is A Dying Language?

    Quote Originally Posted by Maven
    C++ programmers are on a completely different level then your visual basic programmers.
    How do you define a "C++ programmer" or a "visual basic programmer"? Are they genetically different? Hatched from different shaped eggs? Do VB programmers have horns?

    A hobbyist may use only one language, but anyone that's even remotely serious about programming would be a fool to limit themselves like that.

    I've seen some spectacular VB code and I've seen some truly awful C++. Sorry, but your post is a gross generalisation on the level of Desolator144's, just oppositely biased.

  37. #37
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: C++ Is A Dying Language?

    I think the point was that if you become proficient enough at VB then you should logically make the leap to a more technical language. If you continue to stay with VB for no good reason then you won't advance to the level of a C/C++ programmer.

    If you can program (well) in C++ you can program in anything.
    I don't live here any more.

  38. #38
    Fanatic Member
    Join Date
    Dec 2002
    Location
    North Carolina
    Posts
    734

    Re: C++ Is A Dying Language?

    The only reason I learned C++ is because I had to, but I started to use it for other things much in the way I had used VB6. For example, every once in a while I would need to make some quick tool to simplify my life and I would do this in VB -- so I learned how to do a lot of different things as I needed them. Now I do the same thing in C++, sure it takes longer, but it is helpful in learning. Furthermore, my attraction to C++ is the fact it is capable of doing pretty much everything you want it to.


    "X-mas is 24.Desember you English morons.." - NoteMe

  39. #39
    Frenzied Member aewarnick's Avatar
    Join Date
    Dec 2002
    Posts
    1,037

    Re: C++ Is A Dying Language?

    Putting my 2 cents in for c++...
    There are far too many great open source libraries (especially for my OS of choice: Linux) to ever go away.

  40. #40
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Re: C++ Is A Dying Language?

    The reason why C++ will die soon is concisely stated in my signature.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Page 1 of 2 12 LastLast

Posting Permissions

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



Click Here to Expand Forum to Full Width