
Hiep L. answered 04/27/19
Current Computer Science Professor with 30+ yrs of IT experience
C++ syntax is nothing more than "grammar". Like English, you have to know the correct grammar to write a sentence that another English speaker would understand. In C++ case, syntax is grammar that you have to write so C++ system itself knows what you want to execute.The syntax you are putting together in a C++ program forms a logic flow that tells C++ what to do. An example that I told my students to think about is think of C++ like a car. It just knows to take you from point A to point B, but you have to drive it using the steering wheel (that's the program you are writing). Hope this helps.