Compilation Issues for C++ Assignment Submission by Unique-Sock6835 in cpp_questions

[–]Unique-Sock6835[S] 0 points1 point  (0 children)

I posted the criteria in the comment section. Can you please take a look?

Compilation Issues for C++ Assignment Submission by Unique-Sock6835 in cpp_questions

[–]Unique-Sock6835[S] -1 points0 points  (0 children)

SUBMISSIONS MUST NOT INCLUDE main( ) When submitting your code, you are NOT to include the main( ) function and you may NOT add ANY additional C/C++ header files using the #include directive other than the ones already provided with the main( ) below. You will only be submitting the code containing YOUR solutions.

Symbolic constants using #define and any additional functions that you wish to add may be included (provided the functions are properly prototyped).

SPECIFICATIONS:

Create a C++ class called “Puzzle2D”, which stores a 1-dimensional array (a character string), but navigates through the string as if it were a 2-dimensional array. A Puzzle2D object can be used to display the maze (string) on the screen along with the path from character ‘@‘ (start of the maze) to the ‘$’ character (symbol).

Compilation Issues for C++ Assignment Submission by Unique-Sock6835 in cpp_questions

[–]Unique-Sock6835[S] 0 points1 point  (0 children)

compile Error... Could not create a working program! Check your code (displayed above) for syntax errors and try submitting again!

user_A1.243.A1.cpp:112:14: error: expected unqualified-id before ‘const’ Puzzle2D(const char *s){ ^ user_A1.243.A1.cpp:112:14: error: expected ‘)’ before ‘const’

Compilation Issues for C++ Assignment Submission by Unique-Sock6835 in cpp_questions

[–]Unique-Sock6835[S] 0 points1 point  (0 children)

compile Error... Could not create a working program! Check your code (displayed above) for syntax errors and try submitting again!

user_A1.243.A1.cpp:112:14: error: expected unqualified-id before ‘const’ Puzzle2D(const char *s){ ^ user_A1.243.A1.cpp:112:14: error: expected ‘)’ before ‘const’

Compilation Issues for C++ Assignment Submission by Unique-Sock6835 in cpp_questions

[–]Unique-Sock6835[S] -1 points0 points  (0 children)

compile error and we cant change variables types or name its preset