Article 4XX59 How to run a program in Kubuntu

How to run a program in Kubuntu

by
vmelkon
from LinuxQuestions.org on (#4XX59)
Hello, I am a noob.
I compiled a very simple program, using Eclipse.
In the DEBUG folder, it generates the program file: WinProjectTest005
If I double click on it, nothing happens.

OS: Kubuntu 18.04.3 LTS (aka Ubuntu 18.04.3 LTS)
I guess the file manager is Dolphin.

On Windows, when you double click on a EXE file, it would popup a cmd window. In Kubuntu nothing happens.

Here is the boring program:
================================

#include <iostream>
using namespace std;

int main()
{
int a, b;

cout<<"!!!Hello World!!!"<<endl; // prints !!!Hello World!!!

cout<<"Enter a value:\n";
cin>>a;
cout<<"\nEnter a value:\n";
cin>>b;
a+=b;
cout<<"\nThe total is = "<<a<<endl;

cin>>a;

return 0;
}latest?d=yIl2AUoC8zA latest?i=EqXrhHP7pvM:99GbnKUR2Ng:F7zBnMy latest?i=EqXrhHP7pvM:99GbnKUR2Ng:V_sGLiP latest?d=qj6IDK7rITs latest?i=EqXrhHP7pvM:99GbnKUR2Ng:gIN9vFwEqXrhHP7pvM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments