自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

了解➔熟悉➔掌握➔精通

为之,则难者亦易矣;不为,则易者亦难矣。

  • 博客(6)
  • 收藏
  • 关注

原创 C - ItoA: Convert a number to a character string (the inverse of AtoI)

分享一个大牛的人工智能教程。零基础!通俗易懂!风趣幽默!希望你也加入到人工智能的队伍中来!请点击http://www.captainbed.net/* * itoa: convert a number to a character string (the inverse of atoi). * * ItoA.c - by FreeMan */void itoa(int n, char s[]){ int i, sign; if ((sign = n) < 0) /* recor

2021-02-24 15:17:26 208 1

原创 C - AtoI: Convert a string of digits into its numeric equivalent

分享一个大牛的人工智能教程。零基础!通俗易懂!风趣幽默!希望你也加入到人工智能的队伍中来!请点击http://www.captainbed.net/* * atoi: convert a string of digits into its numeric equivalent. * * AtoI.c - by FreeMan */int atoi(char s[]){ int i, n; n = 0; for (i = 0; s[i] >= '0' && s[

2021-02-24 14:45:55 338

原创 C - Shell Sort (one of the simplest)

分享一个大牛的人工智能教程。零基础!通俗易懂!风趣幽默!希望你也加入到人工智能的队伍中来!请点击http://www.captainbed.net/* * Shell Sort: sort v[0]...v[n-1] into increasing order * * The basic idea of this sorting algorithm, is that in early stages, far-apart * elements are compared, rather than

2021-02-24 14:12:35 206

原创 C-Escape(s,t): Convert characters into visible escape sequences as it copies the string t to s

分享一个大牛的人工智能教程。零基础!通俗易懂!风趣幽默!希望你也加入到人工智能的队伍中来!请点击http://www.captainbed.net/* * Write a function escape(s,t) that converts characters like newline and tab into * visible escape sequences like \n and \t as it copies the string t to s. * Write a function

2021-02-23 16:31:00 335

原创 C - Squeeze(s1,s2): Delete each character in s1 that matches any character in string s2

分享一个大牛的人工智能教程。零基础!通俗易懂!风趣幽默!希望你也加入到人工智能的队伍中来!请点击http://www.captainbed.net/* * Write a function squeeze(s1,s2) that deletes each character in s1 * that matches any character in string s2. * * Squeeze.c - by FreeMan */#include <stdio.h>void

2021-02-02 18:33:30 325 1

原创 C - HtoI: Convert a string of hexadecimal digits into its equivalent integer value

分享一个大牛的人工智能教程。零基础!通俗易懂!风趣幽默!希望你也加入到人工智能的队伍中来!请点击http://www.captainbed.net/* * Write a function htoi(s), which converts a string of hexadecimal digits * (including an optional 0x or 0X) into its equivalent integer value. * The allowable digits are 0 t

2021-02-02 16:58:07 399

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除