Click here to Skip to main content
15,890,282 members
Home / Discussions / C#
   

C#

 
GeneralRe: character escaping problem Pin
sween24-Oct-04 2:25
sween24-Oct-04 2:25 
GeneralRequest a new login Pin
quilkin3-Oct-04 2:25
quilkin3-Oct-04 2:25 
GeneralRe: Request a new login Pin
Dave Kreskowiak4-Oct-04 7:12
mveDave Kreskowiak4-Oct-04 7:12 
GeneralRe: Request a new login Pin
quilkin4-Oct-04 7:42
quilkin4-Oct-04 7:42 
GeneralRe: Request a new login Pin
Anonymous4-Oct-04 8:13
Anonymous4-Oct-04 8:13 
GeneralRe: Request a new login Pin
Anonymous4-Oct-04 11:17
Anonymous4-Oct-04 11:17 
Questionwindows forms repeater? Pin
Roger Alsing2-Oct-04 23:52
Roger Alsing2-Oct-04 23:52 
GeneralNeed help coding a basic C# program Pin
Member 13850492-Oct-04 22:08
Member 13850492-Oct-04 22:08 
Hello,
I am self learning C# (visual C#) and I am doing some basic project. I just need some help in how I should code this program. I kind of thought through it, but i am trully not doing good. Just to keep moving, I thought I would ask for help in here. Here it is:

Write a program that will implement a Complex class and a simple Main program that will demonstrates the use this class.
You must create two classes. Complex stores its real part and imaginary part. Add a few constructors to allow statements like these ones:

Complex plxZ;
Complex plxX = new Complex (4.5, 6.0);
Complex plxY = new Complex (plxX);

Add five operators (+ - * / ^) to allow statements like these ones:

plxZ = plxX + plxY;
plxZ = plxX ^ 7;

Override the ToString() method to allow statements like these ones:

tbOutSum.Text = plxZ.ToString ();

Create a simple Main class to use Complex. This should allow the user to enter complex numbers and an integer, and then demonstrate the five operations on these numbers.



I will trully appreciate any help on this matter,Sigh | :sigh:
Thank you in advance,
A Newbie In Tha Block


GeneralRe: Need help coding a basic C# program Pin
Stefan Troschuetz2-Oct-04 23:44
Stefan Troschuetz2-Oct-04 23:44 
GeneralAdding Application on windows start up Pin
Zapss2-Oct-04 18:30
Zapss2-Oct-04 18:30 
GeneralRe: Adding Application on windows start up Pin
Nnamdi Onyeyiri3-Oct-04 0:04
Nnamdi Onyeyiri3-Oct-04 0:04 
GeneralRe: Adding Application on windows start up Pin
Zapss3-Oct-04 21:16
Zapss3-Oct-04 21:16 
GeneralRe: Adding Application on windows start up Pin
Nnamdi Onyeyiri4-Oct-04 1:30
Nnamdi Onyeyiri4-Oct-04 1:30 
GeneralRe: Adding Application on windows start up Pin
Member 12723814-Oct-04 19:17
Member 12723814-Oct-04 19:17 
GeneralRe: Adding Application on windows start up Pin
Zapss5-Oct-04 18:31
Zapss5-Oct-04 18:31 
GeneralScrolling Two Datagrids Simultaneously Pin
RFickling2-Oct-04 18:13
RFickling2-Oct-04 18:13 
GeneralRe: Scrolling Two Datagrids Simultaneously Pin
Heath Stewart3-Oct-04 9:29
protectorHeath Stewart3-Oct-04 9:29 
GeneralWeird Memory Problem Pin
matthias s.2-Oct-04 17:54
matthias s.2-Oct-04 17:54 
GeneralRe: Weird Memory Problem Pin
EssOEss2-Oct-04 18:26
EssOEss2-Oct-04 18:26 
GeneralRe: Weird Memory Problem Pin
matthias s.3-Oct-04 12:43
matthias s.3-Oct-04 12:43 
QuestionInet in C# ? Pin
youssef2-Oct-04 14:18
youssef2-Oct-04 14:18 
AnswerRe: Inet in C# ? Pin
eggie52-Oct-04 16:25
eggie52-Oct-04 16:25 
GeneralRe: Inet in C# ? Pin
youssef3-Oct-04 0:01
youssef3-Oct-04 0:01 
AnswerRe: Inet in C# ? Pin
Nnamdi Onyeyiri3-Oct-04 0:00
Nnamdi Onyeyiri3-Oct-04 0:00 
GeneralRe: Inet in C# ? Pin
youssef3-Oct-04 0:46
youssef3-Oct-04 0:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.