This Post has some Previous Posts, you can access the first Main Post here: Some C++ Problems for Beginners (1) The code was written and tested on Visual Studio 2010 –> “Empty Windows Console Application” . if you don’t have Visual Studio, you can get the latest version from : -Visual C++ 2010 Express: http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express note that, you can also use another IDEs like: -Visual Studio Express 2012 for Windows Desktop: http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products#product-express-summary -CodeBlocks: http://sourceforge.net/projects/codeblocks -GNU C++ compiler GCC(g++): http://gcc.gnu.org/ -MingW GCC port for windows: http://www.mingw.org/ -C++ Builder (Borland): http://www.embarcadero.com/products/cbuilder -2DimArrayFrom1DimArray.cpp: Problem Definition: Supposing that you have the following 1 Dimensional Array called A as a known input: int A[10] = {1,1,2,5,3,4,9,8,7,1}; Fill the Char Array B (char B [10][10]) with the Histogram values taken from the Array A then Print the Histogram in B ================================================ output: ------- * * ** ***** *** **** ********* ******** ******* * ================================================
download the 2DimArrayFrom1DimArray.cpp (Commented, Explained Code) | |||||
Download all the C++ Simples I’ve created : C++ Problems |
Monday, June 3, 2013
Some C++ Problems for Beginners (7)
Subscribe to:
Post Comments (Atom)
How Cyber-Crimes Threaten Open Banking and How to Prevent Them
Open banking is transforming the way businesses and individuals interact with financial institutions, offering increased convenience, faster...
-
Hi Everyone, My post today is about Data Compression Techniques, I’ve decided to post about Data Compression because It’s ...
-
This Post has some Previous Posts, you can access the first Main Post here: Some C++ Problems for Beginners (1) The code ...
No comments:
Post a Comment