Hey people, I need some help, I got a new book, and it tells right off the bat to do this to write out all the ASCII characters:

PHP Code:
#include <iostream>

main <void>
{
    
unsigned char ASCIIValue 0;

    while (
ASCIIValue 256)
    
        
std::cout.put (ASCIIValue);
        
ASCIIValue ++;
    

    return 
0;

Ok so why the hell dose it not work, this book is using VC++, and im using the same complier, so could osme one plz tell me ***?

Gives errors do to ";" not being behind < or something.