C\C++ useless??

This is a discussion on C\C++ useless?? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; We've been talking about programming languages we learn in college today and most of the students agreed that C\C++ are ...

  1. #1
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472

    C\C++ useless??

    We've been talking about programming languages we learn in college today and most of the students agreed that C\C++ are obsolete. I couldn't convince them that they are not because i don't have enough knowledge on this topic , but i know that C\C++ wouldn't hang out that long if they were obsolete.

    Here are some of the lines from the discussion we had. please let me see your comments on them if you know enough about this matter :

    - We should not learn C\C++ , we only study how to make console program and no company would want a console program to work on these days.

    - they say C++ is powerfull and can make a GUI program with some work, Why wasting time when languages like VB can do the same programs with less effort?

    - Yea C\C++ can be use used to make operating systems... but when we talk about software then people rather use an easier language that does the same work without consuming much time.



    i myself almost got convinced with those lines. I wouldn't quit learning C\C++ no matter what. I just wanna know if they're true or not.

    So what do you guys think?


    (if this has been discussed before then please link me to the thread because i couldn't find anything related)
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  2. #2
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    I'm fairly certain this has been discussed before, but I don't want to bother searching

    Anyways, there's no way C++ is obsolete. From what I've heard, VB can be a good tool to make quick applications, but it doesn't have the same power/efficiency. And for games, C/C++ is often the first choice

    I can see how C++ might not be the best tool for every job, but there are some things its probably the best tool for. And I think the professional C/C++ programmers here wouldn't say that it's obsolete :P
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  3. #3
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Firstly, there are only a couple languages that can accurately be called obsolete. Hell, my dad still programs in COBOL at work.

    Secondly, your classmates don't know what they're talking about. They sound like their only concern is to make a pretty program with a GUI instead of something that can do more than what VB has to offer.

    Finally, I don't care how obsolete those morons think it is, it's still an excellent idea to know as many languages as possible. When you actually get into a job, you usually don't get to pick what you program in, and the more varied your background is, the better.

  4. #4
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Quote Originally Posted by Brain Cell
    - We should not learn C\C++ , we only study how to make console program and no company would want a console program to work on these days.
    ROFL. This one just about had me on the floor. There are countless industry apps that are console based. (though many have additional or third party GUI apps that run on top of them)

    How bout:
    -Oracle, MySQL, PostgreSQL (DBMS')
    -Apache, JOnAS, Tomcat, JBOSS (App/Web servers)
    -MATLAB (yes, the available GUI is an additional tool. The app itself is usable from the command line)
    -Countless number of Linux tools
    -etc....

  5. #5
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    - We should not learn C\C++ , we only study how to make console program and no company would want a console program to work on these days.
    Theres more to C/C++ then a simple hello world console program. Theres a reason why the majority of modern computer games use C++. Also there is networking, file i/o, and even pure number crunching.

    - they say C++ is powerfull and can make a GUI program with some work, Why wasting time when languages like VB can do the same programs with less effort?
    I have yey to see a 3 dimensional mind blowing program written in VB.

    - Yea C\C++ can be use used to make operating systems... but when we talk about software then people rather use an easier language that does the same work without consuming much time.
    What? An operating system IS software. Lets see you write an OS in VB or Java.

    In reality it comes down to WHAT you are doing. If I'm doing some simple database work using a SQL server I'd much prefer to do it using PHP on a webpage then to write a socketd sql client and GUI interface. That doesn't mean C/C++ is dead.

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    580
    - We should not learn C\C++ , we only study how to make console program and no company would want a console program to work on these days.
    A guy who works at my university helps with the software used to test ballistic missiles for the military. It runs on a 512 G4 processor computer cluster across the river from where I am at. A typical cycle takes half a month to run, and the output is in the form of what basically looks like a few thousand 10x10 matrices describing what happened to the missile at various points on the body at various points in time. The 'application' has no GUI and is completely in what you call 'console mode', although to be honest the environment/OS is unlike anything I've ever seen anyway (I don't know what the hell it is). Point is, whoever you were talking with should change their opinions on basically every count.

    EDIT:
    and if you wanted to know more about the missile :

    The missiles being tested fly at some 6,000 mph, and subsequently they cannot attach fins to steer it. Instead, they fire little jets on the side of the missile, which induces a torque which changes the orientation of the missile. The problem is that the exhaust from the missile spirals off creating pressure differences along the body. These tiny pressure differences create a net force and torque on the body, sending it spiraling out of control. They are testing ways to change this.
    Last edited by Darkness; 10-23-2004 at 09:35 PM.
    See you in 13

  7. #7
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,856
    >>And I think the professional C/C++ programmers here wouldn't say that it's obsolete

    C/C++ is not obsolete but I would put them on the endangered list.
    This is IMHO due to outsourcing. Small local firms can not afford the manpower/time/cost to meet the ISO standards (their offshore counterparts can).


    As such most development (here) is web based these days and uses .NET more and more. This means C# or VB.NET is a better/easier/more popular choice.

    C jobs here are non existant (except those for embedded apps). C++ jobs are rare compared to .NET. C# / ASP.NET are becomming more common and better paid (if you have experience).

    I'm hoping to be paid a fortune in ten years to maintain these 'obsolete' applications used as a front end for large machines. ie BHP still uses WIN95 as some wheel grinding machines run only on that platform.

    But if the property market keeps increasing at nearly 40% per year I won't have to work.......
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  8. #8
    Registered User Rare177's Avatar
    Join Date
    May 2004
    Posts
    214
    if they are complaining about learning console then i dont see how there planning on learning much..jumping straight to say win32 would be very confusing, once you know console you can go on and learn win32 or mfc or what ever.
    Good Help Source all round
    Good help for win programmers
    you will probably find something in here
    this thing also helps

    if you have never tried any of the above then maybe you should, they help alot

  9. #9
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    just head to jobtrak.com, or monster.com, and the like and do search with c/c++ keyword and see the reality out there
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  10. #10
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472
    Finally, I don't care how obsolete those morons think it is, it's still an excellent idea to know as many languages as possible. When you actually get into a job, you usually don't get to pick what you program in, and the more varied your background is, the better.
    totally agree..

    Theres a reason why the majority of modern computer games use C++.
    aren't the gaming industry switching to Java? i heard this once and i've been wondering..

    C/C++ is not obsolete but I would put them on the endangered list.
    i hope this is not real ... such a scary fact


    btw... stupid question but .. you can make a GUI program in C\C++ without the visual C++ software , can't you?? just making sure
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  11. #11
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Yes, OpenGL being just one of the many graphics libraries

  12. #12
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,586
    The company that I work for is a major manufacturing firm and you would not believe the operating systems and computers they are using. Fact is most companies don't upgrade nearly as fast as home users do. If they can make a profit on old technology then why should they change it. Besides upgrades often do come with extended periods of downtime as the company irons the kinks out of it for its use. This downtime combined with the cost of upgrading the systems is one major reason companies stick with what they have. They would rather spend money on trying to improve their existing system than buy a brand new one, at least in the manufacturing field I work in.

    Some of our most important systems are still DOS-based. Some of the source code for it is written in 16-bit C and assembler and runs in real-mode only. Hate to say it, but for 24/7 round the clock operation DOS or UNIX is the way to go. Windows has too much crap going on in the background to remain stable forever - theoretically it should work, but it doesn't. Our newer systems are run off of 2K and they have crashed at least 20 times during the time that the DOS system crashed once. If you only need to run one program over and over and over you really don't need a multitasking OS. Many manufacturing systems do one thing over and over and over 24/7/365 and single task OS's are the best at running those types of programs.

    So no C/C++ is not dead and everyone is not moving to new .NET technology. There was an article awhile back that stated MS has realized that everyone is not going to move to .NET like they thought and they are re-evaluating their C++ compilers and re-evaluating how companies use it and what they need and don't need. The .NET extensions are not what every company needs.

    Don't get caught up in all the hype. Our factory runs on over 20 year old technology and it does just fine.

    aren't the gaming industry switching to Java? i heard this once and i've been wondering..
    PC Gamer had a blurb about this some time back. Sun envisions a time when all games will be written in Java. There are two major games in development right now. Personally with the information that I know about game development, shaders, etc., I think Sun is full of hot air. I just had to re-learn another assembly language as well as another hybrid of C just to do pixel shaders and vertex shaders. Also it looks as though new pixel shaders will use C++ features such as classes and polymorphism etc. I see the game industry moving in the direction that very little code will be written for the CPU and more of it will be C++-like and moved to the GPU and/or other video card GPUs.
    Last edited by VirtualAce; 10-24-2004 at 12:33 AM.

  13. #13
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    btw... stupid question but .. you can make a GUI program in C\C++ without the visual C++ software , can't you?? just making sure
    Yes, its called the Win32API

  14. #14
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,903
    grrr, it seems the common view on "C++ going obselete" always comes from people who have just started Java and have been fried in the head from sun's, dare I say, propaganda, or from people who really haven't worked in any field and are just trying to sound cool like the rest of everyone else.

    Honestly, I myself haven't worked as a programmer professionally as of yet (I hope to in the future) and I'm not blind to see that languages like Java and C# are becoming a bit more prominent all the time, but I also think it's bull$hit that people think Java and other languages are so much better than C/C++ that C/C++ is going to go obselete.

    For one thing, games are becoming more and more intense all the time, what with halo 2, halflife 2, doom 3, and all the other new 3D FPS engines coming out, I sure don't see any Java-based games pulling anything like that off that's for sure. Games are always requiring more and more power, and languages like Java which focus more on memory handling and cutting out features that limits the programmer's power just so things can be made quicker doesn't help the process at all.

    I read in an article a little while back published by the AP test board (I think) that was stating the reason for the AP Testing switch from C++ to Java, and in it they constantly compared to C++ in it and always in a negative way. I was just getting more and more annoyed as I read on.

    Meh, so yah, I may not have much to back my opinion off of (me still being in high school and such), but it just plain annoys me to constantly hear from people saying how much better Java is than C++, or asking which language is better, or why people shouldn't use C++, *shakes fist*

    Use the language best suited for your task!

    </rant>
    Last edited by jverkoey; 10-24-2004 at 12:59 AM.

  15. #15
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >- We should not learn C\C++ , we only study how to make console program and no company
    >would want a console program to work on these days.
    Um...I work on console programs for a living. Well, more or less. None of my work involves graphics. For the most part I handle back-end processing and the console is my haven for debugging. Tell the person who said this that programming isn't always about pretty pictures.

    >- they say C++ is powerfull and can make a GUI program with some work, Why wasting time
    >when languages like VB can do the same programs with less effort?
    Languages like VB are wonderful for the areas in which they are suited. A GUI in VB is fine, but a complete application in VB will suffer from performance issues and bloat. Well designed software will often use different languages for different parts because no one language solves every problem the best.

    >but when we talk about software then people rather use an easier language that does the
    >same work without consuming much time.
    See my previous comment. Nobody in their right mind would write a complete application in VB or another "faster" language unless it's just a prototype.
    My best code is written with the delete key.

Page 1 of 3 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GCC vs CC
    By dakarn in forum C Programming
    Replies: 4
    Last Post: 10-15-2008, 02:17 AM
  2. C99 in cc
    By lruc in forum C Programming
    Replies: 6
    Last Post: 08-31-2008, 12:55 PM
  3. Problems about gcc installation
    By kevin_cat in forum Linux Programming
    Replies: 4
    Last Post: 08-09-2005, 09:05 AM
  4. useless post just saying thanks
    By Chaplin27 in forum C++ Programming
    Replies: 3
    Last Post: 02-08-2005, 09:27 PM
  5. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 06:18 AM

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