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)
Some C++ Problems for Beginners (6)
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 -TwoDimArray.cpp: Problem Definition: Write a code fragment that construct a two-dimensional array (name it B) of integers with 5 rows and 5 columns. Then: -Fill-in the array B to contain the multiplication table from 1 to 5 -Find the sum of the numbers for each row -Find the sum of all numbers in the array
download the TwoDimArray.cpp (Commented, Explained Code) | |||||
Download all the C++ Simples I’ve created : C++ Problems |
Some C++ Problems for Beginners (5)
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 -ShapesAreas.cpp: Problem Definition: Write a program that take from the user "1" if Circle, "2" if Rectangle, "3" if Triangle, "4" if Square & "5" if Parallelogram then Calculate and Print the Area of the chosen Shape after taking the inputs from the user. Note: Area of a: Circle = π × r2 (read r from the user and consider that π = 3.14) Rectangle = w x h (read w and h from the user) Triangle = 1/2 base x h (read base and h from the user) Square = L2 (read L from the user) Parallelogram = base * h (read base and h from the user)
download the ShapesAreas.cpp (Commented, Explained Code) | |||||
Download all the C++ Simples I’ve created : C++ Problems |
Some C++ Problems for Beginners (4)
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 -ZeroSmaller.cpp: Problem Definition: Write a function called ZeroSmaller() that is passed three int arguments by reference and then sets the smaller of the three numbers to "0"
download the ZeroSmaller.cpp (Commented, Explained Code) | |||||
Download all the C++ Simples I’ve created : C++ Problems |
Some C++ Problems for Beginners (3)
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/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 -EquationProblem.cpp: Problem Definition: Without Using MATH.h write a program that can solve the following equation and Display "R" on the screen R = X^Y + Y^Z - (X + Y)^2
download the EquationProblem.cpp (Commented, Explained Code) | |||||
Download all the C++ Simples I’ve created : C++ Problems |
Some C++ Problems for Beginners (1)
Yesterday, I’ve decided to write some simple C++ programs to help beginners to know how to write some code; 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 1. –DynamicStars.cpp: Problem Definition: Write a Program that Dynamically draw Stars * from "N" entered by the User to 1 e.g. Input: 3 Output: *** ** *
download the DynamicStars.cpp (Commented, Explained Code) | |||||
Download all the C++ Simples I’ve created : C++ Problems |
Some C++ Problems for Beginners (2)
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 1. -AlphabeticalModulus.cpp: Problem Definition: Write a Program that read 2 Numbers from the user X & Y where 1<= Y <= 9 (if Y is not in the specified range terminate the program) Print R = X % Y (R = X Modulus Y) in English Letters e.g. if R = 5 --> Print "Five" note: R will always be a value between 0 and 9
download the AlphabeticalModulus.cpp (Commented, Explained Code) | |||||
Download all the C++ Simples I’ve created : C++ Problems |
Friday, September 28, 2012
What is Enterprise Search?
-Enterprise Search refers to “Search behind the corporate Firewall” or “It is the Search technology that the organization owns and controls” -Many applications could include search on a company’s website home page and tech support area, or e-commerce shopping sites. -So Enterprise search engines could be defined as all search engines except the public ones like Yahoo, Google and MSN (BING). | ||
For More Info Please Visit: What is Enterprise Search? |
How do Enterprise Search Engines differ from Web Search Engines?
1. The Enterprises world isn’t just a small Internet: –Many Enterprise Search Offering began life as a search engines to power generic Internet Portal Searching, Thus we should assume that if you could handle the internet, then of course you could handle a relatively puny private Enterprise Network… In Fact, It’s not true and this assumption is usually false, Thus.. Any Enterprise Search Engine should be customized and adjusted to work well in the non-Internet like networks.
2. Technical Differences in Search Requirements and Technologies: -Aside from the difference in the architecture and data volume between Internet Search and Enterprise Search, There are also differences in how the infrastructure is used and functional requirements such as:
3-Taxonomies and Vocabulary are critical: Companies always have a specific vocabulary such as: product names, projects, procedures and policies, Thus.. Taking advantages of these terms unique to the company is critical to making retrieval work better.
4-Dates are important: -Internet search is generally unaware of document dates because content on the internet always lock this info. e.g. if the corporate search for “Annual Reports” doesn’t return the Most recent document, The Employees will be unhappy for sure.
5-Corporate Data has Structure: In a corporate database and even in web contents, companies have a specific structure that make some results authorized or accessed for some employees and not permitted for some others.
Thus, Enterprise Search Engines have to be able to apply the company’s rules and hierarchy on the outputs returned to the employees.
Conclusion: There are dozens of things that make Enterprise Search Engines suprizingly difficult and that sometimes exceed the strength and size of the Public Engines created to empower the web such as Google, Yahoo and Bing.
| ||
For More Info Please Visit: Another Difference Between Enterprise Search and Web Search |
Sunday, September 18, 2011
WPF VS Silverlight
I’ve heard many developers talking about this topic; Here’s a Good research about WPF VS Silverlight that answers this famous question done by Eng. Ibraheem Osama Mohamed (MSP Egypt – Helwan Microsoft Tech-Club)
http://j.mp/WPF_vs_SL (PDF Version – 232 KB) | ||
For More Info Please Visit: Helwan Microsoft Tech-Club Page on Facebook |
Wednesday, September 7, 2011
How to install the Windows Phone Developer Tools on Windows Server 2008
The Windows Phone Developer Tools are not officially supported on operating systems other than Windows Vista or Windows 7. There is a way you can work around the Windows Server 2008 setup block if needed. Please note that this is not officially supported, so if you try these steps, you are doing so at your own risk.
| ||
For More Info Please Visit: Aaron Stebner's WebLog |
Monday, September 5, 2011
Installing SQL Server 2008 R2 (SQL Administration Part 2 - 1)
Hardware Requirements:
1-For SQL Server 2008 R2 Standard Edition “32 Bit” a-Processor -2.0 GHZ or higher “recommended” b-Operating System: -XP SP3 or higher b-Memory -MIN 1GB. -4 GB or more“recommended” -MAX 64 GB -Express Editions requires 192 MB and recommends 512 MB RAMS 2-For SQL Server 2008 R2 Standard Edition “64 Bit” a-Processor -2.0 GHZ or higher “recommended” b-Operating System: -XP Professional SP2 64x – Windows Server 2003 SP2 64x or higher b-Memory -MIN 1GB. -4 GB or more“recommended” -MAX 64 GB -Express Editions requires 192 MB and recommends 512 MB RAMS verify that you have at least 3.6 GB of available disk space on the system drive for these files before starting the SQL Server installation. -Database Components (Engine – data files – Replication – Full Text Search): 711 MB -Analysis Services: +90 MB (Average 345 MB) -Reporting Services: +120 MB (Average 304 MB) -Integration Services: +120 MB (Average 591 MB) -Client Components: +850 MB (Average 1823 MB) | ||
For More Info and to view the other SQL Server 2008 R2 Editions HW and SW Requirements Please Visit: Hardware and software requirements for installing SQL Server 2008 R2 |
Wednesday, April 27, 2011
Introduction to SQL Server 2008
Hi again, I’m Mohamed Adel Microsoft Middle East and Africa Data Platform Developer and I'll write a series of blog posts about SQL Server 2008 R2, hope you enjoy this series.
SQL Server Storage: -524272 TB per DB -32767 concurrent user connections -32757 Databases on a server -up to 2147483647 tables per database -1024 columns per table
SQL Server Versions and history: -Microsoft and IBM are the first to start The data base development concept @1989 -1998 MS OLAP TOOLS -2000 SQL Server 2000 (8.0) -9.0 SQL Server 2005 -10.0 SQL Server 2008 -Virtual Box (SUN Virtual Machine)
SQL Server Editions:
1-Core Editions (Standard & Enterprise)
| |||||||||||||||
For More Info Please Visit: SQL Server 2008 R2 Introduction |
AI-Enabled Risk Scoring for TPPs in Open Banking: A Game Changer for Ecosystem Trust
As Open Banking ecosystems mature globally, traditional banks, fintech startups, and regulators face a growing challenge: how to trust the g...
-
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 ...