程序员的新年祝福 Happy New Year

(编辑:jimmy 日期: 2024/12/22 浏览:2)

愿你新年快乐,许下新年的新愿望,努力实现!

C:printf("Happy New Year");
C++ : cout<<"Happy New Year";
Objectivec: NSLog(@"Happy New Year!");
QBasic : Print "Happy New Year"
Asp : Response.Write "Happy New Year"
PHP : echo "Happy New Year";
Ruby: puts "Happy New Year!"
JavaScript: alert("Happy New Year")
VBScript:MsgBox "Happy New Year"
JavaScript: document.write("Happy New Year")
JavaScript: console.log(' Happy New Year');
xml <TextView android:text="Happy New Year! " /> 
Delphi: ShowMessage('Happy New Year!');
VB: Msg("Happy New Year!")
VC: MessageBox("Happy New Year!");
shell: echo Happy New Year
perl: print 'Happy New Year'
java: System.out.println("Happy New Year");
LISP:(format t "Happy New Year!~%")
powerBuilder:messagebox("Happy New Year")
C#:System.Console.WriteLine("Happy New Year!")
COBOL:DISPLAY 'Happy New Year!'
Python:print("Happy New Year!")
aswing:JOptionPane.showMessageDialog("happy","Happy New Year!")
Android:Toast.makeText(getApplicationContext(), "Happy New Year",Toast.LENGTH_SHORT).show()
flex:Alert.show("Happy New Year!");
Clojure: (println "Happy New Year") 
verilog/systemverilog/e $display("Happy New Year") 
as:trace("Happy New Year!");

nasm:
org07c00h
movax,cs
movds,ax
mov es,ax
call DispStr
jmp$
DispStr:
mov ax,BootMessage
movbp,ax
movcx,16
movax,01301h
movbx,000ch
movdl,0
int10h
ret
BootMessage:db"Happy New Year!"
times510-($-$$)db0
dw0xaa55

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持。

一句话新闻

Windows上运行安卓你用过了吗
在去年的5月23日,借助Intel Bridge Technology以及Intel Celadon两项技术的驱动,Intel为PC用户带来了Android On Windows(AOW)平台,并携手国内软件公司腾讯共同推出了腾讯应用宝电脑版,将Windows与安卓两大生态进行了融合,PC的使用体验随即被带入到了一个全新的阶段。