Hi,
i am trying to use ifstream to open a file a user specifys (Sourcode
http://pastebin.com/357953). The problem is when i try and compile i get these errors :-
g++ gameserverpro11.cpp -o gameserverpro
gameserverpro11.cpp: In function `int main()':
gameserverpro11.cpp:67: error: jump to case label
gameserverpro11.cpp:57: error: crosses initialization of `std::ifstream in'
gameserverpro11.cpp:72: error: jump to case label
gameserverpro11.cpp:57: error: crosses initialization of `std::ifstream in'
gameserverpro11.cpp:76: error: jump to case label
gameserverpro11.cpp:57: error: crosses initialization of `std::ifstream in'
gameserverpro11.cpp:84: error: syntax error at end of input
any help would be much appreciated thankyou.
P.s you lot must be getting fed up of me asking by now lol