Category Archives: Inside C++

ObjectARX porting

several changes:   1.UNICODE setting: Project Property -> C/C++ ->Preprocessor -> Preprocessor Definitions -> "_UNICODE";   2.incremented name: The number occurring in DLL and corresponding LIB file names has been incremented from 16 to 17. For example, acdb16.dll and acdb16.lib … Continue reading

Posted in Inside C++ | Leave a comment

VC2005_iostream

于2006-9-30 11:39     信息   悄悄话   主页   第 6 帖 http://www.51nb.com/forum/thread-430387-1-8.html   现在VC++2005不使用了iostream.h了,都改用了<iostream>,如果是生成控制台程序,直接在生成的stdafx.h就包含<iostream>,两种方法是用:方法一:直接在cout,cin加名称空间,这样如果多的话要累死 //文件:stdafx.h#pragma once#include <iostream>//已经声明了#include <tchar.h>//————————————————————//文件:TestIO.h#include "stdafx.h" void _tmain(int argc, _TCHAR* argv[]){        char *cWelcome=new char[100];        std::cout <<"这是一个在iostream中显式声明std的例子\n";    std::cout <<"请输入欢迎词,比如我爱上专门网:\n";        std::cin.get(cWelcome,100);    … Continue reading

Posted in Inside C++ | Leave a comment