>how do I know the C++ can write this particular programme I have in mind...
I can translate this two ways, so I'll answer them both:
Q: "How do I know that the program I have in mind can be written in C++?"
A: Damn near anything can be written in C++. It's very powerful, and has a broad range of application. The things that aren't possible in C++ are so low level and basic (parts of a bootloader, for example) that you have no other choice but to resort to assembly language.
Q: "How do I learn the parts of C++ necessary to write the program I have in mind?"
A: Get a good tutorial book, a good reference book, and practice. You won't know what to use until you know what's available.