473,516 Members | 3,465 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

meaning of double f[someinteger]?

84 New Member
I have a program defining a structure where there is this following line:
Expand|Select|Wrap|Line Numbers
  1. struct TASK{
  2.  double  f[MAX_TASKARRAY_SIZE];
  3. (...)
  4. }
  5.  
What does it mean? What is f?
Maybe I just have a black-out and it is something trivial, sorry in that case...
Jul 17 '07 #1
2 1638
Meetee
931 Recognized Expert Moderator Contributor
I have a program defining a structure where there is this following line:
Expand|Select|Wrap|Line Numbers
  1. struct TASK{
  2.  double  f[MAX_TASKARRAY_SIZE];
  3. (...)
  4. }
  5.  
What does it mean? What is f?
Maybe I just have a black-out and it is something trivial, sorry in that case...
f is an array of MAX_TASKARRAY_SIZE sizewith type double. MAX_TASKARRAY_SIZE is a macro defined previously.

Regards
Jul 17 '07 #2
sanctus
84 New Member
f is an array of MAX_TASKARRAY_SIZE sizewith type double. MAX_TASKARRAY_SIZE is a macro defined previously.

Regards
IT was trivial then and I knew it, had just a blackout, thanks very much.

Note to myself: do not try to understand a program having slept only a couple of hours!
Jul 17 '07 #3

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

Similar topics

44
16278
by: Daniel | last post by:
I am grappling with the idea of double.Epsilon. I have written the following test: public void FuzzyDivisionTest() { double a = 0.33333d; double b = 1d / 3d; Assert.IsFalse(a == b, "Built-in == operator should not be
5
1605
by: =?Utf-8?B?Sm9seW5pY2U=?= | last post by:
Hi everyone, I am learning c# and i don´t understand a piece of code , can anyone explain the meaning of this code please. public class vector { public double? R = null; //I suppose this is a Generic Type ??? ..........
0
7182
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...
0
7405
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7574
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...
0
5712
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...
0
4769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3265
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...
0
3252
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1620
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
1
823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.