码迷,mamicode.com
首页 >  
搜索关键字:visual stdio    ( 19543个结果
VJ A - Three Indices 7.26
#include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;const ll nl=1e5+5;/ ...
分类:其他好文   时间:2020-07-26 23:23:20    阅读次数:105
vs2017.unresolved external symbol __imp__fprintf&__imp____iob_func
1、我的处理: extern "C" { FILE __iob_func[3] = { *stdin,*stdout,*stderr }; } #pragma comment(lib, "legacy_stdio_definitions.lib") 2、 3、vs2015无法解析外部符号__imp_ ...
分类:其他好文   时间:2020-07-26 22:54:18    阅读次数:94
调用递归输出从小到大顺序
#include <stdio.h> int a[5]={ 7,2,9,10,3 }; void st(int *,int); void main() { int i; st(a,5); for(i=0;i<5;i++) printf("%4d",a[i]); printf("\n"); } voi ...
分类:其他好文   时间:2020-07-26 15:29:51    阅读次数:61
贪吃蛇 C语言源代码
#include <stdio.h> #include <graphics.h> #include <stdlib.h> #include <dos.h> /*引用的库函数*/ #define LEFT 0x4b00 #define RIGHT 0x4d00 #define DOWN 0x5000 ...
分类:编程语言   时间:2020-07-26 02:05:25    阅读次数:127
32,初探c++标准库
1. 有趣的重载 (1)操作符<<:原义是按位左移,重载“<<”可将变量或常量左移到对象中 重载左移操作符(仿cout类) 1 #include<stdio.h> 2 3 const char endl = '\n'; //将换行定义为一个常量 4 5 class Console //Console ...
分类:编程语言   时间:2020-07-26 02:01:24    阅读次数:69
蓝牙编程扫盲 L2CAP sockets
与RFCOMM一样,L2CAP通信是围绕套接字编程构建的。例4-4和例4-5演示了如何建立L2CAP信道并传输短串数据。为了简单起见,客户端被硬编码为连接到“01:23:45:67:89:AB”。 l2cap-server.c 代码 #include <stdio.h> #include <stri ...
分类:其他好文   时间:2020-07-26 01:09:41    阅读次数:80
26, 类的静态成员函数
1、未完成的需求 统计在程序运行期间某个类的对象数目 --yes 保证程序的安全性(不能使用全局变量)--yes 随时可以获取当前对象的数目(Failure) 尝试解决方案: 1 #include<stdio.h> 2 3 //解决没有类对象时也能随时获取类的对象数目 4 5 class Test ...
分类:其他好文   时间:2020-07-26 00:23:10    阅读次数:61
编写一个函数求1+1/2+1/3+...+1/n的值
/*革启博客,革启网,袁欢,袁欢的博客,袁欢博客 版本:vs2019社区版 功能;编写一个函数求1+1/2+1/3+...+1/n的值 */ #include<stdio.h> float count(int n) { int i; float sum; if (n <= 0) { printf(" ...
分类:其他好文   时间:2020-07-26 00:17:01    阅读次数:120
c/c++面试秘笈1
前言:前一段时间,看了一本剑指offer书籍及程序员面试秘笈 下面将在这里写下最近所看到、所学到的内容,也是温故而知新,完善自己的知识库 1、不使用任何中间变量如何将a,b的值进行交换 #include <stdio.h> void swap1(int& a, int& b) { int temp ...
分类:编程语言   时间:2020-07-26 00:01:17    阅读次数:89
函数求长方体面积
/*革启博客,革启网,袁欢,袁欢的博客,袁欢博客 版本:vs2019社区版 功能;编写程序求长方体的面积 */ #include<stdio.h> float area(float a, float b) { float area; area = a * b; return area; } int ...
分类:其他好文   时间:2020-07-25 23:58:35    阅读次数:85
19543条   上一页 1 ... 61 62 63 64 65 ... 1955 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!