# Help Please

**URL:** <https://forum.kirupa.com/t/help-please/184058>\
**Category:** Uncategorized\
**Created:** [April 1, 2006, 1:00pm UTC](https://forum.kirupa.com/t/help-please/184058 "2006-04-01T13:00:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shoo](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@Shoo](https://forum.kirupa.com/u/Shoo)\
**Post date:** [April 1, 2006, 1:00pm UTC](https://forum.kirupa.com/t/help-please/184058/1 "2006-04-01T13:00:03Z")

</div>

I tryed posting to my other thread on C++ help but noone was replying so I hope you dont mind I made another one :sailor:

OK so in c++, which I have a compiler for now, I wrote the following source code:

```auto
 
#include <iostream>
using namespace std;
 
int main ()
{
cout<<"Hello "; 
cout<<"I'm a c++ program made by... "; 
cout<<"the amazing Matt!"; 
return 0;
}

```

when I run the program somthing flashes on my screen, I’m not sure if its the program or not but whatever it is it flashes on and off to fast to see

I just want to actualy see the program so that I know it has worked :hat:

can anyone help?

---

<div class="post-metadata">

**Author:** ![GPP](https://avatars.discourse-cdn.com/v4/letter/g/848f3c/32.png) [@GPP](https://forum.kirupa.com/u/GPP)\
**Post date:** [April 1, 2006, 4:52pm UTC](https://forum.kirupa.com/t/help-please/184058/2 "2006-04-01T16:52:07Z")

</div>

This is a very nice tutorial  
[http://www.cplusplus.com/doc/tutorial/basic\_io.html](http://www.cplusplus.com/doc/tutorial/basic_io.html)

---

<div class="post-metadata">

**Author:** ![Shoo](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@Shoo](https://forum.kirupa.com/u/Shoo)\
**Post date:** [April 1, 2006, 4:56pm UTC](https://forum.kirupa.com/t/help-please/184058/3 "2006-04-01T16:56:59Z")

</div>

Yes i followed a tutorial on that site to write that source code 😏  
but I think I did somthing wrong as it is flashes on and then off the screen to fast to see it … thats why I posted this here … so that people can help … are we up to speed now? :shifty:

---

<div class="post-metadata">

**Author:** ![cr125rider](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/cr125rider/32/534_2.png) [@cr125rider](https://forum.kirupa.com/u/cr125rider)\
**Post date:** [April 1, 2006, 5:16pm UTC](https://forum.kirupa.com/t/help-please/184058/4 "2006-04-01T17:16:01Z")

</div>

try including “stdio” I remember using something like that when I was doing stuff like you. 😃

---

<div class="post-metadata">

**Author:** ![Maxtr0sity](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@Maxtr0sity](https://forum.kirupa.com/u/Maxtr0sity)\
**Post date:** [April 1, 2006, 9:33pm UTC](https://forum.kirupa.com/t/help-please/184058/5 "2006-04-01T21:33:12Z")

</div>

The program you’re writing is a console screen window that pops up. If you look around options, you can probably get the screen to stay, otherwise just add this at the end of the line.

```auto

int main()
{
...
int x;
cin >> x;
}

```

That’ll prompt you to type in something and assign it as x before it quits.

---

<div class="post-metadata">

**Author:** ![955](https://avatars.discourse-cdn.com/v4/letter/9/4bbf92/32.png) [@955](https://forum.kirupa.com/u/955)\
**Post date:** [April 1, 2006, 9:55pm UTC](https://forum.kirupa.com/t/help-please/184058/6 "2006-04-01T21:55:21Z")

</div>

Alternatively:

```auto

int main (int argc, char *argv[])
{
        ...
        system ("pause");
}

```
