ChinaUnix.net
相关文章推荐:

VC 被声明为已否决

#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <winsock2.h>

#include "msinc.h"
#include "mssoc.h"
#include "mslog.h"
#include "mssim.h"
#define sm_set_core_flag()
#define sm_set_app_flag()
/* --------------------------------------------------------------------------
 * 模块内部变量声明

by zhr811022 - 数据安全 - 2011-12-20 09:47:32 阅读(846) 回复(0)

相关讨论

// http_client.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
#include "winsock2.h"
 
#pragma comment(lib, "ws2_32.lib")
 
int main(void)
{
       SOCKET      sSocket   &n...

by zhr811022 - 数据安全 - 2011-12-20 09:47:31 阅读(614) 回复(0)

本帖最后由 fnems 于 2011-04-02 13:18 编辑 虽然知道这是个讨论linux下编程的论坛,但是自己确实不知道该到别处什么地方提问了,所以还希望大家莫要见怪~~~ 本人的编译环境,有vc带的编译器,也有MingW。GCC是3.4.5版 最近想在程序中用jpeg压缩。网上下载了Independent JPEG的库, libjpeg,在MingW下编译安装了,自带的测试程序cjpeg正常工作。 然后在自己的程序里面写进jpeg代码。 编译时,发现windows.h中有些定义跟...

by fnems - C/C++ - 2011-03-29 15:05:24 阅读(3203) 回复(2)

下面的C程序为何不能结束循环? /* 从文件中读取数据装载到相应的内存数据结构 */ NODE *load( int *rate, int n ) { NODE *p, *head; FILE *fp; char name[MAXLINE]; head = p = NULL; clearScreen( ); printf( "Enter the pathname of your file: \n" ); gets( name ); printf( "%s is your saved file ? ( y/n ) ", name ); ...

by jerom - C/C++ - 2009-05-25 16:50:19 阅读(3985) 回复(3)

vc++6.0编译器中,一个C语言程序如何在屏幕上定位光标?能否启动图形模式? [ 本帖最后由 jerom 于 2007-5-28 20:21 编辑 ]

by jerom - C/C++ - 2007-05-27 21:11:58 阅读(4020) 回复(4)

各位高手小弟有个很菜的问题,在vc++中有判断文件是否成功发送至打印机的函数吗?是什么函数啊?如果发送成功是否意味着打印作业会成功完成呢?如果打印机没开,那么该函数会不会也判断成发送成功呢?请给个答复吧!谢谢了!

by xiayongfeng - C/C++ - 2003-09-25 20:54:47 阅读(898) 回复(0)

请问 make 管理分段编译 在vc中是否淘汰啊?我在tinking in c++ 中看到这个makefile类型文件,感觉很复杂,后来查了vc6技术内幕,没有看到相关的介绍,是不是他淘汰?如果没有请高手告诉下那里有深入浅出的makefile教程学习啊,谢谢了

by passsun1 - C/C++ - 2006-02-01 00:44:56 阅读(1136) 回复(1)

#include "stdio.h"
#include "conio.h"
#include "stdlib.h"
#include "string.h"
#include "windows.h"
int times=0;//
int haha();
int minus();
int check();
////////////////////////////////////////////////////////////////////////////////////////////////////
typedef int (*pDis)(); //同理 以后 pDis就可以代表这类的函数指针了
//int libfun(pDis pd);//函数指针做参...

by zhr811022 - 数据安全 - 2011-12-20 09:47:31 阅读(693) 回复(0)

本帖最后由 weichuang02 于 2012-06-29 13:53 编辑 我知道C++对象模型的基本知识 (1)如果一个对象是POD类型,OK没有问题,new的字节数就是数组长度*对象大小,如下: class C{ int i,j; }; int main(void){ C* pc=new C[1]; 00F01000 push 8 00F01002 call dword ptr [__imp_operator new (0F020A4h)] (2)但是如果这个类型有ctor或dtor的话,那么new的操作就会多用4个字节的内存 class C{ public: ...

by weichuang02 - C/C++ - 2012-06-29 13:52:09 阅读(1705) 回复(3)

不知vc++哪个版本的编译器最好(使用的方便性),想下一个用

by wangxiaoguang - C/C++ - 2008-08-01 10:43:37 阅读(1159) 回复(0)