我希望简单的问题 [英] Simple Question I hope

查看:65
本文介绍了我希望简单的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


也许这对某些人来说似乎是一个愚蠢的问题,但我想知道以下内容:


我是方便的C ++。我不会声称自己是专家,但我可以用C ++完成最常见的事情。现在我想更多地关注C本身。


我已经尝试过C手册,但不幸的是他们的书店再也找不到了。


所以我的小问题是:如果你在C ++中适度,切换到学习和使用C有多难?

Hello,

Perhaps it might seem a silly question to some but I want to know the following:

I''m handy with C++. I won''t claim to be an expert, but I can get most common things done in C++. Now I want to focus a bit more on C itself.

I''ve tried getting my hands on the C manual book, but unfortunalty they bookstore couldn''t get it anymore.

So my little question is : how hard is it to switch to learning and using C if you''re moderate in C++ ?

推荐答案

为什么?处理遗留项目或不支持c ++的遗留编译器?我从来没有在纯C项目上工作过,但它看起来比较困难 - 没有容器,没有字符串,只有指针和内部容器(如果有的话)。并且没有for(int i = 0; ...)东西。
What for? Working on legacy project or on legacy compiler that doesnt support c++? I for one never worked on pure C projects, but it seems to be rather annoying than difficult - no containers, no strings, just pointers and in-house containers if any. And no "for(int i=0; ... )" stuff.


它有多难取决于我想的那个人。给自己一份标准的副本...
How hard it is depends on the person I suppose. Get yourself a copy of the standard ...


我从C转到C ++,它打败了我为什么你要做相反的事情,这就像交易你的阿斯顿马丁为迷你。然而,C的标准书是The C Programming Language,2nd ed。作者:Kernighan和Ritchie。
I went from C to C++ and it beats me why you''d want to do the opposite, it''s like trading your Aston Martin for a Mini. However, the standard book for C is "The C Programming Language", 2nd ed. by Kernighan and Ritchie.


这篇关于我希望简单的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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