Hello am new to this
i have installed Dev-C++ and made a window application
now i need someone to point me into the right direction for Buttons & Functions
Hello am new to this
i have installed Dev-C++ and made a window application
now i need someone to point me into the right direction for Buttons & Functions
You should start with a console application. It's better for learning the basics like conditional statements, loops, classes, etc...
Sent from my iPadŽ
oh well watching C++ Programming Training now =)
http://www.computer-training-software.com/c.htm
I'm convinced these are the worst tutorials ever created.
Code:#include <stdio.h> void J(char*a){int f,i=0,c='1';for(;a[i]!='0';++i)if(i==81){ puts(a);return;}for(;c<='9';++c){for(f=0;f<9;++f)if(a[i-i%27+i%9 /3*3+f/3*9+f%3]==c||a[i%9+f*9]==c||a[i-i%9+f]==c)goto e;a[i]=c;J(a);a[i] ='0';e:;}}int main(int c,char**v){int t=0;if(c>1){for(;v[1][ t];++t);if(t==81){J(v[1]);return 0;}}puts("sudoku [0-9]{81}");return 1;}
There are no windows or graphics in ANSI/ISO Standard C++. All this is done with additional libraries and is "above and beyond" the underlying language. Not a problem for your compiler... Dev-C++ uses the WinAPI library....am new to this... and made a window application...
But, there's still a lot to learn. Most people spend a few months to a year or more learning standard C++ before moving-on to Windows programming (or some other specialty topic).
In any case, you need to know what is standard and what is specific to a particular platform/library.
If you want to write Windows programs from day-one, there's always Visual BASIC.