Untitled

From Scribby Lechwe, 11 Years ago, written in C++, viewed 851 times. This paste will buy the farm in 1 Second.
URL https://paste.godclan.hu/view/tZc75Cbk Embed
Download Paste or View Raw
  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 Language When
Re: Untitled Colorant Baboon cpp 11 Years ago.

Reply to "Untitled"

Here you can reply to the paste above