About 148,000 results
Open links in new tab
  1. undefined reference to template function - C++ Forum - C++ Users

    Mar 18, 2020 · 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27: #ifndef STATSTYPE_H_INCLUDED #define STATSTYPE_H_INCLUDED using namespace std; …

  2. undefined reference - C++ Forum - C++ Users

    Apr 25, 2023 · Keep in mind that the header file (.h) only contains the declaration of the function mycode::foo(), but the actual implementation of that function is in a separate source file (.cpp).

  3. [faq] undefined reference - unresolved e - C++ Forum - C++ Users

    Oct 18, 2013 · General C++ Programming [faq] undefined reference - unresolved e [faq] undefined reference - unresolved ...

  4. Undefined reference errors - C++ Forum - C++ Users

    Aug 15, 2017 · The <string> header defines the C++ string class, where the <string.h> defines functions used with C style strings. Your main.cpp should #include <string> <iostream> and …

  5. [Linker error] undefined reference to... - C++ Forum - C++ Users

    Jun 5, 2012 · The linker then goes looking through all the binary objects it has been told to look through, which will be your code and any libraries it has been told to look through. If it cannot …

  6. Undefined reference to a C function in C++ - C++ Users

    Mar 12, 2022 · If you don't actually link the library, then you are trying to call functions (or use classes) that don't exist in your program, or any of the linked libraries. Hence you'll get linker …

  7. undefined reference to constructor - C++ Forum - C++ Users

    Mar 6, 2011 · Hi I'm afraid that the following code is giving me a "undefined reference to 'strSet::strSet(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'" The …

  8. undefined reference to function? - C++ Forum - C++ Users

    Aug 7, 2015 · The undefined reference is telling you that the linker doesn't know how to link in dog.obj. If you're using an IDE and if you've added both dog.cpp and main.,cpp to you project, …

  9. c++ - Undefined reference to 'vtable for ...' [SOLVED] | DaniWeb

    Mar 18, 2008 · undefined reference to #include <iconv.h>,`libiconv_open',`libiconv',`libiconv_close' 1 some questios i would like their answers …

  10. help! multiple files and "undefined refe - C++ Forum - C++ Users

    Jan 25, 2020 · Hi everyone, This is a school project. I haven't even started and I'm stuck. There two .cpp files and a header file that were provided by the teacher.

Refresh