In what situations do you have to use initialization list rather than assignment in constructors?
1065Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.
1330Post New C++ General Questions
How to declaring variables in c++?
What is the difference between prefix and postfix versions of operator++()?
Can I make ios apps with c++?
What operators can you overload in c++?
Why cstdlib is used in c++?
Write about the access privileges in c++ and also mention about its default access level?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
What is the two main roles of operating system?
What is extern c++?
What is iostream in c++ used for?
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
Explain function overloading and operator overloading.
Can a program run without main function?
How does atoi function work?
What is abstraction in c++?