i get an error when i add new source code

i write a simple program c++ source code, it run but when i add new item(a c++ source code again) and write a different program on it i get an error when executing it. the same as the first program i did, i get an error. Please explain to me briefly co'z i'm a newbie. thanks
Last edited on
Terrible way to ask a question; I'm gonna take a shot in the dark, both your source code files have a main() function...
If you need further help read the link and post some code.
Topic archived. No new replies allowed.