盘点各种语言打印方法
python
print('六一来了')#python
cmd
echo off
echo 六一来了
%cmd%
c++
char*str = "六一来了"
cout <<str <<endl;
//c++
java
public class StiringPrin{
public ststic void main (String [] args)}
string str = "六一来了";
System.out.print(str);
System.out.print("secon print statement");
}
}
/*java*/
php
<?php
echo($arg)
$arg = '六一快乐'
?>
//php