Сторм 0 Newbie Poster

Hi everybody. I'm new in programming and just started i have found one compiler "Code Blocks" its rate was high though. So i chose it. Wanted to ask any compiler that you guys use?

Okay so here is the problem. I wanted to code a few rows.

To find a number "The Hardy-Ramanujan Number". I think you guys know this number it is 1729. It is the smallest number expressible as the sum of two cubes in two different ways.

means a3 (to the power 3) + b3 = n
and this n also can be x3 (to the power 3) + y3 = n

I really don't know how to code this on C++ i need to find this code.

So please help me guys. I will be very happy to see the code.

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.