No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[ICODE]void doublyLL::addFront(int x) { node * somenode = new node(x); if( head != NULL) head->prev = somenode; somenode->next = head; head = somenode; } void doublyLL::addBack(int x) { } [/ICODE] |
|
hello how can i do a for loop .. for a guessing game... and the only 5 oportunities to answer..... forexample no you wrong u have 4 guess left" heres my code !!1 this one just keeps giving me an unfishing loop grrrr!!! [CODE]#include <iostream> #include <string> #include <cstdlib> #include … |
|
private: char board[3][3]; // two dimensional array stores current board configuration }; tictactoeGame::tictactoeGame { // set boardConfig[i][j] to be ' ' (the space character) for each i,j from 0 to 2 } |
|