c++








WHAT IS C+ +



C programming is one of thousands of computer programming languages that allow users to create instructions for a computer to follow. While C has a slightly more cryptic style than some other programming languages, it's fairly easy to learn and allows you to read and write code for many different platforms. Because it's so efficient and gives the user a lot of control, C is very popular with programmers.

The C programming language has been around since the early '70s, when it was developed by Ken Thompson and Dennis Ritchie at Bell Laboratories. They saw the need for a more user-friendly programming language, and after several attempts at new languages, C was eventually finalized and released. Throughout the '80s, the developers created various standards for the language. As computers became more complex, programmers were able to use C to build their own compilers and programming languages. The C programming language has led to the development of both Java and C++, which are popular today and both simplified programming even further.



HOW TO Compilation

The compilation step is performed on each output of the preprocessor. It involves parsing the C++ source code (now without any preprocessor directives) and, producing an object file. This object file contains the compiled code (in binary form) of the symbols defined in the input. Symbols in object files are referred to by name.
Object files can refer to symbols that are not defined. This is the case when you use a declaration, and don't provide a definition for it. The compiler doesn't mind this, and will happily produce the object file as long as the source code is well-formed.
Compilers usually let you stop compilation at this point. This is very useful because with it you can compile each source code file separately. The advantage this provides is that you don't need to recompile everything if you only change a single file.
The produced object files can be put in special archives called static libraries, for easier reusing later on.
It's at this stage the "regular" compiler errors, like syntax errors or failed overload resolution errors, are reported.




How to execute a program within another program?
Hello sir,
I am doing project on processors. I have a program called "START" and another program called "main". Now, i want to execute "START" program within the "main". I do not want to just call instead i want to run the "START" Program. please help me..
Thanku
Krutthika






















No comments:

Post a Comment