Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

MyFirst(Failure).cpp

Name: Anonymous 2011-02-22 15:26

So, I'm trying to start up my first C++ program on my long road to learning the language:

----------------------------------------

#include <iostream>

int main()
{
     using namespace std;
     cout << "All I want is this shit to fucking WORK"; endl;
     cout << "Please?";
     return 0;
}
------------------------------------------------

I keep getting this linking error; here's the output I copypasta'd from the output. (BTW, I use Visual Studio 2008)

 


---------------------------------------------

1>Embedding manifest...
1>.\Debug\MyFirst.exe.intermediate.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
1>Build log was saved at "file://e:\Worskhop MASTER FOLDER\Videogame Workshop\C++ Workshop\MyFirst\MyFirst\Debug\BuildLog.htm"
1>MyFirst - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Name: Anonymous 2011-02-22 15:31

I think your system cannot find the file

Name: Anonymous 2011-02-22 15:32

>>1
OP must have trouble reading error output. It's strange since he just pasted it.

Name: Anonymous 2011-02-22 15:36

----------------------------------------
------------------------------------------------
---------------------------------------------

That's not a [code] tag.

Name: Anonymous 2011-02-22 15:42

Sorry guys, I rarely visit the text boards. I'm just seriously wanting to figure out what the heck is wrong with VS2008. Google seems to say that it has something to do with the manifest settings; I set it to 'no,' and it's still giving me the damn error. Short of reinstalling Visual Studio, I'm ripping my hair out.

(sorry about the lack of code tag)

Name: Anonymous 2011-02-22 15:46

>>5
That manifest should be generated by VS, however it's perfectly possible to compile an application without it as long as you pass the right command line to the compiler/linker/resource compiler/etc. Look around your project settings.

Name: Anonymous 2011-02-22 16:10

that's just it. I went into Project > Properties > Manifest Tool > Embed Manifest set to NO, and it still gives me the damn error.

Name: Anonymous 2011-02-22 16:28

manifest
ENTERPRISE BLOAT

Use MSVC6 or some other version that doesn't require that bullshit.

Name: Anonymous 2011-02-22 17:04

>>1 Btw, your code has a syntax error.

Name: Anonymous 2011-02-22 17:08

Just use gcc or clang or whatever. And code tags.

Name: Anonymous 2011-02-22 17:09

tode cags

Name: Anonymous 2011-02-22 17:27

should be:
cout << "All I want is this shit to fucking WORK" << endl;
and not
cout << "All I want is this shit to fucking WORK"; endl;

Name: Anonymous 2011-02-22 17:42

lol << "bitshifts";

Name: Anonymous 2011-02-22 18:27

"<<" is a yet another evidence that straustrup is retarded.

Name: Anonymous 2011-02-22 18:42

>>14
It's ``Soup-strap''.

Name: OP 2011-02-22 19:09

I have a 1000+ page primer and this is the program it starts me off with, lol. Anyways, I'm reinstalling Visual Studio 2008 to see if that'll fix my problem...

Name: Anonymous 2011-02-22 23:46

installing Visual Studio 2008

Back to /g/, please.

Name: Anonymous 2011-02-23 0:19

>>17
You should emphasize that he's reinstalling something to fix a problem (now having to deal with two problems), more than VS.

Name: Anonymous 2011-02-23 4:10

Why the fuck would u use VS to compile C++? There are better options man! use fucking gooooooooogle.

Name: Anonymous 2011-02-23 5:06

>>13,14

Why do you post the same shit twice?

Name: prog1298406381::post13 2011-02-23 5:12

prog1298406381::post20 << prog1298406381::post14 << " wasn't me" << std::endl;

Name: Anonymous 2011-02-23 5:17


That's nice and all, but check 'em

Name: >>22 2011-02-23 5:18

Goddamn, I did one dubs and I already feel more autistic.

Name: Anonymous 2011-02-23 8:55

>>21
It was you. There is no point in denying it.

Name: Anonymous 2011-02-23 9:24

Many people have problems with getting their first C++ program to compile, they thought they just needed to set their ``manifest'' settings to `no', now they have two problems.

Name: Anonymous 2011-02-23 12:40

Gotta love how noobs always get caught in trying to set up a project correctly in MSVS.

Name: Anonymous 2011-02-25 8:34

<----- check mah singles

Name: Anonymous 2013-01-19 23:09

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

Don't change these.
Name: Email:
Entire Thread Thread List