You are not logged in. Please login at to post your questions!


compilation error in lead game

Here's the code: the error is:error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded="" function="" type="">')

asked 06 Feb '15, 20:04

baher96's gravatar image

accept rate: 0%

The variable max has been defined inside your for loop. Initialize it before your for loop and your code should be able to run.

Also please put your program language as a tag when you ask questions.


answered 08 Feb '15, 14:26

arun_as's gravatar image

accept rate: 10%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 06 Feb '15, 20:04

question was seen: 571 times

last updated: 08 Feb '15, 14:26