answersLogoWhite

0


Best Answer

An opening brace must be terminated with a closing brace in C++. Braces are used to enclose code blocks and initialiser lists.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What must an opening brace in a C plus plus program be?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the only function all C plus plus programs must contain?

Every C plus plus program that is a main program must have the function 'main'.


What function must be in all c plus plus programs?

Every C++ program must have a main() function that returns an integer:int main(){// user-code goes here....// Main must return an integer to the calling program.// A non-zero value usually indicates an error occurred but// the exact meaning of the return value is user-defined.return( 0 );}


Is there an answer book for the A plus program?

The A Plus Program is an initiative, not a test. So no, there is no answer book.


What c plus plus program must be saved in a text with the extension cpp?

The .cpp extension is merely conventional; it is not required by the C++ standard. You can actually use any file extension you wish.


A program c plus plus on automorphic numbers or not?

how to write a program that counts automorphic number from 1 to 999

Related questions

What is the only function all C plus plus programs must contain?

Every C plus plus program that is a main program must have the function 'main'.


How to restart c plus plus program?

Exit the program and relaunch it.


How do you write a programm in c plus plus without using function main?

I don't think its possible. Every C++ program must at least have the main function.


What function must be in all c plus plus programs?

Every C++ program must have a main() function that returns an integer:int main(){// user-code goes here....// Main must return an integer to the calling program.// A non-zero value usually indicates an error occurred but// the exact meaning of the return value is user-defined.return( 0 );}


Is there an answer book for the A plus program?

The A Plus Program is an initiative, not a test. So no, there is no answer book.


Can you program games with c plus plus?

Yes, you can program games with C++.


Who manages the system resources in C plus plus?

Resources are the responsibility of the operating system (OS). The programmer can request resources from the OS, but must release them to the system as soon as they are no longer required. As such, the programmer must manage the resources required by the program.


Opening Batsman plus England plus 1966-1977?

Dennis Amiss


What c plus plus program must be saved in a text with the extension cpp?

The .cpp extension is merely conventional; it is not required by the C++ standard. You can actually use any file extension you wish.


What translates a C plus plus program into a machine language?

The C++ pre-compiler, compiler and linker. Each program must be run in sequence, one after the other, to produce the final machine code. Most IDEs include a build command that can automate the entire process.


Why does sometimes when you run a program it will execute the previous program instead the current open program in C plus plus?

Because you aren't careful enough.


Does Adobe Flash use c plus plus scripting?

No, it does not. While the program itself was written in C++, Flash does not support C++. Any code inside your Flash project must be written in Actionscript.