Error C2061: Identifier 'cout'

need to fix this error

  • (2 Pages)
  • +
  • 1
  • 2

21 Replies - 6184 Views - Last Post: 15 January 2009 - 06:05 AM Rate Topic: -----

#16 MorphiusFaydal   User is offline

  • D.I.C Lover
  • member icon

Reputation: 44
  • View blog
  • Posts: 1,376
  • Joined: 12-May 05

Re: Error C2061: Identifier 'cout'

Posted 14 January 2009 - 02:12 PM

You should be able to set Visual Studio to compile for x86 rather than amd64.
Was This Post Helpful? 0
  • +
  • -

#17 ArmageddonAsh   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 14-January 09

Re: Error C2061: Identifier 'cout'

Posted 14 January 2009 - 02:59 PM

how do i do that?
Was This Post Helpful? 0
  • +
  • -

#18 MorphiusFaydal   User is offline

  • D.I.C Lover
  • member icon

Reputation: 44
  • View blog
  • Posts: 1,376
  • Joined: 12-May 05

Re: Error C2061: Identifier 'cout'

Posted 14 January 2009 - 04:30 PM

http://msdn.microsof...y/ms185328.aspx

Read that.

EDIT: Quick addition: That took a lot more Googleing to find that I expected. o.O

This post has been edited by MorphiusFaydal: 14 January 2009 - 04:31 PM

Was This Post Helpful? 0
  • +
  • -

#19 ArmageddonAsh   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 14-January 09

Re: Error C2061: Identifier 'cout'

Posted 14 January 2009 - 04:36 PM

i tied that and it didnt work. i made the 64bit option but it said that it had been deprecated and removed.

what am i doing wrong?
Was This Post Helpful? 0
  • +
  • -

#20 ArmageddonAsh   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 14-January 09

Re: Error C2061: Identifier 'cout'

Posted 15 January 2009 - 04:54 AM

right i think i fixed one error but now im getting a new error:

blackjack.exe not found or not built by the last incremental link; perfromaing full link

it happened, when i moved "Char PlayAgain" to the top but before it would run and give me some error that PlayAgain wasnt activated or something

all i did was move "{" onto the same line as the While part
Was This Post Helpful? 0
  • +
  • -

#21 ArmageddonAsh   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 14-January 09

Re: Error C2061: Identifier 'cout'

Posted 15 January 2009 - 05:30 AM

i sitll get the thing about the .exe not being found but i have fixed the rest of it!!!! and it works, not sure what the .exe thing is though one minute the program will work the next it work and suggests that i reinstall something

i couldnt believe the moment i looked at it everything became clear, even though i had made PlayAgain char i didnt use anything for the user to enter if they would like to play again :) once that was sorted it worked fine :)

thanx for all the help

This post has been edited by ArmageddonAsh: 15 January 2009 - 05:31 AM

Was This Post Helpful? 0
  • +
  • -

#22 MorphiusFaydal   User is offline

  • D.I.C Lover
  • member icon

Reputation: 44
  • View blog
  • Posts: 1,376
  • Joined: 12-May 05

Re: Error C2061: Identifier 'cout'

Posted 15 January 2009 - 06:05 AM

http://bytes.com/top...nk-error-vs2005
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2