West Coast Connection Forum

Lifestyle => Tha G-Spot => Topic started by: boycriedwolf619 on March 08, 2005, 06:26:59 PM

Title: Any C++ programmers???
Post by: boycriedwolf619 on March 08, 2005, 06:26:59 PM
I need help creating a function that will reduce an array of fractions to lowest terms. and also a function to convert a decimal number into a fraction example: 4.25 -->4 1/4. if anyone can help me my email is : carltouss619@hotmail.com
Title: Re: Any C++ programmers???
Post by: Suga Foot on March 08, 2005, 06:34:53 PM
:banana_llama:
Title: Re: Any C++ programmers???
Post by: 411 on March 08, 2005, 06:46:19 PM
:banana_llama:
Title: Re: Any C++ programmers???
Post by: Sikotic™ on March 08, 2005, 06:59:42 PM
:banana_llama:
Title: Re: Any C++ programmers???
Post by: boycriedwolf619 on March 08, 2005, 07:02:24 PM
^^im confused what is that supposed to mean?
Title: Re: Any C++ programmers???
Post by: Lil Jay on March 08, 2005, 07:09:19 PM
:banana_llama:
Title: Re: Any C++ programmers???
Post by: Sikotic™ on March 08, 2005, 07:26:04 PM
:banana_llama: (http://img35.imageshack.us/img35/5136/image8.gif) :banana_llama: (http://img35.imageshack.us/img35/5136/image8.gif) :banana_llama: (http://img35.imageshack.us/img35/5136/image8.gif)







Title: Re: Any C++ programmers???
Post by: Lil Jay on March 08, 2005, 07:33:52 PM
:banana_llama: (http://img.photobucket.com/albums/v291/blackarmo/44617873_l.jpg) :banana_llama: (http://img.photobucket.com/albums/v291/blackarmo/44617873_l.jpg) :banana_llama: (http://img.photobucket.com/albums/v291/blackarmo/44617873_l.jpg)








Title: Re: Any C++ programmers???
Post by: Sikotic™ on March 08, 2005, 07:39:51 PM
:banana_llama: (http://img.photobucket.com/albums/v291/blackarmo/ohsnap.gif) :banana_llama: (http://img.photobucket.com/albums/v291/blackarmo/racist.jpg) :banana_llama: (http://img.photobucket.com/albums/v291/blackarmo/ohsnap.gif)








Title: Re: Any C++ programmers???
Post by: Lil Jay on March 08, 2005, 07:41:19 PM
LMFAO. Its gonna be hard to top that one
Title: Re: Any C++ programmers???
Post by: Suga Foot on March 08, 2005, 08:20:41 PM
lmfao
Title: Re: Any C++ programmers???
Post by: boycriedwolf619 on March 08, 2005, 08:52:34 PM
man im really confuse someone fill me in
Title: Re: Any C++ programmers???
Post by: Sikotic™ on March 08, 2005, 08:54:44 PM
man im really confuse someone fill me in

I'm gonna give you a prop cuz you're a real cool guy. Sorry I can't help ya with your question.
Title: Re: Any C++ programmers???
Post by: boycriedwolf619 on March 08, 2005, 09:00:23 PM
man im really confuse someone fill me in

I'm gonna give you a prop cuz you're a real cool guy. Sorry I can't help ya with your question.
coo thx man
Title: Re: Any C++ programmers???
Post by: D1G1T4L on March 08, 2005, 10:06:04 PM
i am a c++ programmer but i am not doing all that shit for you, you have to learn yourself man otherwise you wont get it anyway, u'll fail the class, so you either put in work or drop out


plus i just finished a big ass c++ project
Title: Re: Any C++ programmers???
Post by: boycriedwolf619 on March 09, 2005, 04:02:37 AM
i am a c++ programmer but i am not doing all that shit for you, you have to learn yourself man otherwise you wont get it anyway, u'll fail the class, so you either put in work or drop out


plus i just finished a big ass c++ project
^^no its not even like that. i wrote my shit out but somewhere along the lines something is messed up and im just trying to get some help.
Title: Re: Any C++ programmers???
Post by: Juronimo on March 09, 2005, 12:50:44 PM
I don't know c++ but I know other programming languages (Java, C#, VB, SQL).

I would use a mod function to grab the remainder from the decimal

Then I would divide the remainder by the number of digits follow the decimal, using some sort of parsing function

Then I would divide the numbers and cast into integer values

I would pretty much attack it like that. Write out how you think the answer would flow, then write your code.
Title: Re: Any C++ programmers???
Post by: BigBDrugStores on March 09, 2005, 05:46:41 PM
:banana_llama: (http://img.photobucket.com/albums/v291/blackarmo/ohsnap.gif) :banana_llama: (http://img.photobucket.com/albums/v291/blackarmo/racist.jpg) :banana_llama: (http://img.photobucket.com/albums/v291/blackarmo/ohsnap.gif)
what the fuck








Title: Re: Any C++ programmers???
Post by: boycriedwolf619 on March 09, 2005, 07:51:28 PM
damn man i still dont get it the yellow banana on the camel and the old guy n mc hammer