i have got this OOP project of implementing minesweeper using classes.Can anybody just hint me what classes i have to use and what would be their relationship like association,containment,weak containment and strong like that.anybody plz.If i failed to do so i would be getting an f!!!!!plz!!!!!!!!!!!!!!
neno14me 0 Newbie Poster
Recommended Answers
Jump to PostIf you're thinking about "relationships" like association, containment, and such, then you're not thinking about solving the problem. Think about what your program would be doing when running minesweeper, and then the classes that you find convenient to use will fall out directly from the types of objects you're thinking …
Jump to Posti have to draw it without using mfc
Then you should be glad :)
http://img476.imageshack.us/img476/5171/cut20ln.png
Piworld™
Tis simple as Pie
Jump to PostI would rather use the Sleep function than the stuff from <time.h>...
Use the
clock
function. If you use the
sleep
function you will have to implement a clock function from scratch.
1. Use a rather hackish console display with <windows.h> commands
2. Use …
Jump to PostCheck this exampleby Dave Sinkula. It is fairly simple. If you want a more complicated one, there is an example by me in the same thread. But I think Dave's example will do.
Edit: Looks like Dave's example will work only for overwriting the same line. Not sure …
Jump to PostI knew there was something evil about you...
All 19 Replies
Rashakil Fol 978 Super Senior Demiposter Team Colleague
neno14me 0 Newbie Poster
eCharisma 0 Newbie Poster
Bench 212 Posting Pro
neno14me 0 Newbie Poster

iamthwee
neno14me 0 Newbie Poster

iamthwee
neno14me 0 Newbie Poster

iamthwee
neno14me 0 Newbie Poster

iamthwee
WolfPack 491 Posting Virtuoso Team Colleague
neno14me 0 Newbie Poster

iamthwee
WolfPack 491 Posting Virtuoso Team Colleague

iamthwee
Drowzee 3 Posting Whiz in Training

iamthwee
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.