I've read that the following is the fastest method for accepting integers, can someone please tell me a little about its delimiters.

beginner
c-plus-plus

#1

void fastscan(int &number)
{

//variable to indicate sign of input number 

bool negative = false; 

register int c; 



number = 0; 



// extract current character from buffer 

c = getchar(); 

if (c=='-') 

{ 

    // number is negative 

    negative = true; 



    // extract the next character from the buffer 

    c = getchar(); 

}