473,769 Members | 8,305 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

whats there in C that is not in C++ and VC++

hi, C is an evergreen programming language developed by denis richie.
C++ is only an extension to C with some extra added features and VC++
provides an IDE for programming. still C is not obselete. why? please
answer to make me a clear view about C.

Feb 7 '06 #1
17 1590
student wrote:
hi, C is an evergreen programming language developed by denis richie.
C++ is only an extension to C with some extra added features and VC++
provides an IDE for programming. still C is not obselete. why? please
answer to make me a clear view about C.


You cannot be serious!

Go back and check your facts before posting potentially inflamatory
questions. Hints:

- it's Brian W. Kernighan and Dennis M. Ritchie
- C++ is /not/ an extension, it's a /different/ programing language
- VC++ is not /just/ and IDE
- look up Bjarne Stroustrup (in connection with C++)

If you research this properly, you'll have your answer. To do that,
you'll have to learn a few things about both C and C++. Right now, you
obviously know nothing about either.

Also, be more careful with your spelling. I'm sure that dmr wouldn't
appreciate being "rebranded" : it's Ritchie -- not Richie, it's Dennis
-- not Denis; and I don't even want to go into your not properly
capitalising people's names. BTW, sentences, in general, also begin
with a capital letter.

--
BR, Vladimir

Feb 7 '06 #2
Vladimir S. Oka wrote:
You cannot be serious!


And though I think the funniest part was the "evergreen" adjective.
Feb 7 '06 #3
"student" <bp*****@gmail. com> wrote in message
news:11******** *************@o 13g2000cwo.goog legroups.com...
hi, C is an evergreen programming language
C is a programming language. I have no idea what
you mean by 'evergreen'.
developed by denis richie.
Dennis Ritchie and Brian Kernighan.
(Note that the cover of their famous book
lists their name in the opposite order).
C++ is only an extension to C
Absolutely not correct. C++ is a *different* programming
language (whose design was indeed influenced by C)
with some extra added features
C++ adds *nothing* to C. It is a *different* language.
and VC++
provides an IDE for programming.
And much, much more.
still C is not obselete.
Of course not.
why?
The television receiver was invented after the radio receiver.
They use very similar technology. Yet radio is not obsolete.
Why?

They are similar, but *different* things, each more suitable for
a particular task.
please
answer to make me a clear view about C.


You can get a clear view of what C is and is not by
reading a good C textbook. I recommend the one authored
by the two gentlemen I mentioned above. Google can easily
find vendors.

I suggest you check your facts before forming conclusions
about them.

-Mike
Feb 7 '06 #4
On 2006-02-07, Mike Wahler <mk******@mkwah ler.net> wrote:
"student" <bp*****@gmail. com> wrote in message
news:11******** *************@o 13g2000cwo.goog legroups.com...
hi, C is an evergreen programming language


C is a programming language. I have no idea what
you mean by 'evergreen'.
developed by denis richie.


Dennis Ritchie and Brian Kernighan.


The latter was involved, as far as i know, only in the production of
the book, not in the design of the language itself.
Feb 7 '06 #5

student wrote:
hi, C is an evergreen
Evergreen? Is that another way of saying "old"?
programming language developed by denis richie.
ITYM Dennis Ritchie.
C++ is only an extension to C with some extra added features
Uh, no. The bulk of C++ is derived from C, but there are fundamental
differences between the two languages. It's not just a matter of some
added features.
and VC++ provides an IDE for programming. still C is not obselete. why? please
answer to make me a clear view about C.


Same reason Fortran is still not obsolete; there are times when it's
still the best tool for the job.

Feb 7 '06 #6
Mike Wahler said:
"student" <bp*****@gmail. com> wrote in message
news:11******** *************@o 13g2000cwo.goog legroups.com...
hi, C is an evergreen programming language
C is a programming language. I have no idea what
you mean by 'evergreen'.
developed by denis richie.


Dennis Ritchie and Brian Kernighan.


I suggest you check your facts before forming conclusions about them.

<snip>
I suggest you check your facts before forming conclusions
about them.


Er, quite so. :-)
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Feb 7 '06 #7

"Richard Heathfield" <in*****@invali d.invalid> wrote in message
news:ds******** **@nwrdmz01.dmz .ncs.ea.ibs-infra.bt.com...
Mike Wahler said:
"student" <bp*****@gmail. com> wrote in message
news:11******** *************@o 13g2000cwo.goog legroups.com...
hi, C is an evergreen programming language
C is a programming language. I have no idea what
you mean by 'evergreen'.
developed by denis richie.


Dennis Ritchie and Brian Kernighan.


I suggest you check your facts before forming conclusions about them.


Dang! Got my facts wrong. But fortunately I didn't
use them to form a conclusion. :-)

<snip>
I suggest you check your facts before forming conclusions
about them.


Er, quite so. :-)


I stand (actually, hiding under my desk) corrected. :-)

-Mike
Feb 7 '06 #8

"student" <bp*****@gmail. com> wrote
hi, C is an evergreen programming language developed by denis richie.
C++ is only an extension to C with some extra added features and VC++
provides an IDE for programming. still C is not obselete. why? please
answer to make me a clear view about C.

In mathematical terms, C++ is not a superset of C because there are some C
programs which are not legal C++ programs.
However for our purposes what you say is nearly true.

So the reason for not having the C++ extensions isn't purely technical. It
is psychological. It is a lot easier to write bad C++ programs than it is to
write bad C programs.

By rejecting the C++ extensions, at a stoke you make your job of writing an
understandable, efficient, and correct program that much simpler.
It is not always the case, of course. Some programs are easier to write in
C++, because the C++ extensions express the relationships between your data
items better than a purely procedural / simple data structure program can.

The British army recently ordered some rifles. They came with burst /
single shot modes. The army had them modifed to get rid of the automatic
fire option, reasoning that soldiers would, in the heat of battle, waste all
their ammunition. Having an option isn't always better.
Feb 7 '06 #9
Malcolm a écrit :
So the reason for not having the C++ extensions isn't purely technical. It
is psychological. It is a lot easier to write bad C++ programs than it is to
write bad C programs.


I doubt that.
As in C++, you shouldn't do memory management (at least for containers),
it is less likely that you will run into buffer overflow issues.
Feb 7 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2125
by: Amol Chavan | last post by:
I was debating with my friend on how to make a class final as in java, where it can't be further derived but instatiated. So I search the net and found to do so. Make a base class which has constructor private. And a Final class inheriting from it privately. // Code snippet class FinalBase { FinalBase() {} friend class Final; };
176
8336
by: basecamp | last post by:
just checking the average age of programmers using this group -- thanks
21
2036
by: Paul Tremblay | last post by:
Hi All, I am a veteran C/C++ programmer (Unix background) and I want to get to speed with Visual Studio .Net I have legacy C/C++ code that I want to use in my application. However, I'm not sure how to call my native C++ functions from my C++ DLLs. The confusion is this: I currently have Visual Studio 2003 it is not clear whether I should use managed extensions or C++/Interop?
2
1139
by: Alfonso Morra | last post by:
I have a class that contains a nested class. The outer class is called outer, and the nested class is called inner. When I try to compile the following code, I get a number of errors. It is not obvious to me, where I'm going wrong (the compiler messages do not seem to make much sense). here is the code: outer class declared as ff in "outer.h":
2
24522
by: Abubakar | last post by:
Hi all, I'm writing an app in vc++ 2k5 (all native/unmanaged). This application does a lot of multithreading and socket programming. Its been months since I'm developing this application, at this point a lot of it is working just fine, my app running fine, threads r being made and destroyed, memory is being dynamically allocated at God knows how many places and ,hopefully, getting deallocated as well. Its just by coincedence I happened...
2
2857
by: abubakarm | last post by:
Hi, There is a strang bug appearing not-so-often in my application. I'm pasting the stack calls window contents when my app crashes. Following it is: msvcr80d.dll!fastcopy_I(void * dst=0x01e46130, void * src=0x00001280, int len=0) + 0x4b bytes C msvcr80d.dll!_VEC_memcpy(void * dst=0x01e46130, void * src=0x000012fc, int len=8) + 0x52 bytes C
3
260
by: sam | last post by:
Hi, Whats the meaning of this code:- ((CCommunityDlg*)m_pWnd)->OnClose(); I know this is of VC++, But I just want to know what the logic behiind this cide, Please givve me solution Thanks in advance.
8
1614
by: 2b|!2b==? | last post by:
typedef struct llist_entry_s llist_entry; /* opaque type */ struct llist_entry_s { llist_entry * next; char * keyword; char * value; llist_entry() :next(0), keyword(0), value(0) {
3
1613
by: diwakar09 | last post by:
i am using vc++ compiler #include<iostream> using namespace std; class base { public: virtual void paint() {
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10219
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3567
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.