ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/Search/trunk/Search.cpp
(Generate patch)

Comparing:
trunk/Search/Search.cpp (file contents), Revision 365 by douglas, 2008-08-11T15:16:35-07:00 vs.
Search/trunk/Search.cpp (file contents), Revision 377 by douglas, 2008-08-24T00:40:38-07:00

# Line 1 | Line 1
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   *
# Line 69 | Line 69
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[])
# Line 264 | Line 264 | int main(int argc, char* argv[])
264          else
265          {
266                  string line;
267 <                
267 >
268                  getline(cin, line);
269  
270                  query = line;
# Line 322 | Line 322 | string platform()
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 << ' ';
# Line 423 | Line 427 | void usage()
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";
# Line 437 | Line 441 | void license()
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"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines