|
At the moment, I'm getting a lot of linker errors when Visual Studio is trying to build a class template. The code compiles fine and dandy, but linker errors are too confusing for me to deduce. The template takes in two types, like so:code:
I'm getting LNK2019 errors. I've looked on the Microsoft resource website, but I couldn't see any similarity between the examples they gave and what I was doing. The errors: http://pastebin.ca/935705 So my question is, where do I start if I want to fix these errors? As far as I can tell, all my code is spelled correctly. EDIT: Moved the errors to pastebin to avoid table breaking. Not So Fast fucked around with this message at 22:10 on Mar 9, 2008 |
# ¿ Mar 9, 2008 21:43 |
|
|
# ¿ May 3, 2024 17:39 |
|
Ah, that fixed it, thanks. Yeah, I had the functions defined in a .cpp file, but didn't realise that it wasn't referenced at all in the header file or the main source code.
|
# ¿ Mar 9, 2008 22:27 |
|
shrughes posted:No no no no no no no no no no no no no no no no no. I sadly see this a lot at my workplace. Is there any reason why deriving from a vector is a super-bad idea?
|
# ¿ Dec 19, 2011 22:33 |
|
I'm working on a C++/CLI project that incorporates some older MFC dialogs for legacy purposes. I also have a new dialog that inherits from the System::Windows::Forms Form class. Is there a way to get the new dialog to be a child of one of the older MFC dialogs, so that modal properties of blocking access to the parent window works properly? So far, I've tried using NativeWindow / Control's FromHandle function together with the CWnd HWND handle and passing that into the Form's ShowDialog function. This doesn't seem to work though.
|
# ¿ Jan 7, 2012 10:42 |
|
giogadi posted:Now this is an excellent question. It’s your terrible class’s fault for failing to motivate this stuff. Of course you hate it if you don’t even know why you’re mucking around in it. This is exactly how low bitrate transmission of data works at my workplace, where we are getting up streams of data from tools that communicate by sending up pulses through mud.
|
# ¿ Feb 2, 2023 21:27 |
|
|
# ¿ May 3, 2024 17:39 |
|
Strong Sauce posted:Okay so I posted in August or so about starting a new project in C++, something I've not worked in since my high school days. There's a series of books by Steve Meyers (Effective C++ etc.) that collect a bunch of his articles on best practices for using the "new" C++11 features, that are an invaluable extension of just using cppreference or SO.
|
# ¿ Feb 17, 2024 10:14 |