????д???C?????????
???????????? ???????[ 2014/9/29 10:20:07 ] ????????C++ ??????
??????????????????????????????????????????????????????????????????????????
# Here's the file we want to compile.
$ cat return_two.c
#include <stdio.h>
int main() {
return 2;
}
# Run the compiler with this file.
$ ./babyc return_two.c
Written out.s.
# Check the output looks sensible.
$ cat out.s
.text
.global _start
_start:
movl $2?? %ebx
movl $1?? %eax
int $0x80
??????????????????????????????????±?????????????????????????????????
# Assemble the file. We explicitly assemble as 32-bit
# to avoid confusion on x86_64 machines.
$ as out.s -o out.o --32
# Link the file?? again specifying 32-bit.
$ ld -m elf_i386 -s -o out out.o
# Run it!
$ ./out
# What was the return code?
$ echo $?
2 # Woohoo!
??????????????????????????????????????????????????????????????????飬???????????????????????????????д????????????????????????????????????????????1????????????????????磬return 3; ?Щ????д???????2??????“??”?????????磬return ??1; ?Щ????д?????????????????????????????C?????????????????????????????е?????????????????д???????????????????
??????????? babyc ???????Babyc ????????????if???????????????????????????????????check out???????????????????????????????????????д?????
??????????μ????Щ???顣??????????????????硣
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
??C++????????????C++ lvalue??rvalueC++11????????C++???????????????C++?е?????????????????C++?????????C++???Windows????λ??C/C++???????????????????JAVA??C??C++??????????c++??python???????????????????????????????C++???????C++?е????????C++????????????????C++ ???????????????C++?????????????????????C++????????????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????