搜索结果

找到约 22 项符合 Namespace 的查询结果

源码 C++1000以内的素数

#include<iostream> using namespace std; int s=0;  int prime(int x){ int i,p=1; for(i=2;i<=x/2;i++){ if(x%i==0){ p=0; break; } } if(p!=0){ cout<<x<< " "; s++; } }  int main(){ for (int k=5;k<=100;k++){ prime(k); if(s%5==0) cout<<'\n'; } return 0; } ...
https://www.eeworm.com/dl/522666.html
查看: 59

技术资料 界面漂亮 功能实用的串口调试助手

大家先试用一下,源码后面奉上!!!using System;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Linq;using System.Threading.Tasks;using System.Windows;namespace SerialCom{    /// <summary>    /// App.xaml 的交互逻辑    /// </sum ...
https://www.eeworm.com/dl/831546.html
下载: 6
查看: 441