the the top of your header file include
#ifndef MYHEADER_H
#define MYHEADER_H
then at the end add
#endif /* MYHEADER_H */
(and change MYHEADER_H to something more relevent to file)
Type: Posts; User: taku
the the top of your header file include
#ifndef MYHEADER_H
#define MYHEADER_H
then at the end add
#endif /* MYHEADER_H */
(and change MYHEADER_H to something more relevent to file)
A for loop is generaly used when you have a set number of times the loop should be executed. (There are "tricks" you can use on them but that's another discusion)
A while loop is generaly used to...
First wrong forum,
Second what your seeing is a console which closes when no more input is required.
to fix that see The faq
Well I havn't worked with it myself as of yet apperently mananged directx using c# is easer to use then directx with c++
Why not use something like the following with the turtles movements shown in the area above the buttons.
Not a problem.
How about _getch()?
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace ConsoleApplication1
First are you using .net 1.x or 2.x?
if your using 2.x then instead of the listbox you should use the DataGridView control.
if your using 1.x I belive you might be able to use the dataGrid...