- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
I have read some threads on this warning and I understand what the warning is and there have been suggestion on how to get around the warning, but how do you code it correctly not to get the error? In my class we are studing namespace,typedef, string functions the assignment … |
|
I closed out the other post I had "fill 2d array". The assignment is to read in a file to a 2d array that has the month #, high temp, low temp for each month. Then calculate the aver high and aver low and give the highest and lowest temps. … |
|
Assignment - read an input file that has month, highest temp for month and lowest temp for month. I have to use a function called GetData to fill the array. I define the array as 12 rows and 3 columns. Please could someone look at the code I have and … |
|
I think I understand functions but maybe not. I am getting an error on my open files function. I looked around a bit and didn't find any answers. The compile dies on line 36 'char' should be preceded by ')' I don't know whats wrong. Any help would be appreciated. … |
|
I have an if stmt which checks to see if a char value (upper or Lower) is equal to a value input by end user. My understanding was if you are using a char value in a conditional stmt you need to put single quotes around the char value. If … |
|
We are just learning user defined functions. Instructor has us taking a prev assignment and pulling the calculations into functions. I thought I understood how to do the function, but guess not I''m getting the "error term does not evaluate to a function taking 0 arguments." I have been working … |
|
I'm very new to C++, my midterm is requiring me to read from a txt file I created line by line. Each line has different subject code that requires some calculations. My understanding was that you open your file and read in the first line in the file, thats the … |
|
I posted last night with this question and I didn't include the coding (DUH). I am getting the error " error C2143: syntax error : missing ';' before '{' 1>c:\documents and settings\user\desktop\c++ programming\midterm2invoice\midterm2invoice\midterm2_invoice.cpp(68) : error C3861: 'While': identifier not found" Here is the code, everything works until it gets to … |
|
I have looked around on this forum and none of the past posts really addressed my issue. I created a .txt file with cust no first and last name. I open the file and read in the first line of the file, this part works well. And it displays to … |
|
Can anyone help me - The screen never pauses or stays put (after the end while) for the last 3 lines of code to display and the line right above the end while -totalinterestpd is not being written to the outfile I'm stumped. [CODE]while (MonthlyPayment <= LoanAmt) { MonthlyInterest = … |
|
I have never posted to a forum before. I am taking a beginning C++ prgmming class. I am getting the error "error C2181: illegal else without matching if " I have tried everything I can think of to fix it, I can't tell if its a syntax error (such as … |
|
I live in the Midwest. Height: average Weight: Not going there Age: lets just say I'm old Likes: Sunny days, blue sky, gardening (vegtables and flowers), cat lover. Music: Mostly Blues, I grew up listening to R&R like Lou Reed, Led Zeplin, Janis Joplin, Bob Seger. I listen to a … |