Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Today [10]

13 Dec 2012   #1731

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x86 Service Pack 1 - Linux Mint Mate 14 x64
 
 

I've began to relearn how to write in C++ again, been a very long time since I've had a go at programming, but here's my simple program so far (DOS-based):
Code:
#include <iostream>
using namespace std;

int main() {

	int number_one;
	int number_two;
	int answer;
	
	cout << "Here is simple sum of two numbers\n";
	cout << "Enter a number:";
	cin >> number_one;
	cin.ignore();
	cout << "Enter a second number:";
	cin >> number_two;
	cin.ignore();
	answer = number_one + number_two;
	cout << number_one << "+" << number_two << "=" << answer;
	
	cin.get();

	return 0;

}
My System SpecsSystem Spec
13 Dec 2012   #1732

 

Well done....I think.
My System SpecsSystem Spec
13 Dec 2012   #1733

Dual-boot: Windows 7 HP 32-bit SP1 & Windows XP Pro 32-bit SP2.
 
 

So am I.
My System SpecsSystem Spec
13 Dec 2012   #1734

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x86 Service Pack 1 - Linux Mint Mate 14 x64
 
 

Quote   Quote: Originally Posted by Baroness von Shush View Post
Well done....I think.
It gives the sum of whatever two numbers you enter, it's hardly a program to be honest
My System SpecsSystem Spec
13 Dec 2012   #1735

 

Quote   Quote: Originally Posted by x BlueRobot View Post
Quote   Quote: Originally Posted by Baroness von Shush View Post
Well done....I think.
It gives the sum of whatever two numbers you enter, it's hardly a program to be honest
Cant you do something useful and write us an app to make a UEFI bootable usb install stick!!!
My System SpecsSystem Spec
13 Dec 2012   #1736

Dual-boot: Windows 7 HP 32-bit SP1 & Windows XP Pro 32-bit SP2.
 
 

Quote   Quote: Originally Posted by x BlueRobot View Post
Quote   Quote: Originally Posted by Baroness von Shush View Post
Well done....I think.
It gives the sum of whatever two numbers you enter, it's hardly a program to be honest
Thanks, I now understand what this is.
My System SpecsSystem Spec
13 Dec 2012   #1737

 

Quote   Quote: Originally Posted by x BlueRobot View Post
Quote   Quote: Originally Posted by Baroness von Shush View Post
Well done....I think.
It gives the sum of whatever two numbers you enter, it's hardly a program to be honest
Looks good though!
My System SpecsSystem Spec
13 Dec 2012   #1738

Windows 7 Home Premium x64
 
 

I wish I had the patience to program again. Getting older, my perspective has changed. I can't stop looking at most programming languages as primitive constructs to craft computer code. At this point, we should be able to articulate pure business logic and requirements in very simple expressions (by voice or finger) that would then be modeled and generated by a computer. We wouldn't have to sweat out all of the idiosyncrasies of syntax and grammar of software infrastructure and rudimentary expressions but instead spend time on the real creativity of programming--coming up with abstract concepts and ideas that would be converted automatically by computer into functional programs.

[/rant]
Sorry... guess it had been a while since I'd gotten this off my chest.
My System SpecsSystem Spec
13 Dec 2012   #1739

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro x64
 
 

Quote   Quote: Originally Posted by cytherian View Post
I wish I had the patience to program again. Getting older, my perspective has changed. I can't stop looking at most programming languages as primitive constructs to craft computer code. At this point, we should be able to articulate pure business logic and requirements in very simple expressions (by voice or finger) that would then be modeled and generated by a computer. We wouldn't have to sweat out all of the idiosyncrasies of syntax and grammar of software infrastructure and rudimentary expressions but instead spend time on the real creativity of programming--coming up with abstract concepts and ideas that would be converted automatically by computer into functional programs.

[/rant]
Sorry... guess it had been a while since I'd gotten this off my chest.
Love the [/rant] bbcode tag

I keep telling myself that I'm going to learn. I got to an average standard with VB and C#, but I stopped during revision for my A-levels and when I came to pick up where I left off, I had forgotten so much of it, it didn't seem worthwhile. I want to get to a very good standard of C#, then possibly look into starting C++. C++ syntax looks horrific compared to C# though!
My System SpecsSystem Spec
13 Dec 2012   #1740

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

Quote   Quote: Originally Posted by z3r010 View Post
Angie needs another 4 likes on her facebook page so she can access all the page stats and stuff.

If you can could you please like http://www.facebook.com/HelpMeBake

Ta.
I enabled my dormant account to Like it I do like Help Me Bake

Quote   Quote: Originally Posted by z3r010 View Post
Remember folks there is also the Seven and Eight FB pages if you haven't liked them already.

http://www.facebook.com/sevenforums
http://www.facebook.com/eightforums
Liked both as well as long as I was at it

I don't know C+, but I was a C+ student in High School

A Guy
My System SpecsSystem Spec
Closed Thread

Thread Tools



Similar help and support threads for2: Today [10]
Thread Forum
Today [12] Chillout Room
I certainly won't be doing THIS today Chillout Room
Need a Hug Today? Chillout Room
Today [7] Chillout Room
Today [4] Chillout Room
Today [3] Chillout Room
Today Chillout Room

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

ę Designer Media Ltd

All times are GMT -5. The time now is 05:32 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33