Thread: Finding GCF

  1. #1
    Registered User
    Join Date
    Oct 2001

    Finding GCF


    Does anyone have code that will find the GCF of 2 integers? I'm trying to write a fraction-based calculator and am having trouble developing an alg. for finding GCF.


    Normally I'd put something clever, but that isn't the point of being here now is it?

  2. #2
    Registered User
    Join Date
    Aug 2001

    searching the board: There have been good solutions posted in the past. They may still be there.

    searching the internet: I'm sure you can find several algorhythms that you can convert to C++.

    writing your own and asking for help if you get stuck;

  3. #3
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Buffalo, NY
    become a good programmer and you will answer your own question. Not to make you mad or anything

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. tools for finding memory leaks
    By stanlvw in forum C++ Programming
    Replies: 4
    Last Post: 04-03-2009, 11:41 AM
  2. Help with finding modal value
    By packman in forum C Programming
    Replies: 3
    Last Post: 04-30-2008, 06:18 PM
  3. Finding primes
    By starripper in forum C++ Programming
    Replies: 19
    Last Post: 01-14-2006, 04:17 PM
  4. Finding URLS
    By johnchain in forum C Programming
    Replies: 5
    Last Post: 10-07-2005, 07:56 AM
  5. MFC :: Finding Child Window of a CWnd* Object?
    By SyntaxBubble in forum Windows Programming
    Replies: 2
    Last Post: 09-06-2003, 09:06 AM