Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. string printDocType()
  7. {
  8. string result;
  9. // Hier fehlt etwas...
  10. return result;
  11. }
  12.  
  13. string printTag(string tag_name, string content)
  14. {
  15. string result;
  16.  
  17. // Hier fehlt etwas...
  18.  
  19. return result;
  20. }
  21.  
  22. /** Dies ist der Einstiegspunkt des Programms. Hier soll nichts ver‰ndert werden! */
  23. int main(int argc, char* argv[])
  24. {
  25. cout << printDocType();
  26. cout << printTag("html",
  27. printTag("head",
  28. printTag("title", "Titel"))+
  29. printTag("body", "")) << "\n";
  30. return 0;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement