No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
[code]#include <iostream> #include <fstream> #include <string> #include <stdio.h> #include <stdlib.h> #include <conio.h> using namespace std; #define MAXLENGTH 20 #define WORDLENGTH 20 enum dir { LEFT=0,UPLEFT,UP,UPRIGHT,RIGHT,BOTTOMRIGHT,BOTTOM,BOTTOMLEFT}; enum menu { LOAD=0,SOLVE,CREATE,QUIT }; struct WORD { char word[WORDLENGTH]; int length; int row; int col; dir d; }; typedef struct WORD word; word wordlist[100]; … | |
:?: I work on the program to function a Magic square, below as my working program, but I don't know how to print out the magic square using print function any one can help? [code]#include<iostream> #include<iomanip> using namespace std; const int n = 30; int MagicSquareConstruct(int MagicSquare[n][n]); int main() { … |
The End.