Programming in linux-general Linux technology-Linux programming and kernel information. The following is a detailed description. I completed Writing C ++ programs in linux today. In fact, it was done last night.
After reading a lot of information, I thought of C ++. I haven't written any programs for a long time. today, my hands are a little itchy, so I checked the basic method of writing programs in linux.
I used GEDIT as the editor and compiled it with gcc. the effect is acceptable, but the problem is still encountered at the beginning of compilation and the cause has not been found. Later I read the introduction of gcc to know g ++-Wall filename. cpp-o filename is used to compile c ++. sad. gcc is used all the time. Can it be good?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service