Steps: 1. Open DEV C++. 2. Click “File” then “New” after that “Project”. 3. From “Basic” select “Wildows Application”. 4. Select “C++ project”. 5. Give a project name. 6. Click “ok” then “save”. Remove some code and write according to below program. #include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { int nResult=MessageBox(NULL, “An example of Cancel, Retry, Continue”, “Hello Message Box!”, MB_ICONERROR|MB_ABORTRETRYIGNORE); switch (nResult) { case IDABORT: break; case IDRETRY: break; case IDIGNORE: break; } return 0; } Steps: 1. From “Execute” menu click on “Compile and run”. 2. Give it a name and save it. 3. Wait until your compilation is completed by the compiler. 4. Hope you get your output.
We can’t feel the taste of social networking until we got a computer and a internet connection. To open the webpage of a social networking sites like Facebook, Twitter, Google+ we will need a web browser like Opera Mini, Mozilla Firefox, Google Chrome etc. A web browser is an application software that helps us to make a connection with world wide wave. So, without a computer we would never make a connection with the social net networking sites. The term social networking refers to a virtual community of real people, friends, family etc. In real world we can’t reach to many people at a time so it is very hard to stay connected with people we care for. But using a single computer we can reach and stay connected with all of our relatives, friends, neighbors. We can share our thoughts with all of them with just one click. A computer is more powerful device then a smart phone. We get much more freedom when we use a computer.
Points Primary Memory Secondary Memory Capacity It has smaller capacity e.g, 2 or 4 GB RAM, 3.5 MB cache memory etc It has large capacity e.g, 1 TB or 500 GB hard disk. Price It is expensive comparing to it’s size. It is very cheep comparing to it’s size. Speed It is faster than secondary storage. It is very slower comparing to primary memory. Volatility It is volatile. Removes its data when computer shuts down. It is fixed. It keeps its data until we delete it. Example RAM(read only memory), Cache memory Storage devices, CD/DVD disks, Floppy Disks, Pen drives
Comments
Post a Comment