Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 981 Bytes

File metadata and controls

32 lines (19 loc) · 981 Bytes

Lec 10 - Vectors and Movement

Vectors

Watch

https://mediaspace.wisc.edu/media/CS%20368%20S24%20-%20Vectors/1_6xfrtnqf

Moving Data

Watch

Creating a Movable Class with Copilot

Watch

https://mediaspace.wisc.edu/media/CS%20368%20S24%20-%20Creating%20a%20Movable%20Class%20with%20Copilot/1_87r8ltey

Notes:

  • I forgot to sign in, so wasn't using the best LLM models (remember to sign in with your NetID@wisc.edu login)
  • remember that if you use this or other tools for your project, you need to cite it with screenshots of the chats

Practice

Think of a case where you would have a class with a pointer to memory on the heap, and ask a LLM to create it for you. Does it get details correct regarding copying/moving? If not, write some code to see if you can get the LLM-generated code to segfault.