How can i get input from screen in c++?
450024
Read the Display adapter's memory and write the bytes to a file.
833627
I see.  Well, I think you are supposed to completely redraw the screen each time a cursor key is hit. You can do this by keeping track of the current position in the file, and writing the appropriate lines of text to the screen.\n\nTo start with, you might try writing code that just scrolls from the top of the file to the bottom. For example, if the screen displays 24 lines of text, you start by printing lines 1 through 24.  Next, print lines 2 through 25, then 3 through 26, and so on.  It might be wise to put this code into a function, and think about the design of your code.\n\nOnce you get this working, I think you can start enhancing the code to keep track of the cursor position and draw the appropriate lines on screen.
751588
Sorry.... i guess ur question a lil tricky.... Well i am C++ prog and work on the VC++ platform...
676530
In c++\n\n#include <iostream.h>\n\nint main(int argc, char* argv[])\n{\n printf("Hello World!&#92;n");\n return 0;\n}
873482
Learn C++, and get back to me.
997805
==================\n#include <iostream.h>\n\nint main(void)\n{\n\n   int count; // holds the count\n   float sum, number, avg;\n\n   sum = 0.0;\n   count = 0;\n\n   cout << endl << endl   //  Make some space\n        << endl << "Enter a number.  Enter a zero (0) when you have"\n        << endl << "finished entering numbers and want to compute the"\n        << endl << "average of the inputted numbers." ;\n\n   do {\n         cout << endl << endl << "Data element #" << count + 1\n              << ": ";\n\n         cin >> number;\n\n         if (number != 0.)\n           sum = sum + number;\n           count = count + 1;\n\n      } while (number != 0.0);\n\n      averg = sum / (count-1);\n      cout << endl << "The average is: " << avg\n           << endl << endl ;\n      return 0;\n}\n\n\n==================\n\nThis program computes the average of a set of data values. Commented a bit for you to understand\n\nEnjoy
790827
main () {char *s, b[100]; while(s=gets(b)) printf (atoi(s)%2 ? "nope&#92;n" : "yep&#92;n");}
706549
Try to read the common inside the code.(inside the "/*.... */")\n\nThis function do couple of things:\n1. It is to check the input command.\n2. Set the parent thread to wait. \n3. Create a child thread.\n4. Use the child thread to run the command.
136731
type something in to the addres s bar
678911
Check out the site at http://www.pscode.com - I don't do C++ but I use that site all the time for Visual BASIC stuff I work on.
557543
#include<iostream>\nusing namespace std;\nint main ()\n\n\n    {\nint number;\nint answer;\n    cout<<"Please enter number: ";\n    cin>>number;\n    \n    cout<<number<<"! = ";\n    answer = number;\n    while (number>1)\n\n\n        {\n        answer=answer*(number-1);\n        number--; \n    } \n\n    cout<<answer; \n    return 0; \n}
270512
Would be something roughly like this:\n\n#include <cstdlib>\n#include <iostream>\n#include <fstream>\n#include <string>\n\nusing namespace std;\n\n\n\nint main(void)\n{\n    string  T;\n    ifstream inf;\n    ofstream outf;\n    inf.open("myfile.txt", ios::in);\n    outf.open("YourFile.txt", ios::out);\n    while(!inf.eof()){\n        getline(inf, T, '&#92;n');\n        outf << T << "&#92;n";\n        }\n    inf.close(); \n    outf.close();\n    system("PAUSE");\n    return EXIT_SUCCESS;\n}\n\nI think.
68017
Click the "print screen" button on the keyboard. its located above the numpad. (Prt Scrn) the open paint and paste (or press ctrl + v) you will have the picture. you can have the text u want...the type it or  something...try it once !!!
1135562
You will probably have to use DirectX or OpenGL and try and create your own user interface;  It shouldn't be too hard, but you would have to create your own GUI interface for input from either a mouse or keyboard (mouse would be easier).  Check out some game development sites;  By the way, C++ code that does that would be extremely long, and couldn't be shown in an answer on this site.  You might try going to a development forum and asking people for help, but it's not going to be easy at all.
1167562
Well yes! but you have to know pretty well C++ to do this. A starting tutorial for doing this, refering to OpenGL and DirectX libraries for C++ implementation is available at the link below:
346423
check out http://www.planet-source-code.com - I don't do C++, but I use that site all the time, and it has great examples in source code form.
123456
Press Print Screen (Prt Scr) on your keyboard.\n\nOpen MS Word or MS Paint.\n\nPaste.