Log in

I forgot my password

Search
 
 

Display results as :
 


Rechercher Advanced Search

Wiki Search
Latest topics
» data mining and data warehousing
Mon May 20, 2013 3:30 pm by prabakumar

» mid questions
Sat Apr 07, 2012 9:58 pm by ravitejachalla

» important questions
Sat Apr 07, 2012 8:04 pm by tony

» racha blockbuster written all over. strong reports coming
Tue Apr 03, 2012 10:18 pm by tony

» celebration for 300 users
Tue Apr 03, 2012 9:36 pm by tony

» 8051 Microcontrollers
Sun Feb 26, 2012 8:02 pm by shanthipriya

» panja video songs racha quality
Sat Dec 17, 2011 1:21 am by tony

» first look of OO kodthaara ulikki padthaara?
Fri Dec 16, 2011 1:35 am by tony

» pawan kalyan panja HQ DVD quality rip
Thu Dec 15, 2011 4:22 pm by tony

» latest joke in movie circles
Wed Dec 14, 2011 8:39 pm by tony

September 2017
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930

Calendar Calendar

Statistics
We have 536 registered users
The newest registered user is mounisha.gona

Our users have posted a total of 478 messages in 434 subjects
Keywords

POLL
Your IP address

C++ Frequently asked questions

View previous topic View next topic Go down

C++ Frequently asked questions

Post by Pruthvi Bharadwaj on Mon Jul 28, 2008 6:03 pm

What is C++?
C++ is a programming language. It literally means "increased C", reflecting its nature as an evolution of the C language.
Is it necessary to already know another programming language before learning C++?
Not necessarily. C++ is a simple and clear language in its expressions. It is true that a piece of code written with C++ may be seen by a stranger of programming a bit more cryptic than some other languages due to the intensive use of special characters ({}[]*&!|...), but once one knows the meaning of such characters it can be even more schematic and clear than other languages that rely more on English words.
Also, the simplification of the input/output interface of C++ in comparison to C and the incorporation of the standard template library in the language, makes the communication and manipulation of data in a program written in C++ as simple as in other languages, without losing the power it offers.
[dl]
How can I learn C++?
There are many ways. Depending on the time you have and your preferences. The language is taught in many types of academic forms throughout the world, and can also be learnt by oneself with the help of tutorials and books. The documentation section of this Website contains an online tutorial to help you achieve the objective of learning this language.
What is OOP: Object-oriented programming?
It is a programming model that treats programming from a perspective where each component is considered an object, with its own properties and methods, replacing or complementing strutured programming paradigm, where the focus was on procedures and parameters.
Is C++ a propietary language?
No. No one owns the C++ language. Anyone can use the language royalty-free.
What is ANSI-C++?
ANSI-C++ is the name by which the international ANSI/ISO standard for the C++ language is known. But before this standard was published, C++ was already widely used and therefore there is a lot of code out there written in pre-standard C++. Referring to ANSI-C++ explicitly differenciates it from pre-standard C++ code, which is incompatible in some ways.
How may I know if my compiler supports ANSI-C++?
The standard was published in 1998, followed by a revision in 2003. Some compilers older than the standard implement already some of its features, and many newer compilers don't implement all ANSI-C++ features. If you have doubts on whether your compiler will be able to compile ANSI-C++ code, you can try to compile a piece of code with some of the new features introduced mainly after the publication of the standard. For example, the following code fragment uses the bool type, and uses namespaces and templates.

#include <iostream>
using namespace std;
template <class T>
bool ansisupported (T x) { return true; }

int main() {
if (ansisupported(0)) cout << "ANSI OK";
return 0;
}



ANSI OK

If your compiler is able to compile this program, you will be able to compile most of the existing ANSI-C++ code.
How can I make windowed programs?
You need a C++ compiler that can link code for your windowing environment (Windows, XWindow, MacOS, ...). Windowed programs do not generally use the console to communicate with the user. They use a set of functions or classes to manipulate windows instead, which are specific to each environment. Anyway the same principles apply both for console and windowed programs, except for communicating with the user.
What is Visual C++? And what does "visual programming" mean?
Visual C++ is the name of a C++ compiler with an integrated environment from Microsoft. It includes special tools that simplify the development of large applications as well as specific libraries that improve productivity. The use of these tools is generally known as visual programming. Other manufacturers also develop these types of tools and libraries, like Borland C++, Visual Age, etc...
avatar
Pruthvi Bharadwaj
Administrator
Administrator

Number of posts : 291
Age : 26
Location : Tirupati
Reputation : 1
Registration date : 2008-06-13

View user profile http://a2zweb.friendhood.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum