Loading
Tweet
Videos
Blog
News
Forum
Games
Shop
Jobs
prev
Exporting Your Project
Probing the Secrets of Matte...
Lecture 5
Matrix Exponentials
Using Motion Presets
Creating Compositions
Lecture 10
Taylor Series
Musical Instruments, Sound C...
Pillage the Village
next
May 25, 2013, 10:01:58 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Welcome!
Forum Home
Help
Search Forum
Login
Register
XoaX.net Forum
>
Subjects
>
C++
>
Visual C++ IDE
(Moderator:
bluetoo
) >
Help Lesson 2 and 3
Pages: [
1
]
Go Down
« previous
next »
Send this topic
|
Print
Author
Topic: Help Lesson 2 and 3 (Read 441 times)
C++man
Newbie
Posts: 1
Help Lesson 2 and 3
«
on:
September 25, 2011, 07:06:15 PM »
Lesson 3:
#include <iostream>
int main() {
int iNumber;
iNumber = 3;
std::cout << iNumber << std::endl;
iNumber = 10;
std::cout << iNumber << std::endl;
return 0;
}
Lesson 2:#include <iostream>
int main() {
std::cout << "what is your favorite #?" << std::endl;
int iNumber;
std::cin >> iNumber;
std::cout << "your favorite number is " << iNumber << std::endl;
return 0;
}
I Appreciate whoever trys to help me
Logged
Michael Hall
Administrator
Hero Member
Posts: 903
Re: Help Lesson 2 and 3
«
Reply #1 on:
September 25, 2011, 09:17:04 PM »
Compile and execute using (Ctrl + F5). That should do it for you.
Mike
Logged
Pages: [
1
]
Go Up
Send this topic
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Subjects
-----------------------------
=> C++
===> Console
===> OpenGL
===> MFC
===> Win32
===> Visual C++ IDE
===> C++ Misc.
===> C
=> Computer Science
===> Algorithms
===> Computer Architecture
===> Graphics 3D
===> Neural Networks
===> UML
===> Development
=> Web Programming
===> PHP
===> HTML
===> CSS
===> Flash
===> Actionscript
===> Java
===> JavaScript
=> Math
=> Physics
=> English
=> Music
=> Children's
=> Software
=> Catholicism
=> Other
===> Puzzles and Tricks
===> How To Use a Computer
=> General Information
===> Site Suggestions
===> Off Topic
Loading...