Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Commodore64 "grandmaster"

Author: Andrew Williams

Date: 05:50:05 05/27/02

Go up one level in this thread


On May 26, 2002 at 17:34:35, Jason Williamson wrote:

>Here: I decided to port your program to C++:
>
>#include <iostream>
>
>using namespace std;
>
>int main() {
>
>  while(1){
>      cout << "Fernando";
>  return 0;
>}
>

Actually:

#include <iostream>

using namespace std;

int main() {

  while(1){
      cout << "Fernando" << endl;
  }
  return 0;
}


I've spent this morning assessing C++ programs. Now I can't stop...


Andrew



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.