Can't find problem - long compilor error

Pages: 12
The OP's project name is "human.cpp" and the executable is the combination between the project name and .exe, hence human.cpp.exe.

On a more relevant note, your issue seems to be steming from the fact that you're making the wrong kind of projects as Moschops already pointed out. Instead of any of those Windows projects, MFC, C++/CLI, etc. you need a Console Application project. This should come with a basic "Hello World" program. It should also include the words "int main" instead of "int _tmain" or any other dumb variation for Microsoft's spin on C++.

A side note, make sure your other projects are all closed in your workspace, you don't want to accidentally build them instead of the one you're working on.

Moschops wrote:
As an aside, this thread joins my collection of "reasons why beginners shouldn't use an IDE" threads :)

I don't believe beginners shouldn't use IDEs. I just think that MSVC++ is just a horrible beginners environment. I'd suggest using the IDE to at least write your code, but refrain (or try to) from using it to compile your code. I feel everyone should know how to compile programs from the command line, it's just so much more convenient to compile with an IDE.
Last edited on
Ok, I think it is improving, since I am no longer getting error messages when compiling. The problem is that now when I run my program, int the cmd there is an error message saying we cannot find the file you are trying to run... Something is really messed up.
Topic archived. No new replies allowed.
Pages: 12