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

please tell what is error on my coding?

hai ,
i am using turboc++ compiler to run my c program.
i written an program with structure sa foolws

struct s
{
float x;
}y;
when i am accessing the variable x it shows the following error
"floating point not linked"
Please tell what is wrong in my coding?

Dec 2 '05 #1
2 1584
venkatesh wrote:
turboc++ compiler "floating point not linked"

http://docs.mandragor.org/files/Prog...aq/q14.13.html

--
pete
Dec 2 '05 #2
venkatesh wrote:
hai ,
i am using turboc++ compiler to run my c program.
i written an program with structure sa foolws

struct s
{
float x;
}y;
when i am accessing the variable x it shows the following error
"floating point not linked"
Please tell what is wrong in my coding?


There are more compilers(16 bit) producing that effect.
If you do no actual calculation,the linker leaves out the
library ,cure is:
double x;
..
..
..
..
x=x+2.1;
before your print statement.
My compiler was from microsoft C 6.
leaving out float support for printing makes programs much
smaller(for those two compilers).
Dec 2 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Rv5 | last post by:
Let me start out by saying this is actually c++ code, but I couldn't get anyone on the c++ newsgroup to respond, and Id really like opinions. The code works fine, so Im not looking for syntax...
5
by: Bharat Shetty | last post by:
project doubt 1) ping all defined machines in the network from time to time, and alert (by an indicator on a web page or screen) when some machine is down (2) periodically check HTTP and FTP...
5
by: Beringer | last post by:
I am trying to access some functionality of the underlying RichTextBox control and am getting all mixed up with conversions of types. I know my basic issue is not completely understanding...
2
by: Raghu Raman | last post by:
Hi, * I used sql server7.0 with sqlserver authentcation.Now we are migrated to sqlserver2000. We are using windows2000. we go into the sqlserver2000 by windows authentication. I tried to...
59
by: Alan Silver | last post by:
Hello, This is NOT a troll, it's a genuine question. Please read right through to see why. I have been using Vusual Basic and Classic ASP for some years, and have now started looking at...
33
by: Martin Jørgensen | last post by:
Hi, In continuation of the thread I made "perhaps a stack problem? Long calculations - strange error?", I think I now got a "stable" error, meaning that the error always seem to come here now...
0
by: sunilrakesh435 | last post by:
Please help me for this webservice solution....... -------------------------------------------------------------------------------- Hi. Im sunil . Im new to use web services.I got a problem...
14
by: leanne123my | last post by:
Hi, I have some problem with my Microsoft Access 2003 coding. Can any expert please help to check out the problem and provide me the solution? I have a Order_form, I need to update the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.