I m depressed, I ve been reading the book for a week, I ve read VC 6, can t I make up helloworld?

Updated on healthy 2024-06-14
15 answers
  1. Anonymous users2024-02-11

    The program you wrote is itself wrong, so it's not that you can't make it, it's that you make it wrong.

  2. Anonymous users2024-02-10

    If you have created an incorrect working interval and have made up an incorrect **, it is recommended that you find a practical training guide. First "copy", then "imitate", and finally innovate.

  3. Anonymous users2024-02-09

    include because you want to call system("pause");So add this.

    #include

    using namespace std;

    int main()

    int a = 0;

    cout<<"s"return 0;

    Also、Your file type is。 This is wrong, it should be. CPP is right、Pay attention when you create a new file、

  4. Anonymous users2024-02-08

    #include

    using namespace std;

    int main()

    cout<<"s"Hehe, it's been compiled, your problem is that you haven't figured out the concept.

  5. Anonymous users2024-02-07

    Why can't it, just write it on the cpp.

  6. Anonymous users2024-02-06

    Create a win32 console project, and select an empty project in the next step.

    Select C++ Resource File (CPP) to create a new fileto the project you just had.

    In cpp, type:

    #include

    using namespace std;

    int main()

    Just run it.

  7. Anonymous users2024-02-05

    dev-c++:

    #include

    using namespace std;

    int main()

    Just debug and run.

    Just press f9 and you're good to go!

  8. Anonymous users2024-02-04

    It should be written wrong in main.,Check if it's written as mian, a very complicated program?,Send it up and see.

    Then it could be a problem with installing the software... Or the engineering, the file is not set up correctly?

    I changed the running program main to mian, and the error you said will appear when compiling, but it won't run. You can package the project files and contact me directly.

  9. Anonymous users2024-02-03

    You press the green triangle execution button, this is debugging and running, and the crash is normal, because there is no waiting and pausing statement in the program.

    Press Ctrl+F5 to execute the program, and you can see the execution result.

  10. Anonymous users2024-02-02

    Your ** has been successfully compiled, there are no errors, when it runs, because the normal operation is completed, so the window is automatically closed, and it can't be called flashback. Because your program isn't letting the user type or waiting for the user to type.

    1: You can run with non-debugging, or use CTRL+F5. or a non-debugging run in the menu.

    2: You can add a statement that reads user input, such as read, get, etc., waiting for user input.

    It is recommended to run directly with non-debugging. This does not affect the logic.

  11. Anonymous users2024-02-01

    There is no best, only better, hehe!

    If it's an entry, it's a general domestic book to lay the foundation.

    If you go deeper, just take a look at "In Plain Terms" Hou Jie's, "Windows Core Programming", "MFC Windows Programming", etc., the latter two are foreign, I don't remember the author's name, you have to find it yourself, if you really want to study in depth, it's best to buy these books. Hope it helps.

  12. Anonymous users2024-01-31

    Windows Programming (2nd Edition) Yanping Wang.

    This book is very good, the introduction is easy to understand, and its e-book and source ** are easy to find online, of course, it is best to buy this book.

  13. Anonymous users2024-01-30

    Pulse VC++ is pretty good, don't believe you to check it, and the aftermath is also very good.

  14. Anonymous users2024-01-29

    Bad link? It should be that the program you ran before was not closed.

  15. Anonymous users2024-01-28

    Is it because the running exe is not closing?

    Because you didn't close it, there was an error when recompiling the generated exe file.

Related questions
5 answers2024-06-14

Wind-heat cough. Symptoms: unpleasant cough or heavy cough voice, sputum spitted out is viscous, yellow in color, a small amount of blood, not easy to cough up, thirst, sore throat, nasal runny nose; or accompanied by fever, headache, fear of wind, and slight sweating; The tongue is red in color and has a thin yellow coating. >>>More

7 answers2024-06-14

If the thorn is not deep enough, it may fade after recovery. The so-called depth of the puncture is not enough, the pigment only pierces the epidermis, and the color is very good beforehand, but the epidermis of the human body is constantly updated and scattered, this renewal cycle is about more than 50 days, the younger the age, the shorter the renewal cycle, assuming that the color only pierces the epidermis, when the ** update, the color will also fall with the epidermis. >>>More

14 answers2024-06-14

Think of each end as a new beginning. When I was 20 years old, I couldn't think about why I loved that person at that time, why I left selfishly. Unacceptable. >>>More

9 answers2024-06-14

Here are a few easy-to-learn and convenient recipes that may help you: 1 When you have a toothache, you can cut a small piece of ginger and bite it into the sore area, and you can reuse it when necessary, and it doesn't hurt to put it in your mouth when you sleep. 2 Spot honey on the toothache and it will be fine in a few minutes, and it will make your mouth full of flavor. >>>More

11 answers2024-06-14

If you have less than three bowel movements a week, it is likely to be constipation, and there are many factors that lead to constipation, such as unhealthy diet, little water in daily life, sitting for a long time, etc. <> >>>More