作者nevermind (別在意)
看板C_and_CPP
標題Re: [問題] c語言程式求助
時間Wed Oct 14 01:44:50 2009
Verilog testbed怎麼讀東西忘了XDDD
module kg2pound( pound, weight , clk , reset );
input [31:0] weight;
input clk;
input reset;
output [31:0] pound;
wire [31:0] pound;
assign pound=weight/0.454;
endmodule
: C++ Windows Form
: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
: {
: double w = System::Convert::ToDouble(this->textBox1->Text);
: this->label1->Text = this->textBox1->Text + "kg = " +
: System::Convert::ToString(w/0.454) + "lb";
: }
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.254.98
推 ckmarkhsu:同系的 推一下xd 10/14 02:38
推 mike1026915:推XD 10/14 07:31
推 cjwind:推XD 10/14 13:12
推 a96374177:同系推XD 10/14 15:15
推 AGanPTT:今天剛學VERILOG XD 10/16 02:20