You can only return primitives and pointers. If you use pointers to your class, which you should, then it will work. dl_harmon@yahoo.com
http://agdn.cjb.net
Find you a library that does that. There are many. You could use DirectX. You could use the library that I like called Allegro. alleg.sourceforge.net dl_harmon@yahoo.com
http://agdn.cjb.net
http://alleg.sourceforge.net
Find a good graphics algorithm. Very easy to use. Portable to many systems and OSes. I use it with MSVC. dl_harmon@yahoo.com
http://agdn.cjb.net
Heard of a for loop, or a while loop? Or maybe you want recursion?
for ( int i = 0; i < 100; i++ )
{
// stuff
}
int i = 0;
while ( i < 100 )
{
// stuff
}
int i = 0;
do
{
// stuff
} while ( i < 100 )
void my_function( int p )
{
// stuff
if ( p > 0 )
my_function( p -...
If you need to share variables or transfer any data then you need to use chain. Shell will simply load the file and run it. dl_harmon@yahoo.com
http://agdn.cjb.net
You need to find yourself a graphics library for C/C++. I personally use Allegro. http://alleg.sourceforge.net. It is currently available for Windows(w/directx), Dos, FreeBSD, Linux, MacOS. There is a great helper forum just for allegro at www.allegro.cc. I am a member there also...
I was searching the web and found a site about vampire numbers and I realized I made an error. Someof my results were repeated. Also the site said that this is not a vampire number because it is cheating : 126000 = 210 * 600. It is a repeat of 21*60=1260 with a couple of zeros. I don't know, but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.