473,385 Members | 1,402 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,385 software developers and data experts.

"f" is an assigned value that is never used

1
int a,b,f;
cout<<"enter two numbers";
cin>>a>>b;
f=(a+b)/2;
cout<<"average="<<f;


what does it mean by assigned value that is never used?
Jul 8 '17 #1
1 1734
weaknessforcats
9,208 Expert Mod 8TB
I have no idea. There is no such error using Visual Studio 2013
Jul 8 '17 #2

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

Similar topics

3
by: Cindy | last post by:
ASP.NET - C# (User Control) I have a drop-down as usercontrol. In the user control's Page_Init , the drop down gets populated. The SelectedItem.Text is retrived using property get The...
49
by: matty | last post by:
Hi, I recently got very confused (well that's my life) about the "undefined" value. I looked in the FAQ and didn't see anything about it. On...
5
by: Veeru71 | last post by:
Given a table with an identity column (GENERATED BY DEFAULT AS IDENTITY), is there any way to get the last generated value by DB2 for the identity column? I can't use identity_val_local() as...
21
by: Steven T. Hatton | last post by:
I'm trying to improve my formal understanding of C++. One significant part of that effort involves clarifying my understanding of the vocabulary used to describe the language. This is from the...
3
by: ncsthbell | last post by:
I have a column that is defined as a text field called 'Trip number'. The value may be 'ABC' , '1', '33', whatever the user assigns to it. Now they want me to 'autofill' the TripNumber with the...
14
by: Neviton | last post by:
Help with this error ! Please ! The code below is simplified, because I'm trying to solve this error. ....MyClass.cpp In member function `void MyClass::Initialize()': ....MyClass.cpp aggregate...
20
by: Pat | last post by:
I know it's not "fair" to compare language features, but it seems to me (a Python newbie) that appending a new key/value to a dict in Python is awfully cumbersome. In Python, this is the best...
6
subedimite
by: subedimite | last post by:
I have googled the functionality to use a Browse function to Look- in folders and then select required file from the folder. However when I close the data base and open again, I would like VBA to...
3
by: Psychogenisis | last post by:
I have designed a database in access 2010 to run my organisations budget system. I have a form with combo box where a unit selection is made. My problem is that there is a different pricelist table...
1
by: leeon0220 | last post by:
Hi guys .. My program is working however instead of putting the assigning f=='x' it must xl -- HOWEVER when i used xl the computation goes wrong .. what shoud i do .. THANKS in ADVANCE ...
1
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.