Welcome to Dream.In.Code
Become a C++ Expert!

Join 149,991 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,333 people online right now. Registration is fast and FREE... Join Now!




Help in C++, a program of complex numbers

 
Reply to this topicStart new topic

Help in C++, a program of complex numbers, i am in a class of programming and i have to do a program of complex n

ednamarie
4 Dec, 2006 - 06:02 AM
Post #1

New D.I.C Head
*

Joined: 4 Dec, 2006
Posts: 1


My Contributions
i am in a class of programming and i have to do a program of complex numbers, and cant do it, this is my last proyect and ai have to finish
User is offlineProfile CardPM
+Quote Post

gurudatta11
RE: Help In C++, A Program Of Complex Numbers
4 Dec, 2006 - 06:10 AM
Post #2

New D.I.C Head
*

Joined: 4 Dec, 2006
Posts: 4


My Contributions
there are many methods... it's will be easy for u to do in direct method..... means applying direct formulas for any operation
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Help In C++, A Program Of Complex Numbers
4 Dec, 2006 - 06:59 AM
Post #3

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,355



Thanked: 51 times
Dream Kudos: 25
My Contributions
Can you please elaborate on your requirements, and post the code you've written so far? I believe there may be some implementations of a complex number class in the code snippets section.
User is offlineProfile CardPM
+Quote Post

y0da
RE: Help In C++, A Program Of Complex Numbers
4 Dec, 2006 - 09:22 AM
Post #4

D.I.C Head
Group Icon

Joined: 8 Nov, 2006
Posts: 62


Dream Kudos: 75
My Contributions
Complex numbers? Are they numbers that you can create or did your teacher give you the numbers you have to use? Well either way yes alot of formulas are going to be needed...
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Help In C++, A Program Of Complex Numbers
4 Dec, 2006 - 10:08 AM
Post #5

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,355



Thanked: 51 times
Dream Kudos: 25
My Contributions
Complex Numbers that are a combination of real and imaginary numbers...

http://en.wikipedia.org/wiki/Complex_number

User is offlineProfile CardPM
+Quote Post

y0da
RE: Help In C++, A Program Of Complex Numbers
4 Dec, 2006 - 10:11 AM
Post #6

D.I.C Head
Group Icon

Joined: 8 Nov, 2006
Posts: 62


Dream Kudos: 75
My Contributions
That shouldn't be to difficult... just input the numbers... Maybe that sounds hard to you but it doesn't to me.... Maybe I'm having trouble understanding what you posted... You just have to have a program with complex numbers in it?

User is offlineProfile CardPM
+Quote Post

Xing
RE: Help In C++, A Program Of Complex Numbers
4 Dec, 2006 - 04:31 PM
Post #7

D.I.C Addict
Group Icon

Joined: 22 Jul, 2006
Posts: 723



Thanked: 4 times
Dream Kudos: 1575
My Contributions
I found one snippet in this site
http://www.dreamincode.net/code/snippet75.htm
Though it needs chnages but it will give you a start.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 1/8/09 08:04PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month