Yahoo Αναζήτηση Διαδυκτίου

Αποτελέσματα Αναζήτησης

  1. 9 Ιουλ 2012 · As you compile a .c file, C++ support isn't included and a C compiler is used instead of a C++ one. And C doesn't have <string> (although it does have <string.h> , but that contains entirely different stuff).

  2. You you need to qualify the names: std::string name; std::vector<cell> board; You're also using the wrong header name; you want <string> not <string.h>.

  3. 4 Μαΐ 2021 · Missing #include: Check if the header file that contains the declaration of the function is #include d in each file where you call the function (especially the file that is listed in the error message), before the first call of the function (typically at the top of the file). Header files can be included via other headers,

  4. 3 Δεκ 2019 · I'm trying to compile my code .cpp but even though I include the libraries I get those errors: error: unknown type name 'string' static string* split(string s);

  5. 30 Απρ 2021 · When I #include <string> in app.cpp file I can create a string, but I want to include the library in app.hpp file I get an error. Therefore I can't declare the prototypes of functions in the header file.

  6. 16 Δεκ 2022 · String problems in C++. I'm trying to use strtok on a string object s in C++. (That is, the function is Polynomial(string s).) I do. vector<string> terms = strtok(s, "+-"); It tells me it can't convert between strings and char*'s. I tried s.c_str(), which didn't work, so I looked here: https://stackoverflow.

  7. 29 Μαΐ 2012 · I have the following #include in my program which I am trying to change from a console app to a GUI app. I have to code this by hand. The problem is my program can't import the string header. Why is that?

  1. Γίνεται επίσης αναζήτηση για