编程没有框架? [英] programming without framework ?

查看:63
本文介绍了编程没有框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..


我用VB,Java,PHP和C#来开发我自己的软件,但是现在我已经用C ++编写了一个项目,我有点困惑......


在PHP,C#和Java中,有一个框架可以提供各种各样的
函数和实用程序(比如网络功能,XML解析,
RegExp ..等等)所以我想问你一下,如何在没有框架的情况下用C ++开发一个

软件?


我正在查看C ++参考资料,除了

数学函数,时间,日期,内存分配和其他一些函数外,我什么也看不见

,有了这些功能,我觉得(至少对我来说)不可能开发一个真正的软件。


我知道C ++是最好的编程语言之一,所以我想

我错过了一些东西,拜托,谁能告诉我它是什么东西?


(抱歉我的英语不好,我不是一个扬声器* _ *)

hi ..

I was used VB, Java, PHP and C# to developed my own software , but now
I have a project in C++ , and I''m a bit confused ...

In PHP,C# and Java , there are a framework that provide a wide range of
functions and utilities ( like networking functions, XML parsing,
RegExp ..etc )so I want to ask you people , how could you develop a
software in C++ without a framework ?

I was looking in a C++ reference, I couldn''t see anything except the
math functions, time, date, memory allocation and some other functions
, with those functions I think it''s impossible (for me at least) to
develop a real software ..

I know that C++ is one of the greatest programming language, so I think
that I''m missing some thing, please, can anyone tell me what is it ?

( sorry for my broken English , I''m not a na?ve speaker *_* )

推荐答案

theDever写道:
theDever wrote:
在PHP中,C#和Java,有一个框架提供了广泛的功能和实用程序(如网络功能,XML解析,RegExp ..等等)所以我想问你的人,你怎么能用C ++开发一个没有框架的软件?


你得到一个框架。 C ++的乐趣在于我们不会慌张一下。


我推荐使用wxWidgets因为:


- 它是'免费提供自由言论

- 它有正则表达式,网络,漂亮的图形用户界面等。

- 它在免费啤酒中是免费的

- 它是一个连贯的框架

- 它有一个很棒的社区和成千上万的功能

- 我可以弄清楚如何编译它。

我正在查看C ++参考资料,除了
数学函数,时间,日期,内存分配和其他一些函数之外我什么也看不见
,这些函数我认为(至少对我来说)开发一个真正的软件是不可能的..
In PHP,C# and Java , there are a framework that provide a wide range of
functions and utilities ( like networking functions, XML parsing,
RegExp ..etc )so I want to ask you people , how could you develop a
software in C++ without a framework ?
You get a framework. The joy of C++ is we don''t ram one down your throat.

I recommend wxWidgets because:

- it''s free as in "free speech"
- it has regexp, networking, nice GUIs, etc.
- it''s free as in "free beer"
- it''s a coherent framework
- it has a great community and thousands of features
- I can figure out how to compile it.
I was looking in a C++ reference, I couldn''t see anything except the
math functions, time, date, memory allocation and some other functions
, with those functions I think it''s impossible (for me at least) to
develop a real software ..




对。这些是C ++标准所需要支持的所有C ++

实现的唯一内容。 ISO不能强制执行单一框架,因为这会降低C ++在尽可能多的不同平台上运行的能力。

可能。例如,你不会在手表中找到PHP ......


-

Phlip
http://www.c2.com/cgi/wiki?ZeekLand


theDever写道:
theDever wrote:
我在查看C ++参考资料,除了
数学函数,时间,日期,我什么也看不见内存分配和其他一些功能
,有了这些功能我觉得开发一个真正的软件是不可能的(至少对我来说)..

我知道C ++是最好的编程语言之一,所以我觉得我错过了一些东西,拜托,谁能告诉我它是什么?
I was looking in a C++ reference, I couldn''t see anything except the
math functions, time, date, memory allocation and some other functions
, with those functions I think it''s impossible (for me at least) to
develop a real software ..

I know that C++ is one of the greatest programming language, so I think
that I''m missing some thing, please, can anyone tell me what is it ?




C ++是一种语言。框架是提供功能的库。

保持标准最小化是必须的,提供易于维护和

端口功能,以及许多其他专业人员。

C ++在命名空间std下有一个标准库,它提供了所有你想要的,从i / o到高级功能,如队列,列表,

矢量&合。如果你想要更多,比如XML,正则表达式,图形,

以及你能想象的任何东西,请使用库。成千上万的C ++库

在那里。


我建议Qt库,简单,多平台(*真*代码一次,

编译在任何你想要的地方),GPL在每个平台上,有图形,

网络,i / o,原生GUI和sooooooo许多其他东西。易于学习,

很可爱看代码...不像微软MFC使用// AFX_WHATEVER ...不是
作为注释但是作为解释的编译时字符串。


还有Fox Toolkit,wxWindows,Boost(不是多用途

gui / net / ...,无论如何都很有用),是第一个来的在我看来。



C++ is a language. Frameworks are libraries providing functionalities.
Keeping the standard minimal is a must, providing easy to maintain and
port functionalities, among many other pros.

C++ has a standard library under a namespace std that provides all you
want, from i/o to high-level functionalities such as queues, lists,
vectors & co. If you want more, like XML, regular expressions, graphics,
and whatever you can imagine, use a library. Thousands of C++ libraries
are out there.

I suggest the Qt library, easy, multiplatform (*really* code once,
compile wherever you want), GPL on every platform, has graphics,
network, i/o, native GUI and sooooooo many other things. Easy to learn,
cute to see code... not like microsoft MFC using //AFX_WHATEVER... not
as a comment but as an interpreted compile-time string.

There are also Fox Toolkit, wxWindows, Boost (not multipurpose
gui/net/..., useful anyway), are the first that come in my mind.


" theDever" <第****** @ gmail.com>在消息中写道

news:11 ********************** @ g47g2000cwa.googlegr oups.com
"theDever" <th******@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com
嗨..

我用VB,Java,PHP和C#开发了我自己的软件,但现在我有一个用C ++开发的项目,我有点困惑...... 。在PHP,C#和Java中,有一个框架提供了广泛的功能和实用程序(如网络功能,XML解析,RegExp ..etc)所以我想问你一下,如何在没有框架的情况下用C ++开发一个
软件?
hi ..

I was used VB, Java, PHP and C# to developed my own software , but now
I have a project in C++ , and I''m a bit confused ...

In PHP,C# and Java , there are a framework that provide a wide range
of functions and utilities ( like networking functions, XML parsing,
RegExp ..etc )so I want to ask you people , how could you develop a
software in C++ without a framework ?




您使用的是第三方库。对于简单计算的东西,你可以通常使用独立于平台的库。 Boost图书馆,

http://www.boost.org/


包含正则表达式和许多其他工具。对于特定于操作系统(例如GUI的东西)的b $ b $,在使用操作系统提供的库之间通常有一个

的选择(例如,

适用于Microsoft Windows的Win32 API)或第三方库

抽象几个操作系统的设施并提供一个通用的

编程接口,例如,wxWidgets

http://www.wxwindows.org/

-

John Carson



You use third party libraries. For things that are simply computational, you
can generally use platform independent libraries. The Boost library,

http://www.boost.org/

contains regular expressions and many other facilities. For things that are
operating system specific (GUI stuff, for example), you generally have a
choice between using the libraries supplied by the operating system (e.g.,
the Win32 API for Microsoft Windows) or else third party libraries that
abstract the facilities of several operating systems and present a common
programming interface, e.g., wxWidgets

http://www.wxwindows.org/
--
John Carson


这篇关于编程没有框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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