I am mastering C ++. I wrote off the program from the problem book. When starting debugging on the line #iostream etc received the comment "there is no such preprocessor command".

  • Sorry, please, but judge for yourself how to help you? So I will write - I wrote some code and I have something not working there, help me :) Write a sample code so that you can be helped ... - Zowie

1 answer 1

You probably wanted to write

 #include <iostream> 
  • You know, I am very competent. I copied everything to the last punctuation mark. This is a question I asked in memory while the Internet was working (we have interruptions). In the process of printing, a poster about an outdated version of the language fell out to me several times. Although the problem book, from which I wrote, the publication of "Peter" 2010. Could this incident be due to the fact that the son (a fan of the latest versions) downloaded the latest version of visual Studio? and should i look for an old version of the program or a new version of the language itself? - Nathalie
  • four
    Then it would be nice to 1. give the text of the program, at least to the part that is in doubt; 2. give compiler error messages; 3. specify the version of the environment, compiler, etc. Otherwise, talk about nothing. - skegg
  • 2
    @Nathalie, that's not true: what textbooks do #iostream write such things in? Speak the name, we will complain to the editor. Somehow, very literate girls try, rewrite every last punctuation mark , and for what, one wonders? This act should not go unpunished. - isnullxbh