473,320 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Need Help Asap On Compiling!! By 10:00 Tonight!!

2
:( I keep getting the same warning and I'm not sure how to fix it. Here's what my program looks like. The warning is an error C2065 and it's telling me that numWin and numDoor are unidentified variables. Can anyone help and soon?

# include <iostream>
using namespace std;
int main ()
{
double wallCost=25, winCost=18.73, doorCost=15.99;
int length, width, numWin, numDoor, wallSize, doorSize, winSize, cost;
int count=0;


// Ask user the length of their house.
cout << "How long is your house?\n";
cin >> length;

// Ask user the width of their house.
cout << "How wide is your house?\n";
cin >> width;

// Ask user how many windows they have.
for(count=0; count < numWin; count++)
{
cout << "How many windows does your house have?\n";
cin >> numWin;
}

// Ask user how many doors they have.
for(count = 0; count < numDoor; count ++)
{
cout << "How many doors does your house have?\n";
cin >> numDoor;
}
return 0;
}


PLEASE HELP ME, I NEED THIS DONE BY TONIGHT!!
Sep 14 '05 #1
0 1595

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Carsten Heesch | last post by:
Hi, I wrote some little python programs which run without problems. Now I'd like to compile them into byte-code. What do I have to do? Platform: SuSE Linux 8.2
2
by: pk | last post by:
Hi I am newb to .net and want to know how to compile an exe into dll so that I can add its reference in my project. I have to compile a file called 'test.exe' into 'test.dll'. what is the syntax...
2
by: Keith Kowalski | last post by:
I anm opening up a text file reading the lines of the file that refer to a tif image in that file, If the tif image does not exist I need it to send an email stating that the file doesn't exist...
2
by: john.placais | last post by:
Hello generous helper! I am trying to figure out how to port my code from 32-bit VC++ 6.0 to unmanaged C++ 64-bit VS2005. I have found the preprocessor definition changes and the linker changes,...
5
by: fortwaynemarketplace | last post by:
Need these two scripts; 1. (Action) script for email (outlook express or...) to come up in .swf enviroment. I have created a button (email us), need action scritps to send/recevie an email. ....
1
by: Dave Bruhn | last post by:
Need to get an Excel AddIn compiled for my son so he can support his thesis. I can get it to compile in VB 2005 Express, but I cannot get it to generate a .xla file, I just get a binary (dll?)...
2
by: Alenik1989 | last post by:
I wrote this code, but I'm not able to test it because im getting 3 errors. So I'm not sure that this code will work properly or not!!! the code in #include <stdio.h> #include <stdlib.h> int...
2
by: CRAIG DALTON | last post by:
Hi, I'm looking to append several text files in one director and out put the combined files into another director. I'm new to Python and just can't get itto work. So far I've been able to create...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.