473,775 Members | 2,592 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1607
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
421
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 help. Im more interested in general programming practice and style critiques. I think it is good code, but Ive said that and been wrong before. Despite it not being pure C, Im hoping someone can still help me. One thing to keep in mind if you do...
5
1573
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 ports of important machines (like your intranet server) to verify that services are running and responding properly (3) can check if there is any networking problem like ping delay or HTTP server responding slow (4) sysadmins can add custom service...
5
2787
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 reference types in C#. I would be much obliged if someone could "educate" me some. Since I need to use the SendMessage of User32.dll I defined the following: private static extern IntPtr SendMessage(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam);...
2
2215
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 develop an application in vb.net by having the connection string from the oledbconnection object which is dragged from the toolbox.I copied that con..string and i used it from my coding.
59
5025
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 ASP.NET. At first glance, it looks excellent, albeit nothing that couldn't have been done to Classic ASP. I have been through a few tutorials and was impressed with how quickly you can get database info onto a page.
33
2869
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 (tried: visual studio 2005 + linux/macintosh gcc)... That's a pretty good thing. I think the error still appears using both gcc and visual studio 2005. Everything is standard C (ANSI C ?? I don't know the difference) - but since so many functions...
0
905
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 while using web services like this., while im running the .NET coding, first it is showing webservice page with name "outbound". while clicking outbound again its opeaning webservice page with showing xml path, there im giving xml path, after that...
14
2003
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 totalQuantity into Product_table, Quantity_field. the code is as below:- dim total, tQuantity, tOrder as long tQuantity = Form_frmProduct.Quantity.value tOrder = Me! .value
0
9622
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10107
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10048
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9916
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8939
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7464
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5360
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4017
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.