Click here to Skip to main content
15,883,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C++ Smartphone application, get data from MySQL Pin
CPallini29-May-16 20:58
mveCPallini29-May-16 20:58 
AnswerRe: C++ Smartphone application, get data from MySQL Pin
leon de boer29-May-16 22:53
leon de boer29-May-16 22:53 
AnswerRe: C++ Smartphone application, get data from MySQL Pin
Richard MacCutchan30-May-16 1:16
mveRichard MacCutchan30-May-16 1:16 
GeneralRe: C++ Smartphone application, get data from MySQL Pin
leon de boer30-May-16 2:43
leon de boer30-May-16 2:43 
GeneralRe: C++ Smartphone application, get data from MySQL Pin
Richard MacCutchan30-May-16 3:02
mveRichard MacCutchan30-May-16 3:02 
GeneralRe: C++ Smartphone application, get data from MySQL Pin
David Crow30-May-16 5:04
David Crow30-May-16 5:04 
Question8Puzzle game Pin
Abdulrahman Mostafa24-May-16 16:31
Abdulrahman Mostafa24-May-16 16:31 
AnswerRe: 8Puzzle game Pin
Richard MacCutchan24-May-16 21:56
mveRichard MacCutchan24-May-16 21:56 
You need to create a Graph object, with one of its constructors, and then call the various methods to construct and solve the puzzle:
C++
int main()
{
    int s;
    int box1=3,box2=6,box3=9,box4=1,box5=s,box6=7,box7=5,box8=8,box9=2;
    
    cout << " -----------" << endl;
    cout << " | " << box1 << " | " << box2 << " | " << box3 << " | " << endl;
    cout << " -----------" << endl;
    cout << " | " << box4 << " | " << box5 << " | " << box6 << " | " << endl;
    cout << " -----------" << endl;
    cout << " | " << box7 << " | " << box8 << " | " << box9 << " | " << endl;
    cout << " -----------" << endl;
    
//       void BFS(int s);
    Graph graph = new Graph(V);  // where does the value of V come from?
    graph.addEdge(v, w);         // what are these values?
    graph.BFS(int s);            // where does the value of s come from?
    
    return 0;
}

QuestionRe: 8Puzzle game Pin
David Crow25-May-16 4:34
David Crow25-May-16 4:34 
QuestionEdit Subitems In Owner Drawn List Pin
DanYELL23-May-16 4:58
DanYELL23-May-16 4:58 
QuestionRe: Edit Subitems In Owner Drawn List Pin
Richard MacCutchan23-May-16 5:39
mveRichard MacCutchan23-May-16 5:39 
AnswerRe: Edit Subitems In Owner Drawn List Pin
DanYELL23-May-16 5:50
DanYELL23-May-16 5:50 
GeneralRe: Edit Subitems In Owner Drawn List Pin
leon de boer23-May-16 6:02
leon de boer23-May-16 6:02 
GeneralRe: Edit Subitems In Owner Drawn List Pin
Richard MacCutchan23-May-16 6:08
mveRichard MacCutchan23-May-16 6:08 
AnswerRe: Edit Subitems In Owner Drawn List Pin
leon de boer23-May-16 5:59
leon de boer23-May-16 5:59 
AnswerRe: Edit Subitems In Owner Drawn List Pin
Bram van Kampen1-Jun-16 16:09
Bram van Kampen1-Jun-16 16:09 
QuestionHow to send huge data via sockets in continuous intervals Pin
manoharbalu22-May-16 19:09
manoharbalu22-May-16 19:09 
AnswerRe: How to send huge data via sockets in continuous intervals Pin
Richard MacCutchan22-May-16 20:58
mveRichard MacCutchan22-May-16 20:58 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
manoharbalu23-May-16 3:08
manoharbalu23-May-16 3:08 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
Richard MacCutchan23-May-16 3:33
mveRichard MacCutchan23-May-16 3:33 
AnswerRe: How to send huge data via sockets in continuous intervals Pin
leon de boer22-May-16 22:16
leon de boer22-May-16 22:16 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
manoharbalu23-May-16 3:07
manoharbalu23-May-16 3:07 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
leon de boer23-May-16 5:41
leon de boer23-May-16 5:41 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
manoharbalu24-May-16 1:57
manoharbalu24-May-16 1:57 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
leon de boer24-May-16 4:01
leon de boer24-May-16 4:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.