472,809 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,809 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 4690
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: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.