No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Q.Create an equivalent of four function calculator. The program should request the user to enter two numbers and an operator. It should carry out specified arithmetic operation on the two numbers( using switch case).After displaying the result, the program should ask the user if he/she wants to do another calculation.If … |
|
Re:
Could you tell me the mean of this code? [CODE] while(1) { // do something [/CODE] thanks! |
|
I've got a custom class that is as follows: [code=C++]class course { private: string prefix; int number; string title; int credits; char grade; public: //Constructors course(); course(string, int, string, int, char); //Accessors void set(); void print() const; string get_prefix() const; int get_number() const; string get_title() const; int get_credits() const; char … |
|
Hello! I'm working on an assignment that requires me to store custom classes in an STL vector and do things like search, display, and delete them, then write them all to file. This is going well, but my code to delete an object (adapted from [URL="http://www.daniweb.com/techtalkforums/thread31636.html"][U]this thread[/U][/URL]) works on any … |