okeys thanku. I'll keep that in mind.
Type: Posts; User: o0o
okeys thanku. I'll keep that in mind.
brackets?
whats the logic behind brackets??
Ofcourse '==' is 100% right. I am using a DEV-C++ compiler and it gives 3 errors for the following code;
#include<iostream>
#include<conio.h>
void perfect(int); // function prototype
...
okeys it reduces to 3 errors if i do so but the compiler gives this error now
:...:' in function void perfect(int).
&
:39: name
lookup of `value' changed for new ISO `for' scoping
#include<iostream>
#include<conio.h>
void perfect(int); // function prototype
using std::cout;
using std::cin;
using std::endl;
int main()
got it now thanku/
didn't get that/
#include<iostream>
#include<conio.h>
using std::cout;
using std::cin;
using std::endl;
// function prototype
double small(double,double);
int main()
{
thanku salem
just a slight change makes it work.
only adding double or static_cast<double> doesn't give the required results on my dev c++ compiler.
y? is that?
double Celsius( double valueA )
{
#include<iostream>
#include<conio.h>
using std::cout;
using std::cin;
using std::endl;
// functions prototypes
double Celsius( double );
Yes it works and sorry i missed another *60 in hours to convert it into secds/ thanku
I guess it should be like this
int x = randomValue;
randomValue = 0 + rand()%100;
#include<iostream>
#include<conio.h>
using std::cout;
using std::cin;
using std::endl;
// function prototype
void showTimeH( int );
The only prob u r facing at the moment is that your system doesn't pause so that u can see the output.
here try to include cstdlib in ur code.
#<iostream>
#include<cstdlib> // in older...
y? don't u try this code.
#include<iostream>
#include<conio.h>
using std::cout;
using std::endl;
int main()
lol hahaaa !!
Thanku very much salem.
:) I will now keep spellings in mind.
#include<iostream>
#include<conio.h>
using std::cout;
using std::cin;
using std::endl;
// function prototype
void printSquare( int );
try this code to decript 6543 to 9876.
#include<iostream>
#include<conio.h>
using std::cout;
using std::cin;
using std::endl;
Thanku Calthun.I got it.And yes I didn't initialize the variables.Got to keep that in mind in future.:cool:
#include<iostream>
#include<conio.h>
#include<iomanip>
using std::cout;
using std::cin;
using std::endl;
using std::setw;
int main()
Value of e is to be found by the formula
e=1+1/1!+1/2!+1/3!+..................
The following code give value only upto 5!.Although it should increment num and use the new value (ie...
Theory is very important and ofcourse we cannot only rely on theory cuz lots of coding practice is also needed.So I'll just advise u to concentrate on both theory and coding practice.Solve the...
sorry couldn't attach the file
#include<iostream>
#include<conio.h>
using std::cout;
using std::cin;
using std::endl;
int main()
{
// declare variables