CPP
学术科技 · 当前来自首页固化板块目录。
iterator end() { return finish; } const_iterator end() const { return finish; }
up
#include<iostream> void strcp(char *to,char *from) { strcpy(to,from); } void main() { char *str=NULL; strcp(str,"hello"); } 问这个函数有什么问题吗?应该怎么改正呢?在Linux下运行的话会出现什么…
想捡回MFC,但是VS2012学习版不支持 之前用XP习惯了VC,后来VC++6.0打不开文件,我现在系统是win7 sp1 32, 各位有没有什么好推荐啊? 最好是免激活码或者是能够免费得到激活码
366的23次方哈。 我存了,但是貌似不对,是91214727297716717000000000000000000000000000000000000000000.000000。用计算器一摁就知道这是不对的哈。 为什么呢?怎么搞?
求教啊啊啊啊 编写函数不能用 Input(int n ) {int a[n]={0}; for(int i=0;i<n;i++) { cin>>a[i]; } }
include里面的东西无非是参量名的转换。我就不贴了。 代码短短十几行,真不懂那些意思 为啥每行有\ 为啥 最后会有 __rem;的出现 到底实现了什么功能? thanks in advance #ifndef __X86_DIV64 #define __X86_DIV64 #include <xen/types.h…
哪位好心人帮忙给下两个小程序程序哈,下面是下载页链接 http://www.pudn.com/downloads490/sourcecode/embedded/detail2040743.html http://www.pudn.com/downloads65/sourcecode/embed/detail232357…
rt 通过『我邮』发布
我打开的是别人成功的项目,修改了连接字符串。可是open时就出问题了,报错“SQLSERVER不存在或拒绝访问。if(!m_DataBase.Open("Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Ca…
是在vs的安装目录下面吗,没有找到,网上一搜都是候老大的那本书 还有在linux下面怎么找到stl 的源码呢,谢谢了
#include <iostream> using namespace std; class A { public: void fun(){cout<<"A"<<endl;} }; class B:public A { public: void fun(){cout<<"B"<<endl;} }; void main(…
#include <stdio.h> #include <stdlib.h> #include <string.h> //using namespace std; void acc(char *p){ p=(char *)malloc(100); } int main(){ char *str=NULL; acc(st…
覆盖的方法的返回值必须和被覆盖的方法的返回一致;参数、返回值只要有一个不同则不再是覆盖,而是隐藏?
求计算机院哥们,我之前做过一年小车,求靠谱队友