All the Pi I use have WiFi now a days. None of them have screens, keyboards or mice attached. Often they are very far away from me.
Typically they connect to my normal WiFi router. The one I use to access the internet. Then I can talk to the Pi from a PC or laptop using SSH. Windows users typically use the "Putty" program to talk to their Pi using the SSH protocol.
The above gets you only a command line terminal access to your Pi. Some people like a remote graphical display so the use VNC.
A quick google for "Rasperry Pi SSH", "Rasperry Pi putty", "Rasperry Pi vnc" will find you all kind of instruction on doing this.
As to actually running a program on a Pi like this a command line connection is good enough when developing the code, but the finished program can be run automatically when the Pi is powered up. We use systemd service files to specify how our programs are to be run. Again google "Rasperry Pi systemd service" you will find lots of discussion and examples about doing that on this forum.
Personally I think you would be better off putting a WiFi dongle into your Jetson Nano. Or get a card for it
https://www.jetsonhacks.com/2019/04/08/ ... bluetooth/ This works very well for my Nano.
You might want to connect Pi and Nano via serial ports. Or I believe a Pi Zero can be used as a USB device. I have never done that, others will have to say.
Sorry to say "google" so much here but it would take a lot to answer your questions in a forum post.
Memory in C++ is a leaky abstraction .