04-05-2007
How Many Times The Code will Run
Dear All,
I have a code in C language i.e.
#include<stdio.h>
main()
{
float i;
for(i=0.0;i<10.0;i=i+0.1)
{
printf("%f",i);
}
}
Can any body tell me how many times this code will run?????????
6 More Discussions You Might Find Interesting
1. HP-UX
Hi:
I am new to HP-UX. After the system starts up, it is written in the documents that press any key within 10 sec to interrupt, and go to the main prompt, where I can select the boot device or boot from CD to recover system. However if I interrupt boot, it goes straight to HPUX> prompt. Please... (2 Replies)
Discussion started by: amitra123
2 Replies
2. UNIX for Dummies Questions & Answers
hello everyone..
am having problem with my so-called main makefile
all my files are in the same folder, i was planning to make a single makefile that would make two executable but I got some errors so I separated them and used
now i was wondering if I could create a single makefile... (6 Replies)
Discussion started by: ideur
6 Replies
3. Programming
Is it possible to execute any function before main() function in C or C++. (6 Replies)
Discussion started by: arun.viswanath
6 Replies
4. UNIX and Linux Applications
We compile the sendmail.cf file using main.mc. I have managed to place all of our configuration options in main.mc without a problem, with the exception of one.
I want to have the HelpFile commented out by default in sendmail.cf. How can I instruct main.mc to place an entry for HelpFile in... (1 Reply)
Discussion started by: dangral
1 Replies
5. Shell Programming and Scripting
It seems $? can only contain one byte. see below:
int main()
{
return 0x12345678;
}
After I run the code and check the $? value it output 120, obviously it is the decimal of the last byte of 0x12345678. And if I return a value less than 255, the $? value seems right.
Why? and... (3 Replies)
Discussion started by: vistastar
3 Replies
6. Shell Programming and Scripting
Hi ,
I have a script that will move files which have a datetime >= currentdate-N from a source to destination folder.the input parameter are 1) Configurable N days value,2) source folderand 3) destination folder and finally the output would be The old files are moved...I have developed the... (14 Replies)
Discussion started by: nks342
14 Replies
LEARN ABOUT PHP
swfdisplayitem
SWFDISPLAYITEM(3) 1 SWFDISPLAYITEM(3)
The SWFDisplayItem class
INTRODUCTION
SWFDisplayItem.
CLASS SYNOPSIS
SWFDisplayItem
SWFDisplayItem
Methods
o
void SWFDisplayItem::addAction (SWFAction $action, int $flags)
o
void SWFDisplayItem::addColor (int $red, int $green, int $blue, [int $a])
o
void SWFDisplayItem::endMask (void )
o
float SWFDisplayItem::getRot (void )
o
float SWFDisplayItem::getX (void )
o
float SWFDisplayItem::getXScale (void )
o
float SWFDisplayItem::getXSkew (void )
o
float SWFDisplayItem::getY (void )
o
float SWFDisplayItem::getYScale (void )
o
float SWFDisplayItem::getYSkew (void )
o
void SWFDisplayItem::move (float $dx, float $dy)
o
void SWFDisplayItem::moveTo (float $x, float $y)
o
void SWFDisplayItem::multColor (float $red, float $green, float $blue, [float $a])
o
void SWFDisplayItem::remove (void )
o
void SWFDisplayItem::rotate (float $angle)
o
void SWFDisplayItem::rotateTo (float $angle)
o
void SWFDisplayItem::scale (float $dx, float $dy)
o
void SWFDisplayItem::scaleTo (float $x, [float $y])
o
void SWFDisplayItem::setDepth (int $depth)
o
void SWFDisplayItem::setMaskLevel (int $level)
o
void SWFDisplayItem::setMatrix (float $a, float $b, float $c, float $d, float $x, float $y)
o
void SWFDisplayItem::setName (string $name)
o
void SWFDisplayItem::setRatio (float $ratio)
o
void SWFDisplayItem::skewX (float $ddegrees)
o
void SWFDisplayItem::skewXTo (float $degrees)
o
void SWFDisplayItem::skewY (float $ddegrees)
o
void SWFDisplayItem::skewYTo (float $degrees)
PHP Documentation Group SWFDISPLAYITEM(3)