No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
This is a program..to implement stack operations..it is working fine..but a warning message is being displayed..as " Functions containing for are not expanded inline". I would be glad if anyone can tell me the reason for this. Thanks for all the support. #include<iostream.h> #include<conio.h> #include<stdlib.h> #define max 5 [CODE]class stack … |
|
Hi..this is a program to find if the no. is prime and to find the factorial of a given no. i have validated this program ..so that it gives an error message and [U]exits[/U] when negative nos. or zero are given as input. Instead of exit..i want to display the … |
|
Re:
I've been working on this for hours I know the errors are staring me in the face but I just can't see them. Any help would be greatly appreciated. //prb01-1.cpp //This program calculates the total surface area of a pool #include <iostream.h> #include<iomanip.h> //using namespace std: int main() { const … |
|
[code] // PROGRAM TO FIND THE NEXT DATE OF A GIVEN DATE #include<iostream.h> #include<conio.h> class udate { int day, month, year; public: void read() { cin>>day>>month>>year; } void write() { cout<<day<<"/"<<month<<"/"<<year; } friend int valid(udate); void operator++(); }; int valid(update D) { int d = D.day; int m = D.month; … |