首页 > 编程语言 >学C++就象学功夫

学C++就象学功夫

时间:2023-10-17 11:22:38浏览次数:35  
标签:language 象学 mastery C++ years will 功夫 they

Q:
How can I completely master the C++ language?

A:
Learning C++ is a lot like learning kung fu. There is always someone who knows more kung fu. You can practice. You can improve. You can get so good that you give lessons to others, maybe write books. But somebody always knows more kung fu.

If you don’t already know another object oriented programming language, it takes about two full-time years of work to acquire a journeyman’s proficiency with C++. This is not mastery. It is proficiency. You will continue to improve for the next 8 full-time years of working in C++. This is expert knowledge, but it is not mastery.

To obtain mastery, you must make an effort to learn and use every feature in the language and the standard libraries. You must follow developments in the standard, since in 10 years, you will probably see three or four new standard versions. This is complete understanding, but it is not mastery.

When will you master C++? The answer is very Zen. When you have mastered C++, you will know it is true in your head, in your muscles, in your bones, with the assurance of reflexes honed by years of practice. No one can tell you. Some people know that they will never master C++. Some people, proud of their early learning or their fine college education, believe falsely that they have mastered C++ after six months, or two years, or ten. But when they achieve true mastery, they will realize they were mistaken before.

And there is always someone who knows more C++.

https://www.quora.com/How-can-I-completely-master-the-C-language?no_redirect=1

标签:language,象学,mastery,C++,years,will,功夫,they
From: https://www.cnblogs.com/uceec00/p/17769264.html

相关文章

  • Microsoft Visual Studio Code 安装配置教程 (C/C++)
    MicrosoftVisualStudioCode安装教程前言由于看不习惯Dev-C++等古老的IDE,所以决定装VSCode(可是现在感觉VS更好)所以我就把安装过程记录了下来。0x01下载下载0x02安装前面的不用讲了吧。。。毕竟全是中文的。。。0x03配置打开VSCode,你发现全是英文的。所以......
  • windows C++ 环境配置完整记录
    今日尝试在windows上配置C++编程环境,比Linux麻烦一些,但是搞清楚了也不复杂。大体上参考了vscode的官方教程,这里记录一下所有需要做的事情。基础流程安装vscode以及C/C++插件InstallingtheMinGW-w64toolchain主要利用了MSYS2,是一个在Windows平台上模拟Linux运......
  • leetcode274 H指数 —— 排序后遍历/差分 c++
    给你一个整数数组 citations ,其中 citations[i] 表示研究者的第 i 篇论文被引用的次数。计算并返回该研究者的 h 指数。根据维基百科上 h指数的定义:h 代表“高引用次数”,一名科研人员的 h 指数 是指他(她)至少发表了 h 篇论文,并且每篇论文 至少 被引用 h 次。......
  • 2——of C++ class relative
    C++类C++和java都是面向对象的语言,所以类的语法上看起来相似,但也有些区别,比如访问控制符的书写规范。除此之外,在访问控制权限,静态static等内容也有很大区别1.访问控制权限访问控制符//不加的默认私有classplayer{intx,y;intspeed;voidmove(inta,intb){......
  • C++11手写线程池1
    线程池结构  任务队列结构体 保存一个回调函数指针和一个,参数指针 实现任务队列 为了多个生产者多个消费者取东西混乱的避免要加互斥锁线程池threadpool类要实现的初始化一个线城池参数是最小数和最大数   malloc和new的区别new要调用该类的构......
  • C++接入redis
    项目地址https://github.com/sewenew/redis-plus-plushttps://github.com/redis/hiredis#1、编译安装hiredis项目wgethttps://github.com/redis/hiredis/archive/refs/tags/v1.2.0.tar.gzcdhiredis#编译安装make&&makePREFIX=安装到指定目录install#2、编译......
  • C++的简单语法
    ​C++库里面的一些基础函数以及迭代器的使用:迭代器:首先,可以将迭代器简单地从方向和限制简单地分为四类:1.正向   intmain(){ strings1="hello"; s1+=""; s1+="world"; cout<<s1<<endl; string::iteratorit1=s1.begin();//在这里,s1.begin()代表......
  • linux c++程序使用MD5
    为避免找到的开源md5算法有坑,一般直接用openssl自带的MD5相关函数实现;一般系统已默认安装openssl,没装的话直接指令安装ubuntusudoapt-getinstalllibssl-devcentossudodnfinstallopenssl-devel示例代码#include<openssl/md5.h>unsignedcharmd5[MD5_DIGEST_LENGT......
  • 警惕 C++ 中的隐式类型转换
    今天文章的主题灵感来自客户的一个问题:我在研究一个代码中的栈溢出问题。为了减小栈帧的大小,我尽可能多地删除了局部变量,但仍有很多栈空间无法解释。除了局部变量、参数、保存的寄存器和返回地址之外,栈上还有什么其他的东西呢?我的回答是,嗯,还有结构化(SEH)的异常处理信息,但这通常不......
  • Qt/C++编写物联网组件/支持modbus/rtu/tcp/udp/websocket/mqtt/多线程采集
    一、功能特点支持多种协议,包括Modbus_Rtu_Com/Modbus_Rtu_Tcp/Modbus_Rtu_Udp/Modbus_Rtu_Web/Modbus_Tcp/Modbus_Udp/Modbus_Web等,其中web指websocket。支持多种采集通讯方式,包括串口和网络等,可自由拓展其他方式。自定义采集间隔(精确到毫秒)和超时次数,超时后自动将离线的文件......