Git Product home page Git Product logo

c-learn's Introduction

从基础语言到高级语言

从 10101011 这种机器才能识别的语言,极其容易出错, 到c语言基础语言 , 连内存释放都要自己手动操作, 到list这种世界最聪明的语言,有浓厚的数学氛围. 他是第一个能把面向对象来用,能把函数作为参数进行传递,这是函数式编程基础,这语言出现于1965年,数学家发明的...至今无法超越,

list9大特性,

  • 第一个引入闭包概念,第一个利用 if else end 代码块替代了goto语法,从内存中某个地址调到另一个地址,
  • 递归,
  • 动态数据类型,
  • 垃圾回收机制,
  • 程序由表达式组成,
  • 符号类型,同一个变量如果指针指向一致,那么他们全等,
  • 代码使用符号和常量组成树形表示法

然后有了java,其实个人不喜欢这种繁琐的语言,他是静态语言,他是由sum公司带来了大量的用户. python - 最受外国人欢迎的语言 ruby - 1993年由日本人,松本宏行发明的, 我正在看松本宏行的程序世界这本书. JavaScript - 有一个外国人10天就发明了, 至今发布到es9,仍在打补丁,有了服务器端脚本语言nodejs php - 服务器脚本语言

从上到下,可以看出,计算机语言越来越人性化了,这真是构建了一道人和机器沟通桥梁 那么java这种反人类代码一定会被淘汰吧..毕竟我都不会,一行java都没写过.

回归学习C语言

C的标识符

c里面不允许出现标识符 % & $

c中的保留字

keep word descript
auto auto declare variable
break jump out loop
case branch of key word
char decarible variable or function return type
const decarible variable which only read
continue to jump to next loop
default the last branch of switch
do the loop statement main body
double to declare an double float point variable
else the IF-else statment branch
enum to declare enumerate type
extern declare variable or function in file or files's place
float declare an single float variable or function return value
for the loop statement
goto jump word without conditions
if if-elseif-else statement
int to declare an integer variable
long to declare an longer integer variable or function return value
register to declare an store variable
short to declare an short integer value
signed to declare an variable with symbol , or declare an function return value
sizeof to calculator the size && type of value
static declare an static variable
switch declare a switch statement
typedef give data another name
unsigned declare variable without symbol or function
union declare union variable
void declare function which has no value to return or has no arguments, or declare no-type point
volatile it is said that variable which can be change while running

c-learn's People

Contributors

plh97 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.