shallin07@ubuntu:~/Downloads$ make hw1 g++ hw1.cpp -o hw1 /tmp/cck5CENS.o: In function `main': hw1.cpp:(.text+0x98): undefined reference to `IsDigitString(std::basic_string<char,>, std::allocator<char> >)' hw1.cpp:(.text+0x152): undefined reference to `IsDigitString(std::basic_string<char,>, std::allocator<char> >)' hw1.cpp:(.text+0x249): undefined reference to `multiply(std::basic_string<char,>, std::allocator<char> >, std::basic_string<char,>, std::allocator<char> >)' hw1.cpp:(.text+0x30f): undefined reference to `divide(std::basic_string<char,>, std::allocator<char> >, std::basic_string<char,>, std::allocator<char> >)' collect2: ld returned 1 exit status make: *** [hw1] Error 1 shallin07@ubuntu:~/Downloads$ ;
make
hw1
hw1.cpp
Makefile
Member 8186541 wrote:g++ hw1.cpp -o hw1
g++ -c hw1.cpp -o hw1.o
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)