No. They are sort of like comparing apples and Oranges.
Procedural programming languages are coded and executed in step-by-step fashion, while platform oriented language (I can only think of Assembly or Machine code Instruction, Object-C maybe) is created for a certain platform (Palm, iPhone, Android, Mac, Windows, may be abstract like the world wide web!!)
A platform oriented language may not be procedural. It may not be imperative. It could be functional or object oriented
C++ is regarded as hybrid because it is both procedural and objected oriented. A pure c program can be compiled and run on a c++ platform. At the same time, c++ also provides object oriented features like classes, polymorphism, encapsulation, abtraction, etc.
There is no such thing as a platform-free programming language. The correct term is platform-independent language. It simply means that the same source code can be compiled or interpreted upon any platform; the code is not machine-dependent.
There is no such thing as a platform-free programming language. The correct term is platform-independent language. It simply means that the same source code can be compiled or interpreted upon any platform; the code is not machine-dependent.
1) In Procedural language the programmers concentration is on problem and its solution so we need another approach where the developpers study the entire system and developped. ---- 2) after writing the programmers 10,000 to 1,00,000 lines of code in proce language they are loosing their control on the code.they cant identify the errors easily. latter if any modifications are there in the code it is difficult to modify. ---- 3) proce lang will not reflect the human beings life.but, o.o.prog'ing lang's reflects the human beings life.like inheritance,encapsulation,objects.......etc By , James
C++ is a programming language developed by Bjarne Stroustrup.It inherits many of its functionality from c but also has its own unique features like polymorphism, encapsulation,abstraction, etc. It is both procedural and object oriented programming language. For more information, visit the link below:
Any language that supports class types, private and protected data, inheritance, polymorphism, function overriding, virtual methods is regarded as an object oriented programming language. However, while C++ supports OOP, it does not rely on it. You can mix C++ and C-style code (non-OOP) in the same program.
Nope. And Do not attempt.An objected oriented language must have the following features built in in the language itself:Inheritance (hierarchy of classes)Polymorphism (this one is almost impossible for non-OO language to achieve). That is, different classes or objects have the same name of operation but implemented differently, and hence the outcome are different as well.Encapsulation, not just the data members, but also the methods/operations or functions. For non-OO language, this is will not be an easy one, if it is possible to start with.
Procedural programming language involves coding instructions that a computer executes in a particular order. The language makes it easy to debug different procedures in isolation. It is also easy to read the code hence making it easy to change a particular procedure. The disadvantages include the need to change large portions of the code during porting and inability to use the original code on a different application.
Procedural programming is classic programming where the program language is used to tell the computer EXACTLY what do do - step by step. Examples are Assembler, Fortran, Cobol, C, etc etc. Very detailed, very difficult and time consuming to write, but very efficient from the computers point of view. NON-procedural programming is where you tell the computer what you want, and it figures out how to get it. Non/P programming is often used for database manipulations, like SQL, Visual Basic, etc etc. A SQL command like "Select name, address, city, state, zip order by zip" is non procedural. That one line replaces dozens, or hundred of lines, that would be needed to do the same thing in Cobol or C to get data out of a database.
The concepts of OOP in C++ are the same as for OOP in any other programming language: abstraction, encapsulation, inheritance and polymorphism.
procedural rules
Low level computer languages require the programmer to know the machine code or assembler language for the computer CPU targeted including low-level functions like memory allocation and memory deallocation.A high-level programming language is a programming language with strong abstraction from the details of the computer.The Java programming language is not only a high-level language, but is also machine and platform independent in that the same compiled byte-code can run on different platform and CPUs without recompiling.