You need a text editor that doesn't add formatting crap to the source files (which means Microsoft Word is out) and a compiler. If you're lazy (like me), you can get an IDE that combines a compiler and text editor (along with other tools). This is pretty user-friendly, but beginners can be overwhelmed by the options. This is also a good choice, but the setup can be irritating. And this seems to be getting some attention from fanboys these days.
If you're on Linux, you should already have gcc installed, which is a good compiler. What OS are you using?
>But a window opens but the window wont stay open long enough for me to see it
Wow. It's not often that I'm left speechless, but this is definitely one of those times. I can't fathom how you thought that we could read "now how would i run this?" and determine that your problem is the window not staying open long enough for you to read the output. Use this:
using namespace std;
int main ()
cout << "Hello World!";
Next time please keep in mind that we're not clairvoyant and describe your problem in exacting detail.
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
I am writing a java program that needs to execute shell commands, so I wrote a function that would take the command to execute as a string (ie: "mkdir ~/Folder1") and execute that command with the shell. Here is the function:
Runtime run = Runtime.getRuntime();
Process pr = ...
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...