Jump to content

c++

Registered User
  • Posts

    2
  • Joined

  • Last visited

Everything posted by c++

  1. c++

    Laptop Cooling Pad

    I got one on amazon, and it uses usb to power it. It works like a charm and it was only $10!
  2. c++

    Y410p Hard Drive

    Ive been thinking about replacing my Y410p's HDD with an SSD. Can someone tell me what the dimensions are for the hard drive slot?
  3. This will be short... Hi, Im a computer geek that also writes software in C++. I have a Lenovo Y410P and I also am a flight simmer.I love intel and nvidia, and i also dislike dell but favor lenovo and logitech. People call me wierd because I use a trackball, but i find them amazing and easy to use.
  4. Does anyone have any experience with Sublime text? Is it good enough to buy?
  5. First we start with a message box. This is going to be like the gui version of the C++ "Hello World" Program. I highly recommend buying sublime text to use and a mingw compilier. //api.cpp #include <Windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLine, int iCmdShow) { MessageBox(0,"Hello World","Hello World", MB_YESNOCANCEL | MB_ICONINFORMATION); } Now we add a reply function (a simple beep) #include <Windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLine, int iCmdShow) { int reply = MessageBox(0,"Hello World","Hello World", MB_YESNOCANCEL | MB_ICONINFORMATION); if(reply==IDYES){ while(1){ Beep(533,1000); } } }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.