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

errors: called object is not a fct~

1
These are the errors I'm getting when compiling this program:

testinglongwaycomplete.c:
c: In function `main':
c:50: error: called object is not a function
c:54: error: called object is not a function
c:58: error: called object is not a function
c:62: error: called object is not a function

Sorry if its a bit big, I wrapped it in [code] tags to make it somewhat easier to read and pinpoint the problems~

Expand|Select|Wrap|Line Numbers
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <time.h>
  4. #include <math.h>
  5.  
  6. int main()
  7. {
  8.  
  9.     float Mu, k, Cp, p;
  10.  
  11.  
  12.         bottom = (linear_search(T,table,26)) + 1;
  13.         top = (linear_search(T,table,26)) - 1;
  14.  
  15.         T0 = table[top][1];
  16.         T1 = table[bottom][1];
  17.  
  18.         Mu0 = table[top][3];
  19.         Mu1 = table[bottom][3];
  20.  
  21.         k0 = table[top][4];
  22.         k1 = table[bottom][4];
  23.  
  24.         Cp0 = table[top][4];
  25.         Cp1 = table[bottom][4];
  26.  
  27.         p0 = table[top][4];
  28.         p1 = table[bottom][4];
  29.  
  30.  /*(T,Mu)*/
  31.  Mu = Mu0+(T-T0)(T1-T0)/(Mu1-Mu0);
  32.  printf("Mu = %f\n", Mu);
  33.  
  34.  /*(T,k)*/
  35.  k = k0 + (T-T0)(T1-T0)/(k1-k0);
  36.  printf("k = %f\n", k);
  37.  
  38.  /*(T,Cp)*/
  39.  Cp = Cp0 + (T-T0)(T1-T0)/(Cp1-Cp0);
  40.  printf("Cp = %f\n", Cp);
  41.  
  42.  /*(T,p)*/
  43.  p = p0 + (T-T0)(T1-T0)/(p1-p0);
  44.  printf("p = %f\n", p0);
  45.  
  46.  
  47. }
Thanks a lot for the help!
Nov 20 '07 #1
1 1791
weaknessforcats
9,208 Expert Mod 8TB
I can't tell what the error is. The line nunbers on the errors are not in your post plus what you posted uses some variables that are not defined.

Please re-post.
Nov 20 '07 #2

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

Similar topics

31
by: lawrence | last post by:
I'm not sure how this is normally done, on a large site, perhaps one running Phorum. Occassionally a thread will have hundreds of entries, perhaps a meg or two worth of data. You won't necessarily...
3
by: chris | last post by:
hi i am trying to send a mail using C# and asp.net but i get the following error, object objMail = Server.CreateObject("CDO.Message"); objMail.From = "chris@hotmail.com"; objMail.To =...
2
by: Matt | last post by:
Hello all, The app we are working on uses custom errors extensively to provide friendly error pages to users whilst logging the actual exceptions behind the scenes. However.... We are now...
0
by: gilly3 | last post by:
I'm coming across all kinds of frustration implementing custom errors in ASP.NET 1.1. First, 401 - Authorization Failed My application uses Windows Integrated Authentication, and restricts...
3
by: walkeraj | last post by:
I'm trying to compile an open source game called IVAN , and I'm able to compile it from a makefile, but not from an IDE. I have attempted to recreate the way the makefile compiles the project as...
0
by: bacsumu | last post by:
In my c# program ive got a WebBrowser control in which a certain website is called. This website gives for some reason a javascript errors (message box) from time to time. Is there a way to build...
5
by: hemdagem | last post by:
<% 2. option explicit 3. ' 4. set fs=CreateObject("Scripting.FileSystemObject") 5. set tfile=fs.CreateTextFile("c:\somefile.txt") 6. test = "Hello World!" 6. tfile.WriteLine(test) 7. ' 8....
7
by: brett.estabrook | last post by:
I have written a multi-threaded c# windows service in .net 1.1 (Visual Studio .net 2003). The service has several threads that poll a Sql 6.5 database on another machine. Each thread will execute a...
4
by: daivdh | last post by:
I recently tried to download and install a Gadget called "Piano" which would put a piano keyboard on the screen. It downloaded and installed okay. When I dragged the keyboard from the sidebar onto...
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: 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...
0
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,...
0
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...
0
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...
0
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...

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.