How do you save a c++ program?



How do you save a c++ program?..

Answer / Savinay Kumar

Save your C++ file with a .cpp extension in a text editor. Make sure to save it in the directory where your system's C++ compiler can find it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Explain about vectors in c ++?

1 Answers  


What is #include cmath?

1 Answers  


Comment on c++ standard exceptions?

1 Answers  


List the advantages of inheritance.

1 Answers  


Should I learn c or c++ first?

1 Answers  


Is eclipse good for c++?

1 Answers  


What is the average salary of a c++ programmer?

1 Answers  


How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?

1 Answers  


What is command line arguments in C++? What are its uses? Where we have to use this?

1 Answers   HCL,


class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list

2 Answers   Quark,


Can we have "Virtual Constructors"?

10 Answers   TCS,


How important is c++?

1 Answers  


Categories