@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13



Comments:

<0> Does anybody know how to compile in Microsoft Visual Studio
<0> I never used it before
<1> hit F5
<2> isnt that complile and run?
<3> rmee, you want to build the project.
<2> pfft, i guess it still compiles right :P
<1> CTRL+SHIFT+B
<3> That will compile all your files and dependencies.
<3> So look for build, not compile.
<4> Or the big green button
<0> ohh
<0> Im in the microsoft developmental Enviorment
<0> Maybe thats why im not seeing it?
<3> I don't know what that is, rmee, I'm the wrong guy to ask
<3> Your software should have documentation somewhere on how to get started with it
<1> have you opened the project?



<0> I cant read :(
<0> jk
<0> testprogCl***.cpp(15) : fatal error C1010: unexpected end of file while looking for precompiled header directive
<5> cn you still there?
<0> I'm taking an online course and this god damn CD came with it and this guy doesnt tell us how to use it or anything
<0> i dunno
<0> im gonna go eat
<1> go to project propertyes to C++ and turn precompiled headers off
<0> **** it
<5> cn28h.
<1> *properties
<0> alright let me try that
<0> LINK : fatal error LNK1120: 10 unresolved externals
<0> anybody know what that means
<6> you didn't define something
<6> or you didn't link the file where it was defined
<0> cn can i post my code in a msg
<0> Its very short
<0> I'm new to C++ and I'm just testing something out
<3> channel
<0> #include <iostream>
<0> using namespace std;
<0> int main ()
<0> {
<0> cout << "Enter value in Centimeters: ";
<0> cin >> centi;
<0> cout << endl;
<0> return 0;
<0> }
<3> centi?
<0> er sorry i declared that in the other code
<0> I pasted teh wrong code
<0> #include <iostream>
<0> using namespace std;
<0> int centi;
<0> int main ()
<0> {
<0> cout << "Enter value in Centimeters: ";
<0> cin >> centi;
<0> cout << endl;
<0> return 0;
<0> }
<7> cout << centi << endl;
<0> huh? doesnt cout ask for input? i thought cin was to ***ign the input to a variable no?
<7> yes it does, but then what?
<0> nothing i just want to see if it works correctly
<0> Maybe i'll make it display the variable
<7> how?
<0> oh
<0> haha
<7> make centi a local variable also
<0> cout << "The number of centimeters is = "
<0> << centi << endl;
<0> kiwi: I havent learned how to do that I dont think
<7> there is no reason for it to be global
<7> int main() { int centi; . . . .
<0> oh ok that make sense
<0> is it ok to keep precompiled headers on?
<8> anyone not using precompiled headers should be stabbed to death
<0> ok so i'll keep them on in that case
<0> I dont want to die



<0> testprogCl***.cpp(13) : fatal error C1010: unexpected end of file while looking for precompiled header directive
<0> I think something is missing at the end obviously
<8> right, you need to include the header for the pch in every module
<8> usually it's stdafx.h
<0> #include <iostream>
<0> using namespace std;
<0> i thought that covered it
<8> precompiled headers have nothing to do with C++
<0> ok so how do i go about doign that
<8> just put #include "stdafx.h" at the top of every .cpp file
<8> stdafx.h or whatever your precompiled header is
<0> thats what it is i think i see it on teh left menu
<0> hm
<0> testprogCl***.cpp(3) : error C2871: 'std' : a namespace with this name does not exist
<0> thats strange no, my book says thats what it should be called
<9> if (GetOpenFileName(&bmpOpenFilename) == 0) return 0; /* doesnt return 0 */ bmpOpenFilename.lpstrFile is (null)
<8> please tell me you didn't _change_ #include <iostream> to #include "stdafx.h" ......
<0> no i added it in
<0> #include <iostream>
<0> #include <stdafx.h>
<9> rmee45 do you have
<9> using namespace std; ?
<0> yes
<7> #include "stdafx.h"
<7> with quotes
<0> alright let me try that
<9> if (GetOpenFileName(&bmpOpenFilename) == 0) return 0; /* doesnt return 0 */ bmpOpenFilename.lpstrFile is (null)
<0> testprogCl***.cpp(3) : error C2871: 'std' : a namespace with this name does not exist
<0> testprogCl***.cpp(7) : error C2065: 'cout' : undeclared identifier
<0> And a bunch of other undeclared identifier
<0> I dont think that is the correct namespace
<0> hm
<9> what are you trying to use?
<9> make sure your compiler is configured right
<9> for include directories and such
<8> gwilliam: GetOpenFileName returns non-zero and lpstrFile is NULL?
<3> That's some weird crap
<3> rmee
<3> Disable precompiled headers
<3> Pull out your stdafx.h include
<9> yeah..
<3> See what happens
<9> EwIck i have lStructSize = sizeof(OPENFILENAME);
<9> hold on ill paste
<8> did you zero out all unused members?
<9> no lol
<9> I zeromemory'd the entire thing and its still nothing
<9> where can i paste?
<0> LINK : fatal error LNK1120: 10 unresolved externals
<8> topic
<0> I dunno, maybe I didnt configure it correctly, but I didnt even touch it this is the first time I'm using the compiler
<9> its offline
<8> http://rafb.net/paste
<0> JBlitzen: Any ideas?
<0> I get unresolved tokens
<9> http://rafb.net/paste/results/Dbpb1530.html
<8> gwilliam: does the dialog even pop up?
<9> yeah
<3> http://www.strategypage.com/gallery/articles/military_photos_200621014.asp
<9> read the bottom
<3> rmee, what are the unresolveds?
<9> the errormsg is discribed there
<3> More to the point, rmee, what's the first one?
<9> rmee45 doesnt know
<0> Linking...
<0> LINK : error LNK2020: unresolved token (0A000010) ??_7type_info@@6B@
<0> LINK : error LNK2020: unresolved token (0A000014) _CxxThrowException
<0> LINK : error LNK2020: unresolved token (0A000017) delete
<0> etc etc.
<9> his homework problem is giving his linker problems
<9> his compiler cant find certain namespaces
<0> gwilliam: can you do my homework for me? :(
<0> lol
<9> if you paypal me 20 bucks


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

arhiva de scan
#linuxhelp
#linuxhelp
#MissKitten
#linuxhelp
#chatzone
#skype
xplaqa
#linux
to remove the blank space *perl



Home  |  disclaimer  |  contact  |  submit quotes