1 |
|
/* ============================================================================ |
2 |
|
* Douglas Thrift's Search Engine License |
3 |
|
* |
4 |
< |
* Copyright (C) 2002-2004, Douglas Thrift. All Rights Reserved. |
4 |
> |
* Copyright (C) 2002-2004, 2008, Douglas Thrift. All Rights Reserved. |
5 |
|
* Redistribution and use in source and binary forms, with or without |
6 |
|
* modification, are permitted provided that the following conditions are met: |
7 |
|
* |
69 |
|
#endif |
70 |
|
|
71 |
|
string program, programName("Douglas Thrift's Search Engine"), |
72 |
< |
programVersion("1.3svn"); |
72 |
> |
programVersion("1.3"); |
73 |
|
bool debug(false); |
74 |
|
|
75 |
|
int main(int argc, char* argv[]) |
264 |
|
else |
265 |
|
{ |
266 |
|
string line; |
267 |
< |
|
267 |
> |
|
268 |
|
getline(cin, line); |
269 |
|
|
270 |
|
query = line; |
322 |
|
} |
323 |
|
else if (major == 5 && minor == 2 && os == "Windows NT") |
324 |
|
{ |
325 |
< |
platform << " [Windows .NET Server]"; |
325 |
> |
platform << " [Windows Server 2003 or Windows XP x64]"; |
326 |
> |
} |
327 |
> |
else if (major == 6 && minor == 0 && os == "Windows NT") |
328 |
> |
{ |
329 |
> |
platform << " [Windows Vista or Windows Server 2008]"; |
330 |
|
} |
331 |
|
|
332 |
|
platform << ' '; |
427 |
|
void version() |
428 |
|
{ |
429 |
|
cout << programName << " " << programVersion << " "<< platform() << "\n\n" |
430 |
< |
<< " Copyright (C) 2002-2004, Douglas Thrift. All Rights Reserved.\n" |
430 |
> |
<< " Copyright (C) 2002-2004, 2008, Douglas Thrift. All Rights Reserved.\n" |
431 |
|
<< "\n" |
432 |
|
<< " This product includes software developed by Douglas Thrift\n" |
433 |
|
<< " (http://computers.douglasthrift.net/searchengine/).\n"; |
441 |
|
{ |
442 |
|
cout << "License:\n" |
443 |
|
<< " Douglas Thrift's Search Engine License\n\n" |
444 |
< |
<< " Copyright (C) 2002-2004, Douglas Thrift. All Rights Reserved.\n" |
444 |
> |
<< " Copyright (C) 2002-2004, 2008, Douglas Thrift. All Rights Reserved.\n" |
445 |
|
<< "\n" |
446 |
|
<< " Redistribution and use in source and binary forms, with or with" |
447 |
|
<< "out\n" |