No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
The exercise tells me to find the error in this code [CODE] int g() { cout << "Inside function g" << endl; int h() { cout << "Inside function h" << endl; } } [/CODE] The listed error is that function h should not be defined inside of function g. … |
|
Re:
Hello everyone, Name: Alfred Occupation: Student Age: 20 I'm currently a student in Dutchess Community College, and my major is Computer Science(go figure). I chose this field because I'm a heavy gamer, and for if I don't get into the game industry I can program some where else as a … |
|
I'm having no luck trying. Is it possible in C++? |
|
What I have to do: I have to read numbers from a file input from the keyboard into an array, sort the numbers, and write the sorted numbers to a file. My problems are twofold: First, I don't know how big to make the array. When I try to write … |
|
I've gotten stuck on my assignment. The compiler says that the code is fine, but the program doesn't work properly. [CODE]#include <iostream> #include <iomanip> #include <fstream> using namespace std; void display_days (int []); void total_days (int []); void average_days (int []); void maximum_days (int []); void minimum_days (int []); int … |