Limits of C/C++

This is a discussion on Limits of C/C++ within the C Programming forums, part of the General Programming Boards category; Hi everyone. I would like to ask a few questions. 1. Apart from Assembly, what language has the least limit ...

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    230

    Limits of C/C++

    Hi everyone. I would like to ask a few questions.
    1. Apart from Assembly, what language has the least limit in fuctionality. I would like if it was good in visual terms, but that's not the main feature I'm looking for. And is Assembly the most limitless language out there (I know it's very low-level).

    2. Which one should I go for: C or C++? I know many ask this question and I've seen the answer, but I'll be more specific. Which one has less limits? Which one has more functionality? I've read a lot of information on the internet, but I still can't make my mind.

    I'd like to point out that I'm doing all this as a hobby, so I don't need to worry much about modifying old programs or any job-related points.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,931
    1. Apart from Assembly, what language has the least limit in fuctionality. I would like if it was good in visual terms, but that's not the main feature I'm looking for. And is Assembly the most limitless language out there (I know it's very low-level).
    Any programming language that allows one to use inline assembly would be as "limitless" as assembly language. Both C and C++ qualify in this respect.

    2. Which one should I go for: C or C++? I know many ask this question and I've seen the answer, but I'll be more specific. Which one has less limits? Which one has more functionality? I've read a lot of information on the internet, but I still can't make my mind.
    The frequently repeated advice is to use the right tool for the job. As such, what is the job, and how familiar are you with the tools? Anything else would just result in endless discussions of language features/"misfeatures", libraries, programming idioms, etc.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,785
    If it's a contest between C or C++, I'd say go for C++ since it can do C just as well as C++, if such is required (and other on the board agrees on this point).
    Knowing C++, you can also "fall back" to C, if such would be required.
    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. #4
    Registered User
    Join Date
    Sep 2006
    Posts
    230
    OK thanks for replying. The job is simple, it'll probably be system-specific. I want to "take control". I forgot to mention that I'm writing for windows. So I mean stuff like show in the task bar, hide from the task manager processes, networking, etc.
    I know I'm going for some really advanced stuff, I don't think I'll be there any time soon but I want to go for something that has potential.

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,671
    > Apart from Assembly, what language has the least limit in fuctionality.
    Almost all programming languages (even things like INTERCAL) fall into this category.
    http://en.wikipedia.org/wiki/Turing_complete

    The only question is the range of tools/libraries available which make what you're interested in producing a practical proposition.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Process Resources and System Limits Problem
    By yair in forum C Programming
    Replies: 2
    Last Post: 09-07-2005, 02:24 AM
  2. Exceeding the limits
    By WrathFox in forum C++ Programming
    Replies: 5
    Last Post: 01-10-2005, 06:00 PM
  3. International Limits on Precision
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-20-2004, 06:32 AM
  4. data type limits
    By JTtheCPPgod in forum C++ Programming
    Replies: 7
    Last Post: 01-26-2003, 09:08 PM
  5. memory limits in console (win NT/9X)?
    By dp_goose in forum C++ Programming
    Replies: 1
    Last Post: 10-29-2002, 05:00 AM

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