Quantcast
Channel: Forum Pasja Informatyki - Najnowsze pytania bez odpowiedzi
Viewing all articles
Browse latest Browse all 21942

Problem z kodem C++

$
0
0

Witam, mam problem z kodem.

main.cpp - https://4programmers.net/Pastebin/6705
class.h - https://4programmers.net/Pastebin/6707
class.cpp - https://4programmers.net/Pastebin/6708
library_1.cpp - https://4programmers.net/Pastebin/6709

Komunikaty błędów:

library_1.cpp Linia: 9 multiple definition of `plch(char*)'|
library_1.cpp Linia: 9 first defined here|
library_1.cpp Linia: 36 multiple definition of `menu_service(std::string, short, short, std::string, std::string, std::string)'|
library_1.cpp Linia: 36 first defined here|

Pokazuje że funkcja jest wielokrotnie zdefiniowana, a wskazuje na linię tą samą co została 1 raz zdefiniowana, chyba. Nie mam już pomysłu jak to naprawić. Proszę Was o pomoc.

Z góry dzięki za pomoc, pozdrawiam.


Viewing all articles
Browse latest Browse all 21942