namespace is working on which compiler?
Answers were Sorted based on User's Feedback
Answer / arvind
Namespace std: All the C++ files standard library declare all of its entities with in standard name spaces.
I worked with g++ complier. It even work with vc++ compilers.I don't about turbo c++.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / poonam
The above answer is true. Namespace works with g++ and vc++
compilers. These are newly created standard library files of
c++. But the namespace doesn't work for turbo c++.
Actually 'namespace std' creates a kind of space for
standard library files to be stored in it. The earlier
extension of '.h' or header files is now not used in c++.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is class encapsulation?
What is encapsulation with example?
The expansion of GNU
Why do while loop is used?
create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.
2 Answers CTS, Delhi University,
what is ns string? what is ns array?
How long to learn object oriented programming?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
define oops with class and object
Get me a number puzzle game-program
how many types of notations are in java
1 Answers National University of Modern Languages (NUML),