Advertisement
Guest User

Untitled

a guest
Apr 20th, 2013
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. [VladD@Kenga] [10:15:53] [~/c++]
  2. {0,513}$> gcc --version
  3. gcc (GCC) 4.5.3
  4. Copyright (C) 2010 Free Software Foundation, Inc.
  5. This is free software; see the source for copying conditions. There is NO
  6. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  7.  
  8.  
  9. [VladD@Kenga] [10:16:07] [~/c++]
  10. {0,514}$> cat underscore.c
  11. main(a)
  12. {
  13. printf("%d",a);
  14. }
  15.  
  16.  
  17. [VladD@Kenga] [10:16:14] [~/c++]
  18. {0,515}$> gcc -o underscore underscore.c
  19. underscore.c: In function 'main':
  20. underscore.c:3:5: warning: incompatible implicit declaration of built-in function 'printf'
  21.  
  22. [VladD@Kenga] [10:16:21] [~/c++]
  23. {0,516}$> ./underscore
  24. 1
  25. [VladD@Kenga] [10:16:29] [~/c++]
  26. {0,517}$> ./underscore arg1 arg2 arg3
  27. 4
  28. [VladD@Kenga] [10:16:33] [~/c++]
  29. {0,518}$>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement