word__test.cpp 357 B

123456789101112131415161718192021222324252627282930
  1. # include "lib.h"
  2. /* INCLUDE
  3. * Word and tools */
  4. /* */
  5. # include <stdio.h>
  6. /* INCLUDE
  7. * printf */
  8. /* */
  9. int
  10. main (void)
  11. {
  12. Word _word;
  13. Word word (_word);
  14. word.print ();
  15. /* try do error */
  16. // word__delete (_word);
  17. }
  18. /* include the implementation of all functions */
  19. # include "lib.c"
  20. /* INCLUDE
  21. * Word and tools
  22. * Words and tools */