Thread: what are the advantage of c programming ?

  1. #1
    Registered User
    Join Date
    Feb 2015
    Posts
    5

    what are the advantage of c programming ?

    what are the advantage of c programming ?

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Compared to what?
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    This is along the same lines of your question of what is c programing, and is just as poorly phrased. You should elaborate on what you are asking about.

    For example, maybe you are trying to learn programming with no background at all. Then you might ask "what are the advantages of C as an introductory programming language over other programming languages?"

    Or, maybe you are trying to automate some process in your life by writing a program. Then you might ask "what are the advantages of programming in C to do this task instead of using pen and paper?" Or if you have an alternative programming language in mind, you might ask "what are the advantages of C over this other programming language for this task?"

    If you just ask "what are the advantage of c programming ?" then I can validly answer: it is a sane programming language compared to befunge. Or I can validly answer: I can program in C. These answers will probably be meaningless to you, hence you need to ask better questions.
    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. #4
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    the same advantage to posting a question, bald of context, and then logging off i guess

    how long is a piece of string

  5. #5
    Lurker
    Join Date
    Dec 2004
    Posts
    296
    Quote Originally Posted by whiteflags View Post
    the same advantage to posting a question, bald of context, and then logging off i guess

    how long is a piece of string
    Well, he clearly didn't need "help fast" and so on at least! :-)

  6. #6
    Registered User Alpo's Avatar
    Join Date
    Apr 2014
    Posts
    877
    Quote Originally Posted by whiteflags View Post
    how long is a piece of string
    Everyone knows a piece of string is exactly 1 unit of length!
    WndProc = (2[b] || !(2[b])) ? SufferNobly : TakeArms;

  7. #7
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Quote Originally Posted by whiteflags View Post
    how long is a piece of string
    Pretty long if it's not null terminated

  8. #8
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by Yarin View Post
    Pretty long if it's not null terminated
    Glad I wasn't drinking coffee when I read that!
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  9. #9
    Ticked and off
    Join Date
    Oct 2011
    Location
    La-la land
    Posts
    1,728
    Quote Originally Posted by prashantphp76 View Post
    what are the advantage of c programming ?
    In brief, ventilation and no danger of leg hairs getting painfully stuck in the weave of the fabrick.

    C programming is also cheaper than A or B programming. D programming tends to be too low quality for my taste.

    Another advantage is at the top of my building.

  10. #10
    Citizen of Awesometown the_jackass's Avatar
    Join Date
    Oct 2014
    Location
    Awesometown
    Posts
    269
    Quote Originally Posted by Nominal Animal View Post
    In brief, ventilation and no danger of leg hairs getting painfully stuck in the weave of the fabrick.

    C programming is also cheaper than A or B programming. D programming tends to be too low quality for my taste.

    Another advantage is at the top of my building.
    Wow this is genius incarnate. You, sir, are truly a god of artistic humour (art thou an Illogicopedia writer by any chance?). If not I'm telling you, this is Illogicopedia worthy stuff...if you wrote this without having ever had a taste Illogicopedia's writing style, you're truly beyond genius.

    In fact if it wouldnt irk you, I'll add this to ?pedia's article about C? (crediting you in the edit summary and talk page if necessary)

    It's so ........ing hilarious and reminiscient of a certain departed writer's style over there that I'm still laughing my ........ing ass off!

    You're the second most artistic person I've ever seen on this place.

    ^_^
    "Highbrow philosophical truth: Everybody is an ape in monkeytown" --Oscar Wilde

  11. #11
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    Reminds me of this classic:

    These two strings walk into a bar and sit down. The bartender says, "So what'll it be?"

    The first string says, "I think I'll have a beer quag fulk boorg jdk^CjfdLkjk3s d#f67howe%^U r89nvy~~owmc63^Dz x.xvcu"

    "Please excuse my friend," the second string says, "He isn't null-terminated."
    If you understand what you're doing, you're not learning anything.

  12. #12
    Ticked and off
    Join Date
    Oct 2011
    Location
    La-la land
    Posts
    1,728
    Quote Originally Posted by the_jackass View Post
    if you wrote this without having ever had a taste Illogicopedia's writing style
    Well, not illogicopedia, but my dad (who passed away a year ago) just loved this kind of wordplay, especially in writing, and the Finnish language gives you LOTS of opportunities. Most stuff just does not translate. Something along the lines of, if you told him your hand hurts, he might act very surprised and ask "who? why? did it do any permanent damage?".

    Quote Originally Posted by the_jackass View Post
    I'll add this to ?pedia's article about C
    Feel free. No crediting necessary; it wasn't designed, it just burped out of somewhere.

  13. #13
    Lurker
    Join Date
    Dec 2004
    Posts
    296
    Quote Originally Posted by Nominal Animal View Post
    Well, not illogicopedia, but my dad (who passed away a year ago) just loved this kind of wordplay, especially in writing, and the Finnish language gives you LOTS of opportunities. Most stuff just does not translate. Something along the lines of, if you told him your hand hurts, he might act very surprised and ask "who? why? did it do any permanent damage?".
    Oh? Are you Finnish Nominal? I worked with two guys from there a few years. They downed beer faster than I could drink water... :-)

    Competent guys as well. There are a lot of competent technical people around due to Nokia.
    "A Professor of Computer Science gave a paper on how he uses Linux to teach his undergraduates about operating systems. Someone in the audience asked why use Linux rather than Plan 9?' and the professor answered:Plan 9 looks like it was written by experts; Linux looks like something my students could aspire to write'."

  14. #14
    Ticked and off
    Join Date
    Oct 2011
    Location
    La-la land
    Posts
    1,728
    Quote Originally Posted by Jimmy View Post
    Oh? Are you Finnish Nominal?
    Yup. I grew up well north of the Arctic Circle, too.

    Quote Originally Posted by Jimmy View Post
    They downed beer faster than I could drink water... :-)
    We do like getting our drink on. Fun without alcohol is just pretending.

    Quote Originally Posted by Jimmy View Post
    There are a lot of competent technical people around due to Nokia.
    Nokia was a big employer of tech folk, but it seriously twisted how Finnish economists and government see IT business. Instead of supporting the new opportunities -- you know, small businesses, and experimental strategies -- the business folks are just pining for and planning for a New Nokia to pop up. For example, individuals cannot legally set up any kind of project relying on crowdfunding, or even ask for donations! Even just mentioning you have a PayPal account on your page might be considered illegal.

    I had friends and old classmates working for Nokia in different divisions, but I saw it was going to fail as soon as they scrapped their Linux development plans. There just was nothing they could build on instead. Funny thing is, what the "Linux conspiracy theorists" (as I, among others, were called then) said about MS destroying the business, then buying it for pennies, happened exactly as was described.. Most analysts here still insist it was the right decision, and claim nobody could have foreseen the events.

    Sigh.

    I've got my share of business background -- owned and ran a smallish Linux/software company to make some money --, but that and other work-related issues almost killed me; I am way too easy to exploit, definitely not suited for running a business. Turning a profit was easy (even during and after the dot-com bust), but I never learned to just drop bad clients, or walk out from bad managers. Always worried about stuff no-one was paying for me to worry about, like system security. Left me a burned out husk of a man, really.

  15. #15
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    We do like getting our drink on. Fun without alcohol is just pretending.
    +1

    I am way too easy to exploit, definitely not suited for running a business.
    I guess it's true what they say ... nice guys Finnish last.
    Last edited by Matticus; 02-06-2015 at 09:30 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Whats the advantage of using ++ and --?
    By roll cast in forum C++ Programming
    Replies: 5
    Last Post: 11-04-2011, 01:15 AM
  2. Widescreen advantage in multiplayer?
    By glo in forum Tech Board
    Replies: 5
    Last Post: 07-31-2009, 09:15 AM
  3. Advantage of C in computer graphics?
    By NoobieGecko in forum C Programming
    Replies: 8
    Last Post: 08-29-2008, 04:55 PM
  4. Advantage of C to C++
    By nipun in forum C++ Programming
    Replies: 18
    Last Post: 09-21-2004, 06:53 AM
  5. Advantage to having IP-only access to the boards...
    By -KEN- in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 08-31-2002, 07:27 PM