Seriously need help with C++

Tempest19

Superhero
Joined
Aug 25, 2006
Messages
7,350
Reaction score
0
Points
31
Hey by any chance does anyone on here know how to use C++?

Because I have an assignment in school that I can't begin to comprehend due to having one of those teachers that talks too fast to understand.

You scratch my back, I scratch yours...
 
Don't understand a single thing about putting the following together:

computerassignmentew6.jpg


Here's what I was able to put together:

RADIO BUTTON: FRESHMAN, JUNIOR, SOPHMORE, ETC.

<form>
<input type="radio" name="Grade" value="Freshman"> Freshman
<br>
<input type="radio" name="Grade" value="Junior"> Junior
<br>
<input type="radio" name="Grade" value="Sophomore"> Sophomore
<br>
<input type="radio" name="Grade" value="Senior"> Senior
</form>

SELECTION LIST

<wml>
<card title="What shows do you like?">
<p>
<select>
<option value="Supernatural">Supernatural</option>
<option value=&#8221;Smallville">Smallville</option>
<option value="Prison Break">Prison Break</option>
<option value="Heroes">Heroes</option>
</select>
</p>
</card>
</wml>

CELSIUS AND FARENHEIT

<html>
<head>
<script type="text/javascript">
function convert(degree)
{
if (degree=="C")
{
F=document.getElementById("c").value * 9 / 5 + 32
document.getElementById("f").value=Math.round(F)
}
else
{
C=(document.getElementById("f").value -32) * 5 / 9
document.getElementById("c").value=Math.round(C)
}
}
</script>
</head>

<body>
<p></p><b>Insert a number into one of the input fields below:</b></p>
<form>
<input id="c" name="c" onkeyup="convert('C')"> degrees Celsius<br />
equals<br />
<input id="f" name="f" onkeyup="convert('F')"> degrees Fahrenheit
</form>
<p>Note that the <b>Math.round()</b> method is used, so that the result will be returned as an integer.</p>
</body>

</html>
 
I'm taking see plus plus, but this is too advanced for me.
 
Yeah, sorry, I saw your code from your PM and it was a bunch of HTML and Javascript...

not C++ at all.

If you were using Visual Studio to develop I could help because you can generate html controls and such through the framework. I don't know enough to help you with straight C++...sorry.
 

Users who are viewing this thread

Back
Top
monitoring_string = "afb8e5d7348ab9e99f73cba908f10802"