No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, just a quick question (i hope!!), i'm working on an assignment where i need to build a user-defined library of shapes. The class structure is to have "shape" as a base-class with both 2d and 3d shapes as derived classes. I've handled this by storing them in a vector … |
|
Re:
I have a c++ problem regarding looping. I am writing a program which will include a problem similar to below. 1) ok, i am writing a program that asks the user to enter a number. 2) Then ask the user if the number entered was correct. 3) If the number … |
|
Hi, Recently (today) got an assignment to take a particular code that we've done previously, and split it into 3 files: 2 .cpp files and a header file. Now, i believe i've done it correctly, but the only thing that's throwing up errors is the use of friend for overloading … |
|
Hi, I'm very much a beginner to C++, but I've been assigned a project outside of my programming class that is starting to get tricky. I'm modelling a layered optical system and I need to create N two-dimensional arrays (2x2 matrices to be used in matrix multiplication), where N is … |