f



About C and C++

Hello...


I have saw some programmers talking about C on the C's forums...

But as you have seen me talking before on my post titled
"Software life cycle" , you have noticed that i have talked about
the criterions that is "Maintainability" and  "modifiability",
what i don't like in C is that if you want to group efficiently
functions and some propoerties that are shared inside an
object , you can not do that efficiently as can do Object Pascal
or C++, if you are writing in C you have to use global variables,
but that's not good for "maintenance" and "clarity" of the code,
in C++ or Object pascal you will not use global variables but
you will use an object that enhance the clarity and maintainability... 
this is why i don't like C, other than that since Java is garbage 
collected it enhance the "Reliability" and "Security" criterions, ADA 
also is good at Reliability and security, i think C and C++ score
less on those criterions that are reliability and security than
Java or ADA.



Thank you,
Amine Moulay Ramdane.








0
Ramine
2/24/2015 1:01:01 AM
comp.programming.threads 4878 articles. 1 followers. Post Follow

1 Replies
894 Views

Similar Articles

[PageSpeed] 51

Hello...


Even if you can use structs to group functions and there shared 
variables in C, that's not as efficient as C++ or Object Pascal,
in C++ or Object Pascal you can use public and private... properties and 
that's efficient and you can use also  generics and lambda expressions 
to write less code and to easy maintenance... C is becoming an "old" 
thing that makes the things more complex and difficult for us 
programmers i think...


Amine Moulay Ramdane.
0
Ramine
2/24/2015 1:01:01 AM
Reply:

Similar Artilces:

Better C/C++ Than C/C++?
I am looking for a good systems programming language that can be used instead of C/C++. My qualifications for the language are: * mature compiler(s) that produce native-code binaries (for Windows) * open source - preferable, but not 100% necessary Thanks, Kevin "Kevin Albrecht" <kevin@albrecht.net> writes: > I am looking for a good systems programming language > that can be used instead of C/C++. My qualifications > for the language are: > > * mature compiler(s) that produce native-code > binaries (for Windows) Ocaml, D, cyclone, Eiffel, Beta >...

jython and C-c C-c
How do I get C-c C-c to work with jython? I have the jpython command set to jython, and I can start the interpreter with C-C ! and then use C-c C-c, but this is rather frustrating. If I try to use C-c C-c without first starting the interpreter in another window I get wrong type argument: sequencep, jpython Thanks, Dave Cook ...

How to compile C++ program with templates to pure C or C++ program without templates?
Hi, I heard that debug some C++ templates is very difficult. I'm wondering whether it is possible to compile C++ program with templates to pure C or C++ program without templates? Best wishes, Peng In article <1129128623.514540.179850@g14g2000cwa.googlegroups.com>, PengYu.UT@gmail.com <PengYu.UT@gmail.com> wrote: >I heard that debug some C++ templates is very difficult. I'm wondering >whether it is possible to compile C++ program with templates to pure C >or C++ program without templates? The point of using templates is to not do that, since, that's also d...

C/C++ Multi-Threaded Programming Debugging
What is the best strategy or advice for C/C++ Multi-Threaded Programming Debugging on linux and Windows XP? [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] Do as little of it as you can. In other words, expose the least amount of code to concurency as possible. Both platforms have debuggers that handle threaded apps fairly well. And provide various mechanisms for dealing with concurency such as mutexes, semaphores, etc. If you're building portable code then you'll need to find a third party libra...

C or C++ program?
I need some advice regarding a coding requirement that may suggest the need for an object oriented solution. The code fragments presented here attempt to solve the problem in C. The problem: Data Packets are received from a socket and consist of 3 elements: the Packet Type, the "Item", and some Data. The Packet type represents either: (1) A Task to be performed on the Item using the supplied Data (2) A Condition that has arisen for the Item (3) A signal to exit A Task triggers a function that executes code based on the Packet's Item and Data. Often the Task will trigger...

C program is standard C++ program?
I want if "a C program is a standard C++ program, but not vice versa" is a correct statement? In a C++ program, we can use standard C libraries. However, we cannot use C++ libraries inside C program. Please advise. thanks!! strutsng@gmail.com wrote: > I want if "a C program is a standard C++ program, but not vice versa" > is a correct statement? No. void template() { } int main() { template(); } is a valid C, but invalid C++. Check your favorite textbook (you do have one, don't you?) or google for more informations on C and C++ incompatibilities. > ...

C/C++ in MATALB or MATLAB in C/C++?
Hi I've been asking on the net how to use MEX properly so that I can use C/C++ in MATLAB, but information is not forthcoming. There seems to be a lot on using MATLAB in C/C++ but not the other way around. I understand Mathworks is trying very hard to sell the Matlab Compiler, but even so, why is it SO hard to get information about MEX? Or is it that I've missed something very fundamental, meaning that I'm struggling over something that is actually quite easy? Any thoughts and info would be great. Thanks BullDog BullDog wrote: > Hi > > I've been asking on the net ...

slime C-c C-c annoyance
Does anyone have a good workaround for this problem other than: just be careful! When I've compiled a large package and slime has given me a *slime-compilation* buffer, I like to work through this buffer issue by issue, fixing the errors, warnings, etc. But If I ever press C-c C-c in the editor window while fixing an error, slime destroys the *(slime-compilation* buffer with the compilation output of C-c C-c. Jim Newton <jimka.issy@gmail.com> writes: > Does anyone have a good workaround for this problem other than: just be careful! > > When I've compiled a ...

C/C++ in matlab and matlab in C/C++ ?
Is it possible to read C/C++ code in matlab and the other way around too? Hi, as long as C or C++ are written in text files you can edit them in the matlab editor. To see the special character of C or C++ coding language, in the editor go to menus: file>preferences>Edito/Debugger>language and on popup "Language" select "C/C++". This does not allow you to run the C/C++ code, just to view it i nicer way... regards, chris saneman <asdfsdf@asd.com> wrote in message <frl846 $f8i$2@news.net.uni-c.dk>... > Is it possible to read C/C...

c------->c++ and c++------>c
We can write c program in turbo c++ editor.But reverse is not true why? i.e The program will not compile if u write c++ program in turbo c editor vim wrote: > We can write c program in turbo c++ editor.But reverse is not true why? > i.e The program will not compile if u write c++ program in turbo c > editor This isn't about C; this is about some editor. Why the fircone should /we/ know? Ask in a relevant group. [And /why/, in an editor specialised to some specific programming languages, would you expect it to compile a /different/ one? Would you expect turbo perl to compi...

C as a Subset of C++ (or C++ as a superset of C)
Isn't it a lame use of human time and effort to maintain completely separate C and C++ standards? As in the words of Betty White about Facebook: "It seems like an incredible waste of time". Why don't the two standards groups get together and agree on a common specification for the ground which both standards cover? There would still be two separate standards, but they'd both be exactly the same for the common ground. The common ground document could be referred to by both standards instead of being maintained by both groups in individual efforts resulting in...

Creating a User Interface with c/c++ so as to be called by another C/C++main program
Hi!! I want to create a user interface for my controlling Console main program. I would like to create a library of function (.lib) which start a user interface in the same thread. I have heard something about MFC, but in some examples I have faund a .uir file which I don=B4t know how to generate. Thank you pableratz@gmail.com wrote: > Hi!! > > I want to create a user interface for my controlling Console main > program. I would like to create a library of function (.lib) which > start a user interface in the same thread. > > I have heard something about MFC, but in ...

C,, C++, Java, C#
I come from C,C++,Java and C#. What can SmallTalk do for me and for what cost? Regarding the Squeak thing, it's interesting though confusing. Is it an IDE? Why are the menus so wacky? "DM McGowan II" <nospam@nospam.net> wrote in message news:PLednX2vnLd11IncRVn-rA@comcast.com... > I come from C,C++,Java and C#. What can SmallTalk do for me ...? Ask not what Smalltalk can do for, but what can you do with Smalltalk. :-) In very few words, it significantly reduces time to market, while enhancig the development experience. This is because: 1. It...

c,c++,obj-c
Of the 3 languages titled in this post is c++ older than obj-c ? Would someone experienced in C be able to dive right into C++ rather than obj-c ? Java is out for me now except applet programming I think I'm going to go with just C and C++. Bill Bill Cunningham wrote: > Of the 3 languages titled in this post is c++ older than obj-c ? Why does that matter? Do you want to use an old language? Try Fortran or LISP. > Would > someone experienced in C be able to dive right into C++ rather than > obj-c ? Not quite dive in, at least not into the OO parts of C++. ...

C, C++ and C# Forums
Throne Software has opened up C, C++ and C# Forums at: http://www.thronesoftware.com/forum/ Join us! ...

Web resources about - About C and C++ - comp.programming.threads

Ed Hochuli did not beat the New England Patriots - NFL Nation- ESPN
Denver is now 8-1 in games refereed by Ed Hochuli, but in Sunday's AFC title game, calls in the handful of gray areas fell both ways.

New Hampshire Poll – Donald Trump Extends Lead w/ 33%, Cruz 14%, Kasich 12%…
The latest New Hampshire Polling (full pdf below) comes from the Boston Herald and affirms the previous polling from CNN, Fox, Q-PAC and PPP. ...

Twitter's Nathan Hubbard Will Take Over Interim Media Job Amid Executive Changes
Re/code : Twitter's Nathan Hubbard Will Take Over Interim Media Job Amid Executive Changes — We're still sifting through the rubble of yesterday's ...

President Barack Obama to Return to L.A. for Fundraisers
President Barack Obama is returning to Los Angeles on Feb. 11 to raise money for a series of fundraising events organized by the Democratic National ...

Plaintiffs' lawyers wary of taking on Flint water scandal
The water scandal in Flint, Michigan has many of the ingredients for a mass, class-action lawsuit: danger signs that may have been ignored, many ...

Winter Storm Jonas inspired some ‘Snow-nas Brothers’ snowmen
While the Jonas Brothers were busy "Burnin' Up" social media with hilarious winter storm memes this past weekend, the Snownas Brothers were chillin' ...

ISIS video shows attackers committing atrocities before Paris siege
PARIS — A new video released by the Islamic State group purports to show the extremists who carried out the Nov. 13 attacks in Paris committing ...

The new ‘Batman v. Superman’ teaser trailers are out
Batman v. Superman: Dawn of Justice is just one of the numerous superhero movies hitting cinemas this year , and we’ve already seen plenty of ...

Apple Seeds Second Beta of tvOS 9.2 to Developers
Apple today provided developers with the second beta of an upcoming 9.2 update to tvOS, the operating system that runs on the fourth-generation ...

Opinion: Apple’s rumored 4-inch iPhone 5se may well be worth seriously considering
I remarked on a recent episode of 9to5Mac’s Happy Hour podcast that the rumored 4-inch iPhone would absolutely need to take Live Photos for me ...

Resources last updated: 1/25/2016 11:22:02 PM