Talk:Web server (C Plus Plus)

From LiteratePrograms
Jump to: navigation, search

[edit] Use of reserved identifier

I just noted that the first code snippet on this page starts with

#ifndef __HTTP_HPP__
#define __HTTP_HPP__

Now in C++, all identifiers containing two underscores are reserved for the C++ implementation (i.e. compiler + standard library) everywhere. Thus technically, your program isn't valid. While it's unlikely that any implementation uses this special identifier, it's not a good idea to use it without need anyway, especially at sites where others are expected to learn from the code. I'll change it to something legal.

hijacker
hijacker
hijacker
hijacker