158 Topics

Member Avatar for
Member Avatar for lsbora
Member Avatar for seo2005

To convert 1310 to binary, the steps are as follows: 13/2 = 6 remainder 1 6/2 = 3 remainder 0 3/2 = 1 remainder 1 1/2 = 0 remainder 1 I didn't understand the last step. How can 1/2=0 . It should be 0.5 And how can remainder be 1. …

Member Avatar for BestJewSinceJC
0
86
Member Avatar for procomp65

Hi I need to format a decimal value to time and then display it in a textbox in the proper format. eg: double value = 1.25 to "1:15" I do not have a clue how to go about it Thanks

Member Avatar for procomp65
0
3K
Member Avatar for s.praneeth

Write a unit conversion program that asks the user to identify the unit from which they want to convert and the unit to which they want to convert. Legal units are inches, feet, miles, millimetres, centimetres, meters, and kilometres. Convert from? Inches Convert to? Millimetres Value? 10 10 in = …

Member Avatar for jlm699
0
335
Member Avatar for jim148

Hi you guys, just want how do you convert a number to word in c++ if it is in the thousands?:?:

Member Avatar for jim148
0
121
Member Avatar for wheel

Hello! I'm wondering how to go about packing data from an std::vector<unsigned long> into valid unicode (UTF-8) characters. So far, I've tried writing the unsigned long data directly to a text file, but that usually results in invalid characters. (I don't actually need to store the data in unsigned long …

Member Avatar for wheel
0
181
Member Avatar for ddanbe

Class to convert between Celcius, Fahrenheit and Kelvin temperatures. Set one temperature and automatically get the other two. This class makes use of properties. See the code snippet for details. A short main program is added to exercise the Temperature class by printing a conversion table between celsius and fahrenheit.

Member Avatar for ddanbe
0
2K
Member Avatar for ddanbe

If you have to convert an angle from degrees to radians and way back, here are some utility functions in C#, along with a program to test them. I made use of the "out" keyword here, which allows a function to return more than one value. An alternative would be …

0
340

The End.