Cannot Open Output File..

This is the Gyazo displaying the on-screen issue itself: http://gyazo.com/96e1d2a65a0c39774d7ea08f0aa57a18.png?1364833634

The code itself I believe is fine, I had a massive thread with people helping me with it, but here it is anyway:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#include <iostream>
#include <string>
using namespace std;

int subtraction (int a, int b)
{
    return a-b;
}
int addition (int c, int d)
{
    return c+d;
}
int multiplication (int e, int f)
{
    return e*f;
}
int devision (int g, int h)
{
    return g/h;
}

int main ()
{
    string choice;
    int x,y;
    int result;

    cout<<"Would You Like To Add, Subtract, Multiply or Divide?"<< '\n';
    cout<<"\n";
    cout<<"Please Enter Add/Subtract/Multiply/Divide"<< '\n';
    cout<<": ";
    cin>>choice;

if (choice == "Add")
{
     cout<<"Number 1: ";
     cin>>x;
     cout<<"\nNumber 2: ";
     cin>>y;
        result = addition (x,y);
            cout<<"The Result Is: "<<result<<'\n';
}
else if (choice == "Subtract")
{
     cout<<"Number 1: ";
     cin>>x;
     cout<<"\nNumber 2: ";
     cin>>y;
        result = subtraction (x,y);
            cout<<"The Result Is: "<<result<<'\n';
}
else if (choice == "Multiply")
{
     cout<<"Number 1: ";
     cin>>x;
     cout<<"\nNumber 2: ";
     cin>>y;
        result = multiplication (x,y);
            cout<<"The Result Is: "<<result<<'\n';
}
else if (choice == "Divide")
{
     cout<<"Number 1: ";
     cin>>x;
     cout<<"\nNumber 2: ";
     cin>>y;
        result = devision (x,y);
            cout<<"The Result Is: "<<result<<'\n';
}
return 0;
}
Make sure you closed all previously open instances of your program from when you were testing it. You could also try restarting your computer.
@LB,

I have got this far: http://gyazo.com/ad8a144e0a9bedec8065a5d636d61c98.png?1364834999

I have no idea why when I enter my first input it does nothing, but then when I enter my next input, it then f*cks up completely.
The site is under maintenance, can you use gist or pastebin instead? Or could you just copy and paste it into [output] tags here on the forums?
.oi: ¿why the idea of posting images? you do not have a graphic issue here.
I doubt that that's the code you're running.
Topic archived. No new replies allowed.