No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I got a homework problem, I kind of got the idea for the code but I'm getting errors when I compile it, can somebody give me an idea of what I need to fix so I can make this work. The task is to write a program that contains a … |
|
I have finished editing the program but I still have a couple of errors that I can't figure out, please help Errors: Error 1 error C2601: 'split' : local function definitions are illegal \\ilabss\home$\D03279277\Documents\Visual Studio 2005\Projects\err\err\err.cpp 97 Error 2 fatal error C1075: end of file found before the left brace … |
|
I have this code and I am having trouble figuring how to make it run without any errors, can anybody give me some pointers on how to fix it [CODE]#include <iostream> #include <string> #include <iomanip> using namespace std; class TicTacToe { private: char theBoard [3][3]; public: TicTacToe(void); void playOneGame(void); void … |
|
I have to finish the code but I am having several errors with this and I can't figure it out can somebody give me some insight on what I can do to fix this and also explain what am I doing wrong. Here are the errors I am getting Error … |
|
[CODE]#include <iostream> #include <cstdio> #include <iomanip> #include <cstdlib> #include <ctime> using namespace std; int main() { int rNumber = 0; int uNumber = 0; const int maxNum = 10; const int minNum = 1; const int range = maxNum - minNum; int counter = 0; //declare random formula srand((unsigned int)time(NULL)); … |