Questions tagged [c++]

C++ is a general-purpose programming language.

C++ (pronounced "cee plus plus") is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.

790 questions
8
votes
6 answers

First Time To Run C++ Program on Ubuntu 14.04

What is the command to run the following simple C++ program? #include using namespace std; // main () is where program execution begins int main() { cout << "Hello World"; // prints Hello World return 0; }
FrankL
  • 81
7
votes
3 answers

Where do I find an up-to-date version of boost?

Where can I find up-to-date packages for boost on Maverick/Natty/Oneiric/Precise? Ideally, I would like the latest 1.47.0 and be able to update that to the next release when it comes out.
6
votes
1 answer

LAPACK installation along with lapack-devel and lapack-dev

I wanted to have a complete installation of the La-pack on my Ubuntu 14.04. So, I made the following installation commands on my system: sudo apt-get install libblas-dev checkinstall sudo apt-get install libblas-doc checkinstall sudo apt-get install…
3
votes
2 answers

Need help with C++ application on Ubuntu GNOME 17.04

Note: this may not be the best place for this question, so if there's a better place, please let me know. There's a wonderful application called easystroke which is a gesture-recognition application for X11. However, the last code update was in…
heynnema
  • 70,711
2
votes
0 answers

Visual Studio alternatives for ubuntu?

Possible Duplicate: Visual Studio style tool? Are there any alternative c++ IDEs like Microsoft's Visual Studio on ubuntu?
2
votes
0 answers

How should I run this ordinary example from DLIB-C++?

I am too new in DLIB-C++ and I decided to run the following example on my Ubuntu 16.04. However, I receive the following errors. What is the solution? And what if I want to run all the examples of C++ from this site? The example is: // The contents…
mak0009
  • 21
2
votes
1 answer

How to run vcxproj in ubuntu 18.04

I want to run the code in this project in Ubuntu: https://github.com/yusufasln26/geneticAlgorithm-pathPlanning It is GUI C++ project. I tried to run this project using Ubuntu Terminal, but it did not show the grid in Readme.md description in the…
1
vote
0 answers

How to install and use cpptest unit testing framework for c++

I have installed cpptest on linux (Ubuntu 16.04),Step to install. $ cd cpptest-1.1.2/ $ ./configure $ make $ sudo make install. Installation dumped some .so and .a file in user/local/lib now I want to use class "Suite" defined in .so. How to use…
1
vote
1 answer

Random number generation

I have generated random numbers in turbo C++ ( DOS) by using random command. Again, I have generated random number in ubuntu C++ by using srand and rand commands. Both the random generations are not matching each other ( ie. both generations are…
user287594
  • 11
  • 1
1
vote
1 answer

Netbeans and codelite do not recognize #include C++

I recently decided try learn a bit of programming, so I wrote my " hello world" and it did not work. This is my code #include using namespace std; int main() { cout << "hello world!"; return0; } I have also tried to reinstall g++ and…
MalteK
  • 424
  • 2
  • 7
  • 19
1
vote
2 answers

C++ threads fail on ubuntu 22.04

Given this bug.cpp file: #include int main() { auto t = std::thread([] {}); t.join(); return 0; } And this docker container: FROM ubuntu:22.04 RUN sed -i -e 's/^APT/# APT/' -e 's/^DPkg/# DPkg/' /etc/apt/apt.conf.d/docker-clean RUN…
gnzlbg
  • 111
0
votes
2 answers

Unable to run apps like Turbo C++

I am unable to download applications such as Turbo C++ and related applications even though i have DOS box terminal. When I try to open the Turbo C++ setup it doesn't open and I get a message saying application x-ms download type is not supported.
0
votes
1 answer

how to download turbo c++ in DOSBOX?

I'm not be able to download TURBO C++. It says it is already extracted.
0
votes
1 answer

How to run multiple or single C++ .cpp files on terminal?

Everything is running on codeblocks and I don't know how to do it on terminal.
Vitor Abella
  • 7,537
0
votes
1 answer

How to install ubuntu c++ runtimes libraries

I need c++ runtimes libraries for ubuntu 12.04 but I don't know the package name. Can someone help me Manu thanks
1
2