Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Creating a class

  1. Oct 8, 2007 #1
    I am using C++ 2005 and trying to create a new class I believe I wrote my program correctly but when I gry to build I get an error back

    here is my debug report

    1> _Elem=char,
    1> _Traits=std::char_traits<char>
    1> ]
    1> while trying to match the argument list '(std::eek:stream, void)'
    1>Build log was saved at "file://c:\Documents and Settings\DEWAND JONES\My Documents\CSCI 1020\HOMEWORK5.2\HOMEWORK5.2\Debug\BuildLog.htm"
    1>HOMEWORK5.2 - 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    can some tell me what that error means?
  2. jcsd
  3. Oct 10, 2007 #2
    GCC is cool. Do you use linux at school?


    c:\Documents and Settings\DEWAND JONES\My Documents\CSCI 1020\HOMEWORK5.2\HOMEWORK5.2\Debug\BuildLog.htm

    It might have more usefull information about your error.
  4. Oct 10, 2007 #3


    User Avatar

    There's no such thing as "C++ 2005". You're using the program "Microsoft Visual C++ 2005", which is an IDE and compiler for the C++ programming language.

    Usually, people post their code but not their error message, in this case it's the opposite. Posting your code would help. (And the complete error message. You've missed out the very lines where it tell you what problem it have with the code.)
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook