Results for "Author: ndawg"
This shows you how to create a sure-fire one instance appliction WITHOUT GUI, API, or MFC! This can create a single instance DOS app as well as make your current GUI projects single instance. What's better is that this does not use FindWindow which is not reliable. It also uses CreateMuteX... an atom kernel function. This means that there is no possible way that another program could execute before it creates it's token in kernel memory. You are probably thinking this will be hundreds of lines of code... think again, it's only 16 lines of code in one function. I don't believe this will work in anything other than Windows, but you can try.
The CMenu class is a fully operational, dynamic class for creating menus in DOS. NOTE: this is not the MFC CMenu class Included is the Menu.h (contains the class, just include in your program) and an example. If you have any questions of comments, feel free to contact me via PSC. Don't forget to vote = P
This is a quicksort algorithm with can be used with any data type that can make use of the
This is a very basic 2 player chess program. I was required to make a graphics program for a computer science class using the CMU Graphics package. While this is an easy to use package, it is limited in it's uses. This program has some inherant limiatations. First, since only jpeg support is available, I had to make twice as many images (since jpeg format does not support transparent pixels). This program will not detect check or checkmate as I did not have time to implement these features. As you will see, there is no undo feature. This could be somewhat easily implemented. The largest error I made was with the way pieces are stored in memory. They reside within a 8 x 8 matrix but have a wrong orientation. This makes it extremely confusing to calculate the ammount of pieces between 2 positions diagonally. Please read the Orientation.txt file for more information on this problem. Lastly, I have implemented a feature that blacks the screen when the window does not have focus. This is part of a somewhat complex system to reduce flickering graphics. When left unchecked, the graphics will flicker at annoying rates.
The CMenu class is a fully operational, dynamic class for creating menus in DOS. NOTE: this is not the MFC CMenu class Included is the Menu.h (contains the class, just include in your program) and an example. If you have any questions of comments, feel free to contact me via PSC. Don't forget to vote = P
This is a quicksort algorithm with can be used with any data type that can make use of the
This is a very basic 2 player chess program. I was required to make a graphics program for a computer science class using the CMU Graphics package. While this is an easy to use package, it is limited in it's uses. This program has some inherant limiatations. First, since only jpeg support is available, I had to make twice as many images (since jpeg format does not support transparent pixels). This program will not detect check or checkmate as I did not have time to implement these features. As you will see, there is no undo feature. This could be somewhat easily implemented. The largest error I made was with the way pieces are stored in memory. They reside within a 8 x 8 matrix but have a wrong orientation. This makes it extremely confusing to calculate the ammount of pieces between 2 positions diagonally. Please read the Orientation.txt file for more information on this problem. Lastly, I have implemented a feature that blacks the screen when the window does not have focus. This is part of a somewhat complex system to reduce flickering graphics. When left unchecked, the graphics will flicker at annoying rates.
This shows you how to create a sure-fire one instance appliction WITHOUT GUI, API, or MFC! This can create a single instance DOS app as well as make your current GUI projects single instance. What's better is that this does not use FindWindow which is not reliable. It also uses CreateMuteX... an atom kernel function. This means that there is no possible way that another program could execute before it creates it's token in kernel memory. You are probably thinking this will be hundreds of lines of code... think again, it's only 16 lines of code in one function. I don't believe this will work in anything other than Windows, but you can try.
The CMenu class is a fully operational, dynamic class for creating menus in DOS. NOTE: this is not the MFC CMenu class Included is the Menu.h (contains the class, just include in your program) and an example. If you have any questions of comments, feel free to contact me via PSC. Don't forget to vote = P
This is a quicksort algorithm with can be used with any data type that can make use of the
This is a very basic 2 player chess program. I was required to make a graphics program for a computer science class using the CMU Graphics package. While this is an easy to use package, it is limited in it's uses. This program has some inherant limiatations. First, since only jpeg support is available, I had to make twice as many images (since jpeg format does not support transparent pixels). This program will not detect check or checkmate as I did not have time to implement these features. As you will see, there is no undo feature. This could be somewhat easily implemented. The largest error I made was with the way pieces are stored in memory. They reside within a 8 x 8 matrix but have a wrong orientation. This makes it extremely confusing to calculate the ammount of pieces between 2 positions diagonally. Please read the Orientation.txt file for more information on this problem. Lastly, I have implemented a feature that blacks the screen when the window does not have focus. This is part of a somewhat complex system to reduce flickering graphics. When left unchecked, the graphics will flicker at annoying rates.
This shows you how to create a sure-fire one instance appliction WITHOUT GUI, API, or MFC! This can create a single instance DOS app as well as make your current GUI projects single instance. What's better is that this does not use FindWindow which is not reliable. It also uses CreateMuteX... an atom kernel function. This means that there is no possible way that another program could execute before it creates it's token in kernel memory. You are probably thinking this will be hundreds of lines of code... think again, it's only 16 lines of code in one function. I don't believe this will work in anything other than Windows, but you can try.
The CMenu class is a fully operational, dynamic class for creating menus in DOS. NOTE: this is not the MFC CMenu class Included is the Menu.h (contains the class, just include in your program) and an example. If you have any questions of comments, feel free to contact me via PSC. Don't forget to vote = P
This is a quicksort algorithm with can be used with any data type that can make use of the
This is a very basic 2 player chess program. I was required to make a graphics program for a computer science class using the CMU Graphics package. While this is an easy to use package, it is limited in it's uses. This program has some inherant limiatations. First, since only jpeg support is available, I had to make twice as many images (since jpeg format does not support transparent pixels). This program will not detect check or checkmate as I did not have time to implement these features. As you will see, there is no undo feature. This could be somewhat easily implemented. The largest error I made was with the way pieces are stored in memory. They reside within a 8 x 8 matrix but have a wrong orientation. This makes it extremely confusing to calculate the ammount of pieces between 2 positions diagonally. Please read the Orientation.txt file for more information on this problem. Lastly, I have implemented a feature that blacks the screen when the window does not have focus. This is part of a somewhat complex system to reduce flickering graphics. When left unchecked, the graphics will flicker at annoying rates.
This shows you how to create a sure-fire one instance appliction WITHOUT GUI, API, or MFC! This can create a single instance DOS app as well as make your current GUI projects single instance. What's better is that this does not use FindWindow which is not reliable. It also uses CreateMuteX... an atom kernel function. This means that there is no possible way that another program could execute before it creates it's token in kernel memory. You are probably thinking this will be hundreds of lines of code... think again, it's only 16 lines of code in one function. I don't believe this will work in anything other than Windows, but you can try.
The CMenu class is a fully operational, dynamic class for creating menus in DOS. NOTE: this is not the MFC CMenu class Included is the Menu.h (contains the class, just include in your program) and an example. If you have any questions of comments, feel free to contact me via PSC. Don't forget to vote = P
This is a quicksort algorithm with can be used with any data type that can make use of the
This is a very basic 2 player chess program. I was required to make a graphics program for a computer science class using the CMU Graphics package. While this is an easy to use package, it is limited in it's uses. This program has some inherant limiatations. First, since only jpeg support is available, I had to make twice as many images (since jpeg format does not support transparent pixels). This program will not detect check or checkmate as I did not have time to implement these features. As you will see, there is no undo feature. This could be somewhat easily implemented. The largest error I made was with the way pieces are stored in memory. They reside within a 8 x 8 matrix but have a wrong orientation. This makes it extremely confusing to calculate the ammount of pieces between 2 positions diagonally. Please read the Orientation.txt file for more information on this problem. Lastly, I have implemented a feature that blacks the screen when the window does not have focus. This is part of a somewhat complex system to reduce flickering graphics. When left unchecked, the graphics will flicker at annoying rates.
This shows you how to create a sure-fire one instance appliction WITHOUT GUI, API, or MFC! This can create a single instance DOS app as well as make your current GUI projects single instance. What's better is that this does not use FindWindow which is not reliable. It also uses CreateMuteX... an atom kernel function. This means that there is no possible way that another program could execute before it creates it's token in kernel memory. You are probably thinking this will be hundreds of lines of code... think again, it's only 16 lines of code in one function. I don't believe this will work in anything other than Windows, but you can try.