This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; come usare il (format ) | |
;~ (setq *stmp-case* :capitalize) | |
(format t " Il mio nome e ~a ~% " "Jakob") | |
(format t " Numero con virgole ~:d ~% " 1000000) | |
(format t " PI con 5 personaggi ~5f ~% " 3.141593) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; stampa sullo schermo | |
(defvar *nome* (read)) | |
(defun videre-tu(*nome*) | |
(format t "Hello ~a! " *nome*) | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Polimorfismo.cxx | |
*/ | |
#include <iostream> | |
#include <new> | |
using std::string; | |
using std::cout; | |
using std::endl; |