473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Making C better (by borrowing from C++)

I know that this topic may inflame the "C language Taleban", but is
there any prospect of some of the neat features of C++ getting
incorporated in C? No I am not talking out the OO stuff. I am talking
about the non-OO stuff, that seems to be handled much more elegantly in
C++, as compared to C. For example new & delete, references, consts,
declaring variables just before use etc.

I am asking this question with a vested interest. I would really like
to use these features in my C programs.

Masood
Dec 23 '07
204 4821
Chris Hills wrote:
Chris Hills <ch***@phaedsys.orgwrites
>CBFalconer <cb********@yahoo.comwrites
>>Chris Hills wrote:
.... snip ...
>>>>
In many many parts of the world "yank" is a worse insult.
In fact in some parts of the world Yank has been changed to
"septic" as in septic-tank == yank.

Well, I live in Maine, which is a major portion of New England.

Try some where on in N. America......

Sorry... Somewhere NOT in N. America. Come to that try calling a
Canadian a "Yank" :-)
I AM Canadian. I would only be amused at the callers ignorance.

--
Merry Christmas, Happy Hanukah, Happy New Year
Joyeux Noel, Bonne Annee, Frohe Weihnachten
Chuck F (cbfalconer at maineline dot net)
<http://cbfalconer.home.att.net>

--
Posted via a free Usenet account from http://www.teranews.com

Dec 30 '07 #201
In article <fl**********@aioe.org>,
David Laudedale <no*****@nospam.invalidwrote:
....
>It's true that the constant sniping attacks from the liberal MSM have
had some effect on his personal popularity. However, if you asked "How
many Americans support our troops?" then I think the answer would be a
*lot* higher than 25%.
The whole concept of "Do you support the troups?" is BushCo spin. It is
a calculated effort to take people's eye off the ball.

To put it another way, the only correct response to "Do you support the
troups?" is "I pay taxes, don't I?"

Dec 30 '07 #202
[snips]

On Fri, 28 Dec 2007 21:08:10 +0100, jacob navia wrote:
You can't use gcc as a back end for your proprietary language,
mainly because it is too slow
So you don't do this because gcc is too slow, but...
because of its sheer complexity. Lcc-win code is 80% of the
speed of gcc
.... if gcc is too slow to warrant this usage, then lcc-win, which is
slower still, would be an even less appealing choice.

Er, is this supposed to be a selling point for lcc-win?
Jan 2 '08 #203
On Wed, 26 Dec 2007 09:28:34 +0000, Richard Heathfield
<rj*@see.sig.invalidwrote:
<snipBut operators are overloaded routinely within C.
Even the humble + operator has many meanings; <snip>
And don't get me started on * ! :-)
'star'ted on? <G!>

- formerly david.thompson1 || achar(64) || worldnet.att.net
Jan 7 '08 #204
On Thu, 27 Dec 2007 13:19:57 +0000, Richard Heathfield
<rj*@see.sig.invalidwrote:
Paul Hsieh wrote:
...
Really? Personally, I cannot even make that work. VC++'s editor does
not have a backward search, nor does it have Perl compatible RE
search, <snip>
He's talking nonsense. Of course VC's editor can search upwards. What's
more, it takes just a single keypress to jump to a declaration (and
another to pop back to where you came from), <snip>
.... if the relevant files are compilable (and you remember to tick
'build browse info' which the stupid 'wizard' never does for me);
or they _have been_ (compilable and) compiled (ditto) and have not
since then been changed in ways that throw off the line numbering.

Or, given a sane source tree organization and for an identifier that
is unique or at least rare, you can use 'Find in Files' over an
appropriate part of the file tree, and go through the resulting
matches forward, backward, or randomly, as you like.

- formerly david.thompson1 || achar(64) || worldnet.att.net
Jan 14 '08 #205

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

Similar topics

85
by: masood.iqbal | last post by:
I know that this topic may inflame the "C language Taleban", but is there any prospect of some of the neat features of C++ getting incorporated in C? No I am not talking out the OO stuff. I am...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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,...

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.