Creating a Class in C++ 2005: Debug Report Error Analysis

  • Context: C/C++ 
  • Thread starter Thread starter splac6996
  • Start date Start date
  • Tags Tags
    Class
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
splac6996
Messages
37
Reaction score
0
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::ostream, 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?
 
Physics news on Phys.org
GCC is cool. Do you use linux at school?

Check

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.
 
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.)