• Log in or sign up for an account here: https://www.sythe.org/login

Recent content by Ashken

  1. A

    Making a button create a file

    either way it applies to me too!! good advice,i should wind up on C++ lest i shoot myself in the foot.
  2. A

    Making a button create a file

    Yep wparam does work too.no matter how much we try it is almost impossible to know everything about a particular language or framework.You are right there is still a lot i don't know about C++, especially algorithms but what i know is enough to get me playing with the big boys' toys.
  3. A

    Making a button create a file

    To be compiled with visual C++ 2008 and above #include <windows.h> #include <shlobj.h> #include <fstream> #include <cstdlib> using namespace std; #define BTN 0 char name[]="app"; char path[MAX_PATH]; LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM); HWND hwnd; HWND button; HINSTANCE...
  4. A

    This one might be a little harder, but I'm sure someone out there can help.

    you can do that on a 16-bit real mode OS like DOS since it has no protection and allows you to directly access hardware and BIOS interrupts.In a 32 bit protected mode OS you can't unless the OS provides a system call for you to do so which i highly doubt.If you want to play around with such low...
  5. A

    C++ Help - School task :P

    int maximum( int,int int); int main() { int a,b,c; cin>> a>>b>>c; cout<<"maximum value is "<<maximum(a,b,c); return o; } int maximum(int x,int y,int z) { int maxVal = x; if (y > maxVal) maxVal = y; if (z > maxVal) maxVal = z; return maxVal; }
  6. A

    Good book on winAPI?

    Use a GUI toolkit like Qt, GTK etc they are Cross-platform and easy. anyway if you just want to be a windows programmer then http://winprog.org/tutorial/ http://thepiratebay.org/torrent/3724881/Programming_Windows_5th_ed._Charles_Petzold__1998
  7. A

    Favourite compiler?

    for IDE's its DEVC++, wxDEVC++, Code::blocks compilers:gcc, mingw , djgpp
  8. A

    C++ or Java???

    if you want to easily make games in C++ check this out, its a friendly video game engine. http://gdk.thegamecreators.com/ also using C# and XNA is even simpler.
  9. A

    C++ or Java???

    C++ code can be cross-platform if you are careful.C++'s idea of cross-platform programming is that you code once and compile the source in the target operating systems.most games you play on windoze are actually developed on linux with C++ and then ported to windoze, Micro$oft then pays the...
  10. A

    Good book for C++

    this is one of the best books for beginners http://msdn.microsoft.com/en-us/beginner/cc305129.aspx
  11. A

    cd tray open n closer

    A C/C++ program without a header ? your code is full of bugs!! you better verify your codes before posting them
  12. A

    Mouse Movement

    #include <windows.h> void crazy(); int x ,y ; int main() { for ( ; ; ){ void crazy(); { x = rand()%1025; y = rand()%769; SetCursorPos( x , y); } } }
duelarena.gg
Back
Top