Re: C++ types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Saltzman wrote:
On Sun, 2007-09-02 at 15:26 -0600, Karl Larsen wrote:

When I was MUCH younger and using an old Fortran because that was what we had, I learned about the subtle changes you can make by a simple change. I tried to compile some of my old code on the Linux Fortran 97 and they would all error out. I fixed them and it was not too hard. Around 1970 I got interested in C. I still have books of that vintage and was amazed that Unix was made with C. At that time I think ANCI C was in style.

That would have been the dialect known as "K&R C"--the language
described in the original edition of Kernighan and Ritchie's book.

I believe the ANSI C (later ISO C) standard was adopted in the early
'90s.  It added function prototypes and standardized the library, among
other changes.

There is now a new C standard (nicknamed "C99"), which includes some
additional features.  Most compilers haven't fully implemented this
version yet.

The best references for comparison of the various C versions are the
various editions of the Harbison and Steele book.  At least the 4th
edition also has a good discussion of the relationship between C and C++
and how to write code that is as close as possible to portable between
the two languages.

You have it right Matt. I recall it was K&R C at first and there were few libraries you could include. It was much later ANSI-C showed up and it was much nicer. I never got real interested in C++ because I never used it to make a living.



--

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux