Menu

A couple of issues

BLitZiKeN
2007-10-11
2012-09-26
  • BLitZiKeN

    BLitZiKeN - 2007-10-11

    Hi, I have two questions about Dev-C++, pls can you answer me them?:

    • The first time I run the program the wizard suggested me to create a cache for the autocompletion, I couldn't do it in that time so I decided to do it later (as the wizard said that I could) but now I don't know how to do it exactly. I know that I have to go to the Editor's options but what do I do then?

    • Another issue is that I can't use iostream correctly, I declared the header by this way:

    include <iostream>

    and when I use cin and cout they appears to be undeclared. Then I use the <iostream.h> header and the compiler says to me that it's deprecated. Then I use the header's directive -Wno-deprecated, it works, but I feel that I going against the standard. How do I solve the problem avoiding using deprecated headers?

     
    • Anonymous

      Anonymous - 2007-10-11

      The entire standard library is in teh std:: namespace. http://www.cplusplus.com/doc/tutorial/namespaces.html

      Use 'using' directives with care, they circumvent namespace scoping, which is convenient but can cause name clash errors that are sometimes hard to fathom.

      Clifford

       
    • Osito

      Osito - 2007-10-11

      Do you have a statement like:

      using namespace std;

      in your code before using cin and cout? Otherwise you would need to do std::cin and std::cout.

       
    • Osito

      Osito - 2007-10-11

      The auto-completion stuff is under Tools-Editor Options, Class Browsing tab, Completion tab at the bottom. At least I think that's what you're talking about. I haven't used it personally.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.