常数的k前缀来自哪里? [英] Where does the k prefix for constants come from?

查看:124
本文介绍了常数的k前缀来自哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

常量以k为前缀(例如k_pi)是一种很常见的做法.但是k是什么意思?

it's a pretty common practice that constants are prefixed with k (e.g. k_pi). But what does the k mean?

c是否已经意味着char吗?

推荐答案

我还没有看到太多,但也许它来自某些语言(尤其是日耳曼语)的 constant - konstant .

I haven't seen it that much, but maybe it comes from certain languages' (the germanic ones in particular) spelling of the word constant - konstant.

这篇关于常数的k前缀来自哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆