View previous topic :: View next topic |
Author |
Message |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Fri Nov 16, 2007 10:23 pm Post subject: [Release] Lurc's Temperature Convertor |
|
|
Well, I made this along time ago in C++.NET and i thought i would share it to people.
You will probably have to recompile it seeing as my VS 2005 is fucked with C++ for some reason.. so it wont allow me to make, compile, or add stuff to new projects, so i edited the form, and added the code, u just have to compile it. (only changes made to the about)
nothing special, just thought ide share it. This might help people understand some Form Work with C++.NET for those that are confused with it.
Sorry for RS.Com link, src to big for CEF and mediafire was down
Download:
http://rapidshare.com/files/70265684/Temp_Conversion_v2.1_SRC.rar
Mirror:
http://www.sendspace.com/file/ko0uhh
Screeny Below, have fun
Description: |
|
Filesize: |
7.52 KB |
Viewed: |
4094 Time(s) |

|
_________________
Last edited by lurc on Sat Nov 17, 2007 9:27 am; edited 1 time in total |
|
Back to top |
|
 |
Sỵmbol Advanced Cheater
Reputation: 0
Joined: 15 Nov 2007 Posts: 67 Location: Creating a new "Symbol".
|
Posted: Fri Nov 16, 2007 10:36 pm Post subject: |
|
|
Anywhere else exept rapidshare?
sendspace/attach cef would be good.
_________________
|
|
Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sat Nov 17, 2007 9:27 am Post subject: |
|
|
SendSpace DL link added
_________________
|
|
Back to top |
|
 |
superpure23 Advanced Cheater
Reputation: 0
Joined: 20 Oct 2007 Posts: 74 Location: At a computer.
|
Posted: Sun Nov 18, 2007 12:03 am Post subject: |
|
|
Thanks...This will be useful for my homework.
|
|
Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Sun Nov 18, 2007 2:16 am Post subject: |
|
|
Thanks! I started C++ few days ago.
Edit: Damn, its OOP.
I wanted to learn some functional programming.
But its still nice.
|
|
Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sun Nov 18, 2007 10:45 am Post subject: |
|
|
yea, i wanna learn some functional C++ programming to, only problem is im stuck with Dev-C++ and it's shit compared to VS 2005 which for some reason is broken with my C++, and i dont feel like reformating my entire computer for it....
_________________
|
|
Back to top |
|
 |
Heartless I post too much
Reputation: 0
Joined: 03 Dec 2006 Posts: 2436
|
Posted: Sun Nov 18, 2007 12:36 pm Post subject: |
|
|
Wow, you even added Kelvin!
|
|
Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Sun Nov 18, 2007 1:58 pm Post subject: |
|
|
Hey, I was coding my own temperature convertor (funcrtional programming not a form yet... console )
I was wondering if these are the formulas to convert.
Code: | Celsius to Fahrenheit.
(1.8 * Celsius) + 32 = Fahrenheit.
Celsius to Kelvin.
Celsius + 273.15 = Kelvin.
Fahrenheit to Celsius.
((5.0 / 9.0) * Fahrenheit - 32)) = Celsius.
Fahrenheit to Kelvin.
(Fahrenheit + 459.67) * 5.0/9.0 = Kelvin.
Kelvin to Celsius.
Kelvin - 273.15 = Celsius.
Kelvin to Fahrenheit.
Kelvin * (9.0 / 5.0) - 459.67 = Fahrenheit. |
(Taken out of yours )
Thanks.
|
|
Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sun Nov 18, 2007 2:20 pm Post subject: |
|
|
slight code change if u havnt caught it already, my bad (about form, button1 click event)
Code: | else if (button1->Text == "Hide")
{
this->ClientSize = System::Drawing::Size(233, 62);
this->linkLabel1->Location = System::Drawing::Point(9, 42);
this->linkLabel2->Location = System::Drawing::Point(77, 42);
this->button1->TabIndex = "Show";
} |
should be Code: | else if (button1->Text == "Hide")
{
this->ClientSize = System::Drawing::Size(233, 62);
this->linkLabel1->Location = System::Drawing::Point(9, 42);
this->linkLabel2->Location = System::Drawing::Point(77, 42);
this->button1->Text = "Show";
} |
Edit: and yea Symbol, those are the conversions
_________________
|
|
Back to top |
|
 |
|