Author Topic: Problems with C++  (Read 3964 times)

try compiling with visual studio 2012.

if i recall correctly visual studio 2010 lacks certain C++11 features, such as memory.h

or for a free option go with the latest mingw and codeblocks

or for a free option go with the latest mingw and codeblocks
or express, which is free and still has all the features you'll ever need

Where?
All the files that are listed there?
nonono

open the code(s), and put that line at the top of each code. then try to build/compile it (run without debugging if you need to).

So, I should try compiling in Visual Studio 2012?

Why Express? Is it able to compile exe:s? Last time I checked with vs2010 express I couldn't compile exe:s, only solutions

Express is able to do everything you need it to do. I've never hit a limitation and I do things way beyond anything you'll ever need it for on a daily basis. There's nothing wrong with the code (adding an include to the file would hit a recursion guard and error) so it must be your compiler.

Express is able to do everything you need it to do. I've never hit a limitation and I do things way beyond anything you'll ever need it for on a daily basis. There's nothing wrong with the code (adding an include to the file would hit a recursion guard and error) so it must be your compiler.

But I am going to try out the VS 2012 Express now, and if that doesn't work? Then what could be the problem?

You should really have some basic understanding of programming before getting waist deep in it like you have. 

I used the VS 2012 Express now, gamed works as it should I guess, but got this error on authd instead;

1>------ Build started: Project: authd, Configuration: Debug Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets(1137,5): warning MSB8012: TargetPath(C:\lolserver\HeroWars-master\win\VC100\authd__Win32_Debug\authd.exe) does not match the Linker's OutputFile property value (C:\lolserver\HeroWars-master\bin\Debug\authd.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>LINK : fatal error LNK1104: cannot open file 'mysqlcppconn.lib'
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

What does it mean? Well it cannot open, but still?