Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~17.3K People Reached
Interests
Programming
Favorite Forums
Favorite Tags

13 Posted Topics

Member Avatar for Mahnoor_1

Question is: Create a class Employee with following constraints in mind: 1. Declare three private data members named id,name,NIC of int,string,long respectively. 2. Overload stream insertion and stream extraction operators. Implement a global function named saveData, that'll allow the user to enter any number of employee's data and store it …

Member Avatar for Muhammad_251
0
4K
Member Avatar for Mahnoor_1

Write a program that displays the same string in four different colors,using a loop. Call the SetTextColor procedure.Any color may be chosen, but you may find it easiest to change the forground color. Include irvine32.inc .data Str BYTE “This is the string”, 0 Color BYTE red,yellow,blue,cyan .code Main PROC Mov …

Member Avatar for ShiftLeft
0
203
Member Avatar for Mahnoor_1

I know coding in c++ pretty much ..but I want to learn graphics .. I am using DEV-C++ 5.11 .. Can anyone tell me online link to graphics site?

Member Avatar for dilantha.prasanjith.96
0
135
Member Avatar for Mahnoor_1

I'm working on exception handling. Here is my code, I need some help.. Requirements: => If the user push a value to stack when stack is full,it must throw an exception of type "cInvalidPush". => If the user pop a value from stack when stack is empty , it must …

Member Avatar for ipswitch
0
372
Member Avatar for Eng-Mohammed
Member Avatar for Mahnoor_1

Ok guys ! I'm trying to study operator overloading. which i found the toughest article in OOP :( I tried a code for == operator overloading to check whether both arrays have same elements or not but it isn't working. Can anyone help? Here is my code: #include<iostream> using namespace …

Member Avatar for aleeha.saqib.5
0
241
Member Avatar for Mahnoor_1

I have a little confusion in my mind. I know very well the difference between preincrement and postincrement, postdecrement and predecrement. But i wonder how do these operators work during loop. I ,myself, use postincrement or decrement in loop as follows: for(int i=0;i<5;i++) { //code } But in my book …

Member Avatar for Mahnoor_1
0
282
Member Avatar for Dave Sinkula

Im reading C++,How to Program by deitel & deitel..A good book indeed. [Click Here](http://ebook-dl.com/item/c_plus_plus_how_to_program_8th_edition_paul_deitel_harvey_deitel/)

Member Avatar for shahidali6
11
10K
Member Avatar for Mahnoor_1

I need to find out the output of the following code snippet return by function go(2) ... int a=10; int go(int b) { if(b<=4) return b; else return go(b+1)*go(b-2)-(b*2); ++a; cout<<a; return -1; } When I do the dryrun myself on paper , it should first return the value of …

Member Avatar for Mahnoor_1
0
174
Member Avatar for Graceyy Fanning
Member Avatar for Mahnoor_1

hey guys Im here again :P Here is my code for bank account class.. #include<iostream> #include<iomanip> using namespace std; class account { private: int account_balance; public: account(int acc) //constructor { if(acc>=0) { account_balance=acc; } else { account_balance=0; cout<<"initial balance is invalid"<<endl; } } int credit(int ammount) //credit member function { …

Member Avatar for Mahnoor_1
0
226
Member Avatar for Mahnoor_1

can anyone please tell me what's wrong with my code? I have made this code but the compiler is giving the error that all member functions are non-class type. I can't fix this. Here is my code: #include<iostream> #include<string> using namespace std; /*class Invoice which demonstrates capabilties */ class invoice …

Member Avatar for Mahnoor_1
0
838
Member Avatar for Prabhu_3
Member Avatar for David W
0
93

The End.