Click here to Skip to main content
15,892,059 members
Articles / Programming Languages / C++

A Literal Converter for Integers

Rate me:
Please Sign up or sign in to vote.
4.18/5 (5 votes)
19 Aug 2009CPOL3 min read 62.6K   1.4K   22  
A helper class to convert integer literals between decimals, octals, binaries and hexadecimals.
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LiteralConversion_demo", "LiteralConversion_demo\LiteralConversion_demo.vcproj", "{ECDD37B2-8163-456A-825F-0384A2C809D8}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Console_Demo", "Console_Demo\Console_Demo.vcproj", "{95C9FEB0-AC50-4881-BD75-3A268CEDE69D}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Win32 = Debug|Win32
		Release|Win32 = Release|Win32
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{ECDD37B2-8163-456A-825F-0384A2C809D8}.Debug|Win32.ActiveCfg = Debug|Win32
		{ECDD37B2-8163-456A-825F-0384A2C809D8}.Debug|Win32.Build.0 = Debug|Win32
		{ECDD37B2-8163-456A-825F-0384A2C809D8}.Release|Win32.ActiveCfg = Release|Win32
		{ECDD37B2-8163-456A-825F-0384A2C809D8}.Release|Win32.Build.0 = Release|Win32
		{95C9FEB0-AC50-4881-BD75-3A268CEDE69D}.Debug|Win32.ActiveCfg = Debug|Win32
		{95C9FEB0-AC50-4881-BD75-3A268CEDE69D}.Debug|Win32.Build.0 = Debug|Win32
		{95C9FEB0-AC50-4881-BD75-3A268CEDE69D}.Release|Win32.ActiveCfg = Release|Win32
		{95C9FEB0-AC50-4881-BD75-3A268CEDE69D}.Release|Win32.Build.0 = Release|Win32
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader
China China
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions