Home | History | Annotate | Download | only in src
      1 #!/usr/bin/env python
      2 # Copyright (c) 2011 Google Inc. All rights reserved.
      3 # Use of this source code is governed by a BSD-style license that can be
      4 # found in the LICENSE file.
      5 
      6 import sys
      7 
      8 f = open(sys.argv[1] + ".cc", "w")
      9 f.write("""\
     10 #include <stdio.h>
     11 
     12 int main() {
     13   puts("Hello %s");
     14   return 0;
     15 }
     16 """ % sys.argv[1])
     17 f.close()
     18