What is the best way to take screenshots of a window with c++ in windows?
No Answer is Posted For this Question
Be the First to Post Answer
Write about the various sections of the executable image?
What are the basics of classifying different storage types, why?
2 Answers Astergate, Symphony,
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?
What is object slicing and how can we prevent it?
What is the difference between the parameter to a template and the parameter to a function?
what are Access specifiers in C++ class? What are the types?
Why c++ is so important?
How do you initialize a string in c++?
What does new in c++ do?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
What do you mean by funtion prototype?
class Alpha { public: char data[10000]; Alpha(); ~Alpha(); }; class Beta { public: Beta() { n = 0; } void FillData(Alpha a); private: int n; }; How do you make the above sample code more efficient? a) If possible, make the constructor for Beta private to reduce the overhead of public constructors. b) Change the return type in FillData to int to negate the implicit return conversion from "int" to "void". c) Make the destructor for Alpha virtual. d) Make the constructor for Alpha virtual. e) Pass a const reference to Alpha in FillData