Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop ADO-ODBC
  • Category : ADO-ODBC
  • Tags :
  • Update : 2014-12-27
  • Size : 115kb
  • Downloaded :0次
  • Author :光**
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
1. Preparation of screening to find primes function: void sieve (bool isPrime [], int n) where isPrime [n] is a Boolean array, n is the array size. Because 2 is the first prime number, so set isPrime [0] and isPrime [1] the value is false, and set the rest of the elements of the initial value to true. Then 4 to n-1 every i, i determine whether it can be divisible by 2, if i can be divisible by 2, set isPrime [i] is false. For every possible value 2 to n/2 Repeat the above process, when the end of the operation, all the value of true isPrime [i] corresponding to the i is a prime number, they will be falling the sieve come. Test Procedure: Input: An integer representing the n output: 1 line, all the prime numbers between 1 and n, separated by a space between two prime number, a prime number after the last output, the output of a blank and blank lines, see the output function Disp code. For example, when the input 20, the output is as follows: 235711131719
Packet file list
(Preview for download)


2\3.cpp
.\c++_ch06_03.vcxproj
.\c++_ch06_03.vcxproj.filters
.\Debug\3.obj
.\.....\c++_ch06_03.lastbuildstate
.\.....\c++_ch06_03.log
.\.....\CL.read.1.tlog
.\.....\CL.write.1.tlog
.\.....\link-cvtres.read.1.tlog
.\.....\link-cvtres.write.1.tlog
.\.....\link-rc.read.1.tlog
.\.....\link-rc.write.1.tlog
.\.....\link.2484-cvtres.read.1.tlog
.\.....\link.2484-cvtres.write.1.tlog
.\.....\link.2484-rc.read.1.tlog
.\.....\link.2484-rc.write.1.tlog
.\.....\link.2484.read.1.tlog
.\.....\link.2484.write.1.tlog
.\.....\link.4604-cvtres.read.1.tlog
.\.....\link.4604-cvtres.write.1.tlog
.\.....\link.4604-rc.read.1.tlog
.\.....\link.4604-rc.write.1.tlog
.\.....\link.4604.read.1.tlog
.\.....\link.4604.write.1.tlog
.\.....\link.read.1.tlog
.\.....\link.write.1.tlog
.\.....\vc110.idb
.\.....\vc110.pdb
.\Debug
2
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.