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

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




REsistor color code

 
Reply to this topicStart new topic

REsistor color code, Program to calculate resistor color code

mada
3 Dec, 2007 - 06:28 PM
Post #1

New D.I.C Head
*

Joined: 3 Dec, 2007
Posts: 6


My Contributions
mad.gif

This post has been edited by mada: 4 Dec, 2007 - 06:27 PM
User is offlineProfile CardPM
+Quote Post

mada
RE: REsistor Color Code
3 Dec, 2007 - 06:47 PM
Post #2

New D.I.C Head
*

Joined: 3 Dec, 2007
Posts: 6


My Contributions
Im really clueless, should I do another switch inside that one with loop around it? will that even work? I got the formula down for 3 bands its =(band1*10)+band2*10^band3
User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: REsistor Color Code
3 Dec, 2007 - 06:59 PM
Post #3

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 4,101



Thanked: 25 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
I can't really make out your problem, but i hope this helps:
Attached Image
User is offlineProfile CardPM
+Quote Post

mada
RE: REsistor Color Code
3 Dec, 2007 - 07:06 PM
Post #4

New D.I.C Head
*

Joined: 3 Dec, 2007
Posts: 6


My Contributions
Problem is I dont know whre to start, thanx anyway
User is offlineProfile CardPM
+Quote Post

mada
RE: REsistor Color Code
4 Dec, 2007 - 06:03 PM
Post #5

New D.I.C Head
*

Joined: 3 Dec, 2007
Posts: 6


My Contributions
mad.gif

This post has been edited by mada: 4 Dec, 2007 - 06:26 PM
User is offlineProfile CardPM
+Quote Post

Nayana
RE: REsistor Color Code
4 Dec, 2007 - 06:55 PM
Post #6

DIC Hawk - 나야나 नयन:
Group Icon

Joined: 14 Nov, 2007
Posts: 824



Thanked: 5 times
Dream Kudos: 175
My Contributions
Your first post appears to have nothing in it. You haven't even explained your problem.
User is offlineProfile CardPM
+Quote Post

mada
RE: REsistor Color Code
4 Dec, 2007 - 07:06 PM
Post #7

New D.I.C Head
*

Joined: 3 Dec, 2007
Posts: 6


My Contributions
noone helped me in 2 days, so i removed it

This post has been edited by mada: 4 Dec, 2007 - 07:06 PM
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 1/8/09 02:21PM

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