Forum: C++ Aug 18th, 2005 |
| Replies: 54 Views: 13,149 #include<iostream>
using namespace std;
int i;
typedef float sequence[];
int main()
{
for (i = 0; i<=12; i++){ |
Forum: C++ Aug 18th, 2005 |
| Replies: 54 Views: 13,149 is it like this
#include<iostream>
using namespace std;
int main()
{ |
Forum: C++ Aug 18th, 2005 |
| Replies: 54 Views: 13,149 no.....please help me only ones |
Forum: C++ Aug 18th, 2005 |
| Replies: 54 Views: 13,149 thanks i am done with that question.....can you help on this.... read 12 values for double array monthly temperatures from the keyboard......write single statement that perform,,,, |
Forum: C++ Aug 17th, 2005 |
| Replies: 54 Views: 13,149 write a program that prints the powers of the nteger 2, namely 2,4,8,16,32,64, etc your while loop should not terminate(i.e you should create an infinite loop) to do this, simply use keyword true as... |
Forum: C++ Aug 17th, 2005 |
| Replies: 54 Views: 13,149 can you help me please on this question..................
write single statements that performs the following on,
intialize the 10 elements of integer array counts to zero
add 1 to each of... |
Forum: C++ Aug 17th, 2005 |
| Replies: 6 Views: 3,839 can anybdy help on this question......write a program that uses a for statement to calculate and print the average of several integers. assume the last value read is the sentinel 9999. a typical... |
Forum: C++ Aug 17th, 2005 |
| Replies: 54 Views: 13,149 10,,,,,8,,,,,11,,,,,7,,,,,9,,,,,,,9999 |
Forum: C++ Aug 17th, 2005 |
| Replies: 54 Views: 13,149 can anybody help me on this question write a program that use a statement to calculate and print the average of several integers. assume the last value read is the sentinel 9999. a typical input... |
Forum: C++ Aug 16th, 2005 |
| Replies: 54 Views: 13,149 |
Forum: C++ Aug 14th, 2005 |
| Replies: 54 Views: 13,149 #include<iostream>
#include<string>
using namespace std;
class employee
{
string first;
string last;
int salary; |
Forum: C++ Aug 14th, 2005 |
| Replies: 54 Views: 13,149 #include<iostream>
#include<string>
using namespace std;
class employee
{
string first;
string last;
int salary; |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 that is the best thing can i do.......please write for me the rest and main.....i am doing this question for more than 2 weeks....or give me a tips |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 << moderator edit: this is the last time I add (http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#code) tags before I close this thread and send you to follow this link I keep posting... |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 \\what to write there.....please help only ones....please |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 is that the answers for this question........or i need to change a bit
(employee class) create a class called employee that include three
pieces of information as data members - a first name... |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 .....void getdata(void)
void setdata(void)
only this two error......i still dont know how to do this |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 int main()
{
void employee::getdata(void)
{
cout<<"a first name:";
cout<<"a last name:";
cout<<"month;y salary:";
}
void employee::setdata(void)
{ |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 so how to change it.........getdata and setdata |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 #include<iostream>
using namespace std;
class employee
{
string first;
string last;
int salary;
public: |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 brother i want to ask you.......the program that i write is it can use for this question
(employee class) create a class called employee that include three
pieces of information as data... |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 << moderator edit: added code tags (http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#code): >>#include<iostream>
using namespace std;
class employee
{
string first;
string last;... |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 way.cpp(16): error C2065: 'monthly' : undeclared identifier
way.cpp(16): error C2146: syntax error : missing ';' before
identifier 'salary'
way.cpp(17): error C2146: syntax error : missing... |
Forum: C++ Aug 13th, 2005 |
| Replies: 54 Views: 13,149 << moderator edit: added code tags (http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#code): >>#include<iostream>
using namespace std;
class employee
{
string first;
string last;... |
Forum: C++ Aug 12th, 2005 |
| Replies: 54 Views: 13,149 still got error.....please correct me |
Forum: C++ Aug 12th, 2005 |
| Replies: 54 Views: 13,149 #include<iostream>
using namespace std;
class employee
{
declare name as a string;
last name as a string;
monthly salary as a int; |
Forum: C++ Aug 12th, 2005 |
| Replies: 54 Views: 13,149 Originally Posted by mugilan
create a class called employee that include three pieces of information as data members
- a first name(tye string),
a last name(type string)
and a monthly... |
Forum: C++ Aug 12th, 2005 |
| Replies: 54 Views: 13,149 this is the last one.......
(employee class)create a class called employee that include three pieces of information as data members - a first name(tye string), a last name(type string) and a... |
Forum: C++ Aug 12th, 2005 |
| Replies: 54 Views: 13,149 explain the difference between a function prototype and function definition.....what about this question......mate |
Forum: C++ Aug 12th, 2005 |
| Replies: 54 Views: 13,149 what about this question.........what is a default comstructor? how are an object's data members initialized if a class has only an implicitly defied default constructor? explain the purpose of data... |