什么是与" AFX"在StdAfx.h中? [英] What's with the "Afx" in StdAfx.h?

查看:210
本文介绍了什么是与" AFX"在StdAfx.h中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是好奇,什么AFX代表。又是怎么回事FX在FxCop的?

I'm just curious what Afx stands for. And what about Fx in FxCop?

推荐答案

维基百科

MFC的一个有趣的怪癖是   使用AFX作为preFIX许多   函数,宏和标准   precompiled头名stdafx.h中。   在早期开发了后来   MFC被称为应用程序框架   扩展的缩写世华财讯的   命名Microsoft基础类   (MFC)通过了在为时已晚   发布周期改变这些   参考。

One interesting quirk of MFC is the use of "Afx" as the prefix for many functions, macros and the standard precompiled header name "stdafx.h". During early development what became MFC was called "Application Framework Extensions" and abbreviated "Afx". The name Microsoft Foundation Classes (MFC) was adopted too late in the release cycle to change these references.

旧的黄貂鱼MFC常见问题解答(不再在他们的网站,链接发现是古版):

The old Stingray MFC FAQ (no longer found on their website, link is to ancient version):

在开始的时候,微软创建   一组名为AFX集团 -   (代表(A),应用   (F)ramework(X))。

In the beginning, Microsoft created a group called the AFX group
(stands for (A)pplication (F)ramework(X)).

[...]

该AFX组实际上是   负责两件事:在MFC   库和IDE的支持   MFC(即资源编辑器和   奇才)。该AFX名字   1994年4月下降,该集团的   成员简直就成了小部分   Visual C ++的组中的球队。   其中的一个较小的团队是当今   MFC团队。

The AFX group was actually responsible for two things: the MFC library and the IDE's support for MFC (namely, the resource editor and the wizards). The AFX name was dropped in April 1994, and the group's members simply became part of smaller teams within the Visual C++ group. One of those smaller teams is today's MFC team.

这篇关于什么是与" AFX"在StdAfx.h中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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