Hi,
I have a numerical application written in C++, the Nonuniform Frequency-Dependent Out-of-Order Fast Fourier Transform. I would like to deploy a driver for it which hits it hard, comparing results with a “direct algorithm” that computes the result in a more straightforward way.
Bottom line. I want to set up a Debian virtual machine (well any Linux distro would most likely do), compile my code using g++, and run it. How do I do this?
Thanks, Matt Fulkerson
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
What you could do is to follow these steps:
sudo apt install g++
sudo apt install build-essential
g++ --version
Then finally you could compile the code using the g++ compiler.
Hope that this helps. Best, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
