More user friendly than what? Please restate the question.
C++.
C is not an object-oriented programming language and therefore has no objects as such. However, the term is often used in a more general sense to mean any instance of an user-defined or primitive variable/constant. In C++, the term is used specifically to mean any instance of a class.
Absolutely. Indeed, any function (user-defined or built-in) that does not return a value is not really a function, it is simply a procedure.
To prompt a user in C++ you use cout to output the prompt to the console (e.g., the screen). You then use cin to extract the input from the user. So to get user input without a prompt, simply do not output a prompt before accepting input. However, accepting user input without a prompt would be decidedly un-user-friendly, unless you can guarantee the input does not come from the keyboard. If you're not using the console and the program is actually running in an event-driven interface (such as Windows), then you need only trap the keyboard, mouse or other HID messages that are posted to your application via the application's message loop, and act accordingly.
The C standard library IO facilities are not extensible. For instance, the printf() and scanf() functions cannot handle user-defined types. However, the C++ standard library provides IO streams with insertion and extraction operators (<< and >>) that can be overloaded to support any user-defined type.
Use "typedef" : both in C and C++.
See the related links section, below, for a tutorial on how to write a console-based hangman. Once you understand the logic behind the game itself you can make it more interesting by adding your own graphics support along with a more user-friendly interface.
Use an SLR parser algorithm.
Data hiding is a property that only relevant information is exposed to the user and rest of the informations remains hidden from the user
Usually, but not always. For example the following is legal in C, but illegal in C++: char new [3] = "ABC";
C++.
The keyword "friend" allows a function or variable to have access to a protected member inside a class.
Mark D Goodwin has written: 'User interfaces in C and C[plus plus] for OS/2' -- subject(s): OS/2 (Computer file), C (Computer program language), Graphical user interfaces (Computer systems), C
C is not an object-oriented programming language and therefore has no objects as such. However, the term is often used in a more general sense to mean any instance of an user-defined or primitive variable/constant. In C++, the term is used specifically to mean any instance of a class.
Absolutely. Indeed, any function (user-defined or built-in) that does not return a value is not really a function, it is simply a procedure.
Your question is not clear. Please give the formula to calculate the value of x and the condition at which the line cuts the circle
To prompt a user in C++ you use cout to output the prompt to the console (e.g., the screen). You then use cin to extract the input from the user. So to get user input without a prompt, simply do not output a prompt before accepting input. However, accepting user input without a prompt would be decidedly un-user-friendly, unless you can guarantee the input does not come from the keyboard. If you're not using the console and the program is actually running in an event-driven interface (such as Windows), then you need only trap the keyboard, mouse or other HID messages that are posted to your application via the application's message loop, and act accordingly.