Attention: your browser is obsolete and may be incompatible with this website. Please consider upgrading for a better experience.
17,
17, from China
Expert
27,
27, from China
Veteran
教大家学C语言!
最近没事干在学
先给大家教一下字符串
C 编译器会在初始化数组时,自动把 \0 放在字符串的末尾。
#include
int main ()
{
char site[7] = {'A', 'B', 'C', 'D', 'E', 'F', '\0'};
printf("字母: %s\n", site );
return 0;
}
这里会合并“字母”和A、B、C、D、E、F
输出结果如下:
字母: ABCDEF
你学会了吗?赶紧去Visual Studio中练练吧![doge]
代码学习一般不都是从“Hello World”开始(:手动狗头
18,
18, from China
Veteran
18,
18, from China
Veteran
16,
16, from China
Veteran
hello world 哈哈哈哈哈哈哈哈哈哈嗝
使用python实现
print("Hello World")
就像我刚刚学python
18,
18, from China
Veteran
14,
14, from China
Expert
Python是抄袭C++的!!!!!!!!
使用C++实现打印Hello World
printf("Hello World");
17,
17, from United States
Expert
16,
16, from China
Veteran
Python是抄袭C++的!!!!!!!!
使用C++实现打印Hello World
printf("Hello World");
使用 Microsoft Visual Basic
实现
Hello World
Module Module1
Sub Main()
Console.WriteLine("Hello World")
Console.ReadKey()
End Sub
End Module
所以说VB很简单啊
Edited by MMmiaolege .
18,
18, from China
Veteran
16,
16, from China
Veteran
蛤,VB
说起来自己小学的时候用过office里的VBA瞎整(
也算是接触的第一个也是唯一一个编程语言了吧哈哈哈哈哈哈哈哈哈
哈哈哈哈哈哈哈
Microsoft
Visual basic 确实是很简单呢
和
易语言差不多
18,
18, from China
Veteran
17,
17, from United States
Expert
这方面我就是个傻逼X(
这方面我就是个傻逼X(
米兔
16,
16, from China
Veteran
这方面我就是个傻逼X(
米兔
F A S T B O O T
卡兔子吧你
↑点击查看图片
18,
18, from China
Veteran
17,
17, from United States
Expert
无聊死了没人聊天
真的!上完一天课就想聊天其它啥也不想干
19,
19, from China
Veteran
19,
19, from China
Veteran
真的,我吐死,作业写到疯,太阳真的是没话说,真希望我们这的太阳能把河北的洪水晒干
我今天上了11个小时的课上疯了已经
14小时,要死了