Thread: Why does my calculator crash?

  1. #16
    Registered User
    Join Date
    May 2010
    Location
    Naypyidaw
    Posts
    1,314
    Every language has its limits.
    No one here is saying to use ONLY Any single language either.
    And whether it's a mistake or not to use C to write such program/software is just your opinion.

    @laserlight, i think you'll need to close this thread soon...

  2. #17
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    Even so that is not the point. The point is that this is a C programming forum and discussing C is appropriate. If that is all it takes to get you to compare C to something else, you will always be unhappy with people's choices.

  3. #18
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Bayint Naung View Post
    Every language has its limits.
    No one here is saying to use ONLY Any single language either.
    And whether it's a mistake or not to use C to write such program/software is just your opinion.

    @laserlight, i think you'll need to close this thread soon...
    No, it's not. C is a huge security risk. C increases development time (if you compare to someone equally skilled in another language, say Java/C#). These are facts.
    The fact that C is so incredible inferior to any other languages in terms of features and tools it gives you is a reason I don't want to see software for PC in C, but that's an opinion and subjective.
    More importantly, consider the security risks. C wasn't designed for that. Therefore, I strongly recommend against using C for PC software.
    Security is not something to be underestimated. Know this. Then employ C appropriately. I will not say where you are allowed to use it or not. That's completely up to you. I am merely saying that you should know what you are doing.

    The end.
    So let's put a stop to this debate before it really gets locked.
    Signing out.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #19
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    >>I mean, a lot of people learning C are under the impression that C is the language, capable of everything. There must a reason why everything is written in C, right!?!
    Yes, that is probably true for some people, just as you are convinced that C++ is being used 99% of the time for everything desktop or game-related. Just because you start to learn something under false pretenses doesn't mean that you should stop learning it. You might disagree, but that isn't the point. If discussing C is all it takes to get you to compare it to something else, you will continue to do that to the point where the mods have to tell you to stop. You apparently won't listen to anyone else.

  5. #20
    Registered User
    Join Date
    Sep 2010
    Posts
    20
    I'm enjoying this argument, but we should move to a more appropriate thread:

    C vs C++

  6. #21
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by Elysia
    I am merely saying that you should know what you are doing.
    Shall I throw some of these facts at you in the C++ forum whenever you say something positive about C++? After all, it is a fact that C++ code can pose a huge security risk and that C++ increases development time (if you compare to someone equally skilled in another language, say Java/C#).

    Seriously, stop preaching. *thread closed*
    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

Popular pages Recent additions subscribe to a feed

Tags for this Thread