Thread: c questions again. Please answer.

  1. #16
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by malvado View Post
    Do anything i want with no limits
    LOL... for THAT, my friend, you are on the complete wrong planet.

  2. #17
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,949
    CommonTater: I tend to lean towards you when it comes to ideology, however over the years that I have been coming to this board I still think that we shouldn't just disregard a question.

    Malvado: A brief history.......

    In the beginning man made a computer to perform computations.

    Man saw that was good and decided to communicate with the computer. The language he picked was Assembly.

    Man then saw that computers solved many problems and was happy. Man grew restless and wanted to solve more problems so Man created a higher level language ( farther away from the processor ) known as C. In C Man created many things to control the computer. Man saw this as good.

    Man then decided to push the boundaries. In doing so Man realized that he could create templates from which all life < functionality > could be created < derived > from.

    Man saw this as good and created an even higher level < abstract > (farther from processor) language known as C++. "C" being the original language and the "++" being a reference to the compiler shorthand meaning one more. AKA a little better.

  3. #18
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    639
    Quote Originally Posted by AndrewHunter View Post
    CommonTater: I tend to lean towards you when it comes to ideology, however over the years that I have been coming to this board I still think that we shouldn't just disregard a question.
    I'm confused. How does answering the same question 20 times in about 5 different threads constitute disregarding it? All there's left to do is point and laugh at the person who's spent the entire time between his threads with his thumb up his arse. There's been more effort shown in coming up with these funny replies than from the OP.

    Since this keeps going round in circles:
    OP, There's a rapper called Common Sense. I'd suggest you buy his albums because it seems that's the closest you'll get to owning some.

  4. #19
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,949
    adeyblue: I think that you have answered your own question.
    How does answering the same question 20 times in about 5 different threads....
    If the question keeps coming up then it must need further refinement.

  5. #20
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by AndrewHunter View Post
    CommonTater: I tend to lean towards you when it comes to ideology, however over the years that I have been coming to this board I still think that we shouldn't just disregard a question.

    Malvado: A brief history.......

    In the beginning man made a computer to perform computations.

    Man saw that was good and decided to communicate with the computer. The language he picked was Assembly.

    Man then saw that computers solved many problems and was happy. Man grew restless and wanted to solve more problems so Man created a higher level language ( farther away from the processor ) known as C. In C Man created many things to control the computer. Man saw this as good.

    Man then decided to push the boundaries. In doing so Man realized that he could create templates from which all life < functionality > could be created < derived > from.

    Man saw this as good and created an even higher level < abstract > (farther from processor) language known as C++. "C" being the original language and the "++" being a reference to the compiler shorthand meaning one more. AKA a little better.
    Very nice... I'm sure that's what they intended with the name... to "go C one better" ... but in truth what they created was a different language that is used for an entirely different programming construct. It's not better, but it certainly is different.

    I'm not entirely sure you can place quantative evaluation upon a programming language from it's name. If you could then we should all be rushing to work in D or J... because after all D is a whole step better than C... Not just an inrement like C++ or C#.

    I'm learning C++ right now. I stuck my toe in the water earlier this year, getting serious about it now... and so far it hasn't shown me anything I can't already do in C... In fact the only thing in C++ that's totally new are constructors and destructors, all the rest can be done in plain old C.

    I will grant that C++ libraries are extemely well developed (and, unfortunately, rather bloated) -- much more so than C libraries. But that's not an evaluation of the language itself, that is only a measure of the libraries.

    I didn't avoid the OP's question... I answered it clearly and honestly... The truth is that it does not matter where he starts, there is no one "this language is all you'll ever need to know" language... most programmers now know 2 or 3 often disparate languages just to keep their jobs, most of the good ones know more than that. But, as I said, nothing is going to happen until he stops waffling and makes it happen.

    (And for the OP ... the assumption that we are all professional programmers is totally erroneous... I'm a hobbyist and as you can plainly see, the place is occupied by a LOT of beginners.)
    Last edited by CommonTater; 05-28-2011 at 10:08 AM.

  6. #21
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Quote Originally Posted by AndrewHunter View Post
    adeyblue: I think that you have answered your own question.

    If the question keeps coming up then it must need further refinement.
    So why hasn't the OP refined the question yet then?

  7. #22
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,949
    I'm learning C++ right now. I stuck my toe in the water earlier this year, getting serious about it now... and so far it hasn't shown me anything I can't already do in C... In fact the only thing in C++ that's totally new are constructors and destructors, all the rest can be done in plain old C.
    ...Man saw C++ was good and continued to evolve < develope > the language. Man then began to worship the language and created deities known as class constructors. It was in these constructors that man created false deities known as abstract classes; never before seen or utilized. It was then that subsequent universes < OS's> were created such as the XNA framework and Windows 7.

    Man then saw this and thought it was good.

  8. #23
    Registered User
    Join Date
    May 2011
    Posts
    21
    Quote Originally Posted by AndrewHunter View Post
    CommonTater: I tend to lean towards you when it comes to ideology, however over the years that I have been coming to this board I still think that we shouldn't just disregard a question.

    Malvado: A brief history.......

    In the beginning man made a computer to perform computations.

    Man saw that was good and decided to communicate with the computer. The language he picked was Assembly.

    Man then saw that computers solved many problems and was happy. Man grew restless and wanted to solve more problems so Man created a higher level language ( farther away from the processor ) known as C. In C Man created many things to control the computer. Man saw this as good.

    Man then decided to push the boundaries. In doing so Man realized that he could create templates from which all life < functionality > could be created < derived > from.

    Man saw this as good and created an even higher level < abstract > (farther from processor) language known as C++. "C" being the original language and the "++" being a reference to the compiler shorthand meaning one more. AKA a little better.
    so basically u r recommending c++? But anything that can be done in c++can also be done in c, lol. At least, that is what ppl say. so u r sayin c++ is better.
    Last edited by malvado; 05-28-2011 at 10:41 AM.

  9. #24
    Registered User
    Join Date
    May 2011
    Posts
    21
    Quote Originally Posted by CommonTater View Post
    LOL... for THAT, my friend, you are on the complete wrong planet.
    im talkin about a language that offers no limits and allows u to do anythin u want.

  10. #25
    Registered User cph's Avatar
    Join Date
    Sep 2008
    Location
    Indonesia
    Posts
    86
    Quote Originally Posted by malvado View Post
    im talkin about a language that offers no limits and allows u to do anythin u want.
    pick one, please.
    um...I suggest you should really get started.
    Do not stare at my avatar.

  11. #26
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Quote Originally Posted by malvado View Post
    so basically u r recommending c++? But anything that can be done in c++can also be done in c, lol. At least, that is what ppl say.
    I'm guessing the problem is that you believe that there can only be One Programming Language To Rule Them All. It is not a contradiction that C++ can do everything and that also C can do everything. The only limit is going to be your skills/aptitude/ability, not the programming language.

  12. #27
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    If you want to be close to the hardware, pick C (or assembly if you're hardcore and insane). It's will produce smaller, more efficient code, which is critical in things like OSes and drivers. But you're going to have to write a lot more code than you might in C++ for the same results. C makes you manage all your resources yourself, and you will have to create many of your own basic data structures, there's no STL. The upside: smaller, more efficient code. The downside: more room for mistakes, memory leaks, etc. Read this article about learning to program.

  13. #28
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Quote Originally Posted by malvado View Post
    im talkin about a language that offers no limits and allows u to do anythin u want.
    All languages have limits. Believe me, I would have written a program that produces all the beautiful women and high quality scotch and wine I could ever want a long time ago if it were possible. But it's not -- unless somebody knows how I can get my hands on the computer and computer language god or whatever used to create the universe. If you're actually interested in the limits of programming, you need to start reading about computability theory, Turing machines and the like. But that ain't for the faint of heart.

  14. #29
    Registered User
    Join Date
    May 2011
    Posts
    21
    @AndrewHunter: i dont really get this part :
    Man then decided to push the boundaries. In doing so Man realized that he could create templates from which all life < functionality > could be created < derived > from.

    Man saw this as good and created an even higher level < abstract > (farther from processor) language known as C++. "C" being the original language and the "++" being a reference to the compiler shorthand meaning one more. AKA a little better.

  15. #30
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,949
    Actually if you want to get technical:

    I'm guessing the problem is that you believe that there can only be One Programming Language To Rule Them All. It is not a contradiction that C++ can do everything and that also C can do everything. The only limit is going to be your skills/aptitude/ability, not the programming language.
    The difference between C and C++ really comes down to the class constructors. "Can I use a function layout?" is the question you should be asking. C has always allowed for typedef architecture, however it is with the function abstraction that it has defined itself.

    For the OP ( original poster ) google some of this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Answer to these questions
    By mdennis10 in forum C++ Programming
    Replies: 3
    Last Post: 04-19-2011, 07:48 AM
  2. have 5 min to answer
    By juststartedC in forum C Programming
    Replies: 7
    Last Post: 10-11-2007, 05:26 PM
  3. A couple of questions that someone might know the answer to...
    By Finchie_88 in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 04-15-2005, 08:26 AM
  4. Please answer this
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 02-25-2004, 11:43 AM
  5. Questions ab an answer...
    By JohnMayer in forum C Programming
    Replies: 8
    Last Post: 08-11-2002, 11:06 PM