码迷,mamicode.com
首页 >  
搜索关键字:network namespace    ( 53294个结果)
C++实现对本地文件加行号并输出到本地文件
#include <fstream> #include <strstream> using namespace std; int main(int argc,char*argv[]) { strstream textfile; ifstream in(argv[1]); textfile << in ...
分类:编程语言   时间:2021-03-15 11:07:17    阅读次数:0
E - Number of Simple Paths
一个图,n个点,n条边,没有重边和自环。 那么多出的一条边必定使他成为基环树。 要求去计算简单路径的个数。 简单路径:与方向无关的路径。 又因为在树上,两点的路径唯一确定,那么路径仅仅与起点与终点有关。 也就是C(2,n)这样。 但是如果路径经过环,那么中间经过环的部分就可以有两种走法。 也就是说答 ...
分类:其他好文   时间:2021-03-15 10:49:05    阅读次数:0
Flutter 图片预览页
图片预览,显示当前图片索引,单击关闭。 用的 photo_view 库。 import 'package:cached_network_image/cached_network_image.dart'; import 'package:flutter/material.dart'; import ' ...
分类:其他好文   时间:2021-03-15 10:41:05    阅读次数:0
C#的格式化输出字符串
using System; //导入命名空间 using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lesson_one //这里 ...
分类:Windows程序   时间:2021-03-12 14:18:50    阅读次数:0
C#数据库连接
SQLMANAGE 数据库连接管理 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;u ...
分类:数据库   时间:2021-03-12 14:16:14    阅读次数:0
C++11 shared_ptr(智能指针)详解
要确保用 new 动态分配的内存空间在程序的各条执行路径都能被释放是一件麻烦的事情。C++ 11 模板库的 <memory> 头文件中定义的智能指针,即 shared _ptr 模板,就是用来部分解决这个问题的。只要将 new 运算符返回的指针 p 交给一个 shared_ptr 对象“托管”,就不 ...
分类:编程语言   时间:2021-03-10 13:24:26    阅读次数:0
顺序表
1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 #include <cmath> 5 #include <cstring> 6 #include <cstdlib> 7 using namespace std; 8 ...
分类:其他好文   时间:2021-03-10 13:13:30    阅读次数:0
linux系列之-—01 安装linux环境
1. Vmware虚拟机安装 2. Centos7安装 3. 虚拟机网卡设置 //重启 1、reboot 2、shutdown -r now 立刻重启(root用户使用) //更改/etc/sysconfig/network-scripts/路径下的 ifcfg文件、 cd /etc/sysconf ...
分类:系统相关   时间:2021-03-10 12:58:11    阅读次数:0
[模板]最小圆覆盖
#include <bits/stdc++.h> using namespace std; const double EPS = 1e-8; const int N = 1e5+10; struct Point{ double x, y; }; int n; Point p[N]; bool equ ...
分类:其他好文   时间:2021-03-10 12:57:35    阅读次数:0
P1855 榨取kkksc03
[Aimee](P1855 榨取kkksc03) 很简单的dp #include<iostream> #include<cstring> using namespace std; int n,m,t; int mi[1000]; int ti[1000]; int dp[201][301][201] ...
分类:其他好文   时间:2021-03-08 13:47:33    阅读次数:0
共53294条   上一页 1 ... 36 37 38 39 40 ... 5330 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!