markdown C Note.md

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown C Note.md相关的知识,希望对你有一定的参考价值。

- EOF value is 0

- C-d is the key binding for EOF

- Add a new line to the printf will disable the % at the end of your line.

- Vim replace :%s/pattern1/pattern2/g   The same as sed.

- ```c
  x = ~0;
  x>>1;
  /*x will be the (signed) max. Since 0 is 0000, ~0 is 1111 and after >>1 it will be 0111 which is the max value for signed. For unsigned, just x*2+1.*/
  y = -x-1
  /* y is the signed min. Cuz signed value start with 1. for 0000-1111, we have 16 choices. So positive and negative will have 8 choices for each but 0000 is for 0. Thus positive is only 7 while negative have one more chioce that is -8, whose abs value is 1 more than positive max*/
  ```

- strlen will return the shown length of the char array. (not including the end mark)

- 'x' and "x" are different. The first one will be stored as a number while the second one is a char array.

- const will  make a variable immutable. const array will make whole array immutable.

- include <string.h> before use the strlen() function.

- ```c
  include <ctype.h>
  tolower();
  isdigit();
  ```

- ```c
  /*ALWAYS INITIATE BEFORE USING*/
  ```

- ​


以上是关于markdown C Note.md的主要内容,如果未能解决你的问题,请参考以下文章

markdown elixir_note.md

markdown websocket-note.md

基于nodejs的一个实时markdown转html工具小程序

llvm教程

c#markdown转换为word

[Asp.Net Core]C#解析Markdown文档