Untitled

By Scribby Lechwe, 6 Years ago (2013-02-06 21:57:07), written in C++, viewed 477 times.
URL https://paste.godclan.hu/view/tZc75Cbk Embed
Download Paste or View RawExpand paste to full width of browser
  1. /*
  2.  * thing.h
  3.  *
  4.  * Thing declaration.
  5.  */
  6.  
  7. #ifndef THING_H
  8. #define THING_H
  9.  
  10. template <typename T>
  11. void thing(T t);
  12.  
  13. #endif
  14.  
  15. /*
  16.  * thing.cpp
  17.  *
  18.  * Thing definition.
  19.  */
  20.  
  21. #include "thing.h"
  22.  
  23. template <typename T>
  24. void thing(T t)
  25. {
  26.     return 0;
  27. }
  28.  
  29. /*
  30.  *
  31.  * main.cpp
  32.  *
  33. */
  34.  
  35. #include "thing.h"
  36.  
  37. int main()
  38. {
  39.     thing(0);
  40.     return 0;
  41. }

Replies to Untitled rss

Title Name When
Re: Untitled Colorant Baboon 6 Years ago.

Reply to "Untitled"

Here you can reply to the paste above