Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > General Computer Support > New Programmer needs help

Thread Tools

New Programmer needs help

Brusann Brusann is offline
Junior Member
Join Date: Sep 2009
Posts: 1
I just started programming and was trying to create this program but i keep getting errors i need help ive reviewed everything and it seems to be correct am i missing somehting?(using microsfot visual c++)

#include <iostream>
using namespace std;

int main()
int length, width;

cout << "Enter the length: ";
cin >> length;

cout << "Enter the width: ";
cin >> width;

cout << "The area is " << length * width;

return 0;

1>Practice learning - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

i keep getting this error, please help
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-programmer needs help with PyGTK-2.0.0 Mark Mitchell Python 6 05-28-2004 09:19 PM
New Java Script programmer needs help Kevin A. Stevens Javascript 0 05-13-2004 12:49 PM
new programmer needs some help Patrick Parks C++ 1 05-02-2004 06:44 PM
Beginner Programmer needs help Foxy Kav C++ 8 04-20-2004 02:25 PM
Non Java programmer needs help!! John Grogan Java 2 10-02-2003 09:13 AM