Merge branch 'main' of https://bdgit.educoder.net/p9zok7cfl/domitory
commit
50af88f994
@ -0,0 +1,11 @@
|
|||||||
|
#include<iostream>
|
||||||
|
using namespace std;
|
||||||
|
int main(){
|
||||||
|
char ch='a';//创建字符变量,要用单引号
|
||||||
|
cout<<ch<<endl;
|
||||||
|
cout<<"所占内存空间:"<<sizeof(char)<<endl;
|
||||||
|
cout<<int(ch)<<endl;
|
||||||
|
system("pause");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
public class HellowWorld{
|
||||||
|
public static void main(String[] args){
|
||||||
|
System.out.println("Hellow World");
|
||||||
|
}
|
||||||
|
}
|
@ -1 +0,0 @@
|
|||||||
111
|
|
Loading…
Reference in new issue