CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: D_Drmmr

Search: Search took 0.04 seconds.

  1. Replies
    4
    Views
    2,062

    Re: [HELP, C++] array with prime numbers

    This is why you should separate I/O from your algorithms. If you had implemented the IsPrime function as


    int GetNumberFromUser();
    bool IsPrime(int n);
    int main()
    {
    int n =...
  2. Replies
    4
    Views
    2,062

    Re: [HELP, C++] array with prime numbers

    How would you solve this problem if you didn't have a computer? What are the exact steps you'd take?
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured