/LiveCPP

Testing a live coding technique for C++ using DLLs (MacOS\Linux)

Primary LanguageC++MIT LicenseMIT

LiveCPP

Testing a live coding technique using DLLs (Linux) Follow the steps

  1. use this command to compile the library
g++ -fPIC -shared myclass.cc -o myclass.so
  1. use this command to compile the executable
g++ class_user.cc -ldl -o class_user  
  1. execute class_user

  2. open myclass.cc and edit the string at line 21

  3. recompile the library

  4. type "y" in the prompt of the executable and the new string should appear