Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Simple "Hello World" program won't work in either VS2012 o

$
0
0
So I posted this basic code into Visual Express 2012 on my machine running Windows 7 64bit. I just got this computer 6 months ago...

// Gameover
// A first

#include <iostream>
using namespace std;

int main()
{
	cout << "Game Over!" << endl;
	return 0;
}



And these error messages shoot up.
Posted Image

1>  Microsoft (R) Incremental Linker Version 11.00.51106.1
1>  Copyright (C) Microsoft Corporation.  All rights reserved.
1>  
1>  /out:.exe 
1>  ÿþ/ 
1>LINK : fatal error LNK1181: cannot open input file 'ÿþ/.obj'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========






Installed Code::Blocks since my teacher said that was a good alternative. It prompts me with this question.

Posted Image

GNU GCC compiler doesn't work or V2010.

I think this has something to do with the problem, as there isn't a 2012 compiler.

I thought a compiler WAS code::blocks and Visual Express. I'm a level 1 noob that just wants to start his programming journey. Thanks for reading and helping.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>