Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [programming]

Questions about programming for and on Ubuntu.

1
vote
0answers
4 views

WinHttpRequest isn't grabbing whole page in VB6

This code only captures the first part of the page, I think because the whole page doesn't load until you scroll to the bottom of the page, which I don't know how to do programatically. Set http = ...
1
vote
1answer
17 views

Free heap memory

So I'm using Ubuntu for programming I use atom text editor with gcc compiler for C. I want to ask what will happen if I don't clear memory allocated by malloc or calloc? Will the OS take care of it or ...
3
votes
1answer
49 views

Notetaking Software that supports Mathematics, code, and pictures?

I am a Computer Science major. I would like a note-taking program that will allow me a lot of versatility with math notation, allows me to format java code samples similarly to StackExchange and lets ...
0
votes
1answer
58 views

How to loop a program?

I'm using a program named 'SExtractor' which takes astronomical images in imput and subtracts the skyglow giving as output the same image corrected. More specifically the output it's composed by four ...
-2
votes
1answer
62 views

PROBLEM WITH COMPILER C/ PLEASE HELP ME [closed]

My first language is Spanish, and my use of English is not the best, but I need some assistance in debugging the following program code since it produces an error when compiled. CODE: #include "...
1
vote
2answers
310 views
1
vote
1answer
47 views

#include <SFML/Network.hpp> not found

Can someone help me out with this error. Trying to program a network scanner cppns.cpp:2:10: fatal error: SFML/Network.hpp: No such file or directory #include <SFML/Network.hpp> ^~~~~...
0
votes
2answers
70 views

bash script – for i in {x..y}

i am writing a script in bash and I would like to give the two numbers in the brackets, x and y to be precise, as variables. I wrote the script this way: echo "x?" read x echo "y" read y for i in {$...
1
vote
0answers
176 views

How to run an interactive python script with nohup

My script requires entering username and password, how do i run it with nohup along with the ability to interact with it at the same time.
0
votes
0answers
15 views

What Are The Best Basic Interpreters Other Than SDLbasic and BASIC-256? [duplicate]

I wanted to know what would be one of the best BASIC interpreters other than the two listed above? The two above are missing many commands. I am using an old TRS-80 book, would this effect it?
2
votes
1answer
41 views

Open MPI Eclipse PTP -> failed to execute command: ompi_info , [closed]

I try to compile parallel programs using Open MPI 3.1 with Eclipse PTP 9.1.4 on Ubuntu 18.04. After building the project I follow the instructions of the Help-Eclipse Platform. The Step Run ...
0
votes
0answers
24 views

What are good coding editors that can run without a GPU?

I have a VM with Ubuntu, which I use mainly for testing code written with my usual tools in Windows. I connect to the VM with ssh and use X11 forwarding. I'm used to VS Code and Sublime Text, but as ...
0
votes
0answers
21 views

How can I go about creating a driver to get my touchpad to work?

I have an ACER ES 15 laptop, and the touchpad works perfectly fine on Windows but not Ubuntu. I've tried fixing it including checking out the accepted answer here: Touchpad under 16.04 not working. I ...
9
votes
3answers
570 views

Is it possible to take a screenshot of a circular selected area?

When we take screenshots of selected areas on Ubuntu (using Shift+Prt Scr or Ctrl+Shift+Prt Scr) we always select a rectangular area. So, I know I could just edit the image on some software like ...
2
votes
1answer
794 views

Can I develop iOS Applications in Ubuntu without using a virtual mac OS system? [duplicate]

I'm a developer of Android applications and a java programmer. I'm learning IOS programming but I don't have mac OS; I use Ubuntu. I want way to program IOS apps in Ubuntu without using a virtual ...
2
votes
1answer
36 views

Graphical environment in gtk+ programming

I am reading tutorials of GTK+ programming in gnome developers. I saw it is somehow different from C# graphical programming in Windows(OS) or even QT creator. In C# graphical programming, I first ...
38
votes
4answers
14k views

Is knowledge of C# of any use in a Linux system?

I know C# and I like to switch between systems and use Linux. Can I use C# to build applications that will natively work on Linux? What should I do to make use of my knowledge of C# in a Linux system? ...
3
votes
1answer
111 views

When programming with Wayland, in C, how can I get the functionality xcb and Xlib provide? [closed]

I understand that Wayland is a compositor, that it somehow is involved with events so software the next level up can register with Wayland to receive events, and so forth. But Wayland doesn't provide ...
1
vote
2answers
56 views

How to add C libraries in Ubuntu

I want to add Arduino-serial-lib.h in order to achieve serial communication between my system and Arduino. How can I add this library in my system?
0
votes
0answers
444 views

c++ graphics not working “undefined reference to…”

#include<stdio.h> #include<stdlib.h> #include<graphics.h> int main() { int gd = DETECT, gm; initgraph(&gd, &gm, NULL); circle(50, 50, 30); delay(500000); ...
4
votes
3answers
130 views

Cross-Installing Programs

The computer I am setting up has three partitions. One for windows10, one for linux, and one for files and programs shared between them. Is there a way to install programs on the third partition (like ...
2
votes
1answer
134 views

How to create a .tar.gz file to install a custom application

I have written a simple program, and I made a .deb file to install it on Debian based OSs. but for other distros like Arch, I usually use a .tar.gz file (and doing :./configure, make and make install),...
0
votes
2answers
70 views

Can i access and modify any software code working on linux? [duplicate]

So there's a bug in a certain software and i thought maybe i could look at the software code, since it's all open source, and try to fix it. Is it possible? are all software accessible by any user, ...
-2
votes
1answer
548 views

execute a powershell script (hello world)

A powershell "hello world" script is spawning and bogging down the system: Tasks: 413 total, 2 running, 411 sleeping, 0 stopped, 0 zombie %Cpu(s): 42.8 us, 5.9 sy, 0.0 ni, 51.2 id, 0.2 wa, ...
0
votes
0answers
67 views

How to organize all the 3rd party libraries that I will install in Python?

I am new in Python and I realized soon that there is a lot of 3rd party libraries that I want to use. The thing is, I want to keep track of the libraries that I will install, is there any way to do ...
-3
votes
1answer
108 views

Unix philosophy - avoid storing data and programs in binary files [closed]

I am unable to understand the reason behind the following Unix philosophy. From LINFO Website: An important tenet of the Unix philosophy is to avoid storing data and programs in binary files to the ...
0
votes
0answers
562 views

How to install gmsh 3.0.6 in Ubuntu 16.04.03?

I have installed gmsh 2.10 version with "sudo apt install gmsh" function.Terminal says it is the newest version. But on http://gmsh.info/ they have gmsh 3.0.6 stable release for linux, and you can ...
0
votes
1answer
98 views

Is there any way to add outline support to gedit to make it more usable for coding?

Geany for example has a sidebar with a "symbols" section showing functions and variables.
-1
votes
1answer
835 views

IDEs for running C# programs in Ubuntu [closed]

Which is the better option for running C# programs in Ubuntu? using Mono and compiling in the terminal Microsoft Visual Studio Code Microsoft .NET SDK.
0
votes
1answer
85 views

As Java intermediate programmer how can i contribute to Ubuntu? [duplicate]

I'm intermediate Java programmer and C at beginner level, I'm willing to contribute to Ubuntu, how can I start and where to start from? Pls explain me in detail.Interested in small projects.
0
votes
1answer
35 views

Can't run python programme opening its in text editor

Guys... I want to run a program for test our typing speed... It worked well in ubuntu 14.04 but can't in the latest version ubuntu 17.10 Can anybody help me?? Link of programe:https://drive.google.com/...
0
votes
0answers
223 views

How to build package for ubuntu?

I am starting to build a package for ubuntu. It will be a program running all the time. Just like nginx or mysqld runs. How do I get started? Is there a framework I could use? Suggestions pls
1
vote
1answer
334 views

Use button on headset

I have a headset which has a button that is supposed to play/pause audio, answer calls, etc. and I wanted to make it work on Ubuntu. My computer does have a combined headset port (fourth lead), but ...
1
vote
0answers
37 views

set transparent background in krusader

How can one add transparency to krusader's background? Is there a standard library that can be used to customize the program background in general to taste?
1
vote
3answers
1k views

How do I know what programming languages are pre-installed in Ubuntu?

How do I know what programming languages (I mean their compilers and interpreters) are already pre-installed in Ubuntu? For example, I see that Python is here. If I type python command in the terminal,...
0
votes
1answer
71 views

Major programming languages on Ubuntu [duplicate]

I am a developer interested in moving (at least something like a dual boot) to Linux, specifically Ubuntu. I am interested in programming aspects of the OS, I know the majority of it is written in C ...
1
vote
0answers
221 views

Can I run radio programs like Motorola CPS for programming radios? If so, How do I load it?

I use dos based and windows based radio programming software to program motorla and kenwood radios. I use this for Public Service and Amateur use. Can I get Ubuntu to do this?
0
votes
0answers
35 views

Lock an application [duplicate]

I am currently creating a software that I would like to distribute over the web soon but I am afraid that under privileged users may open the app, so it is possible to make the app open only by users ...
1
vote
0answers
45 views

Make a list like tasksel in Ubuntu [closed]

I've google around and asked in the IRC but no one seems to know this one: For a program I'm writing I want to make a list selection like tasksel and an announcing one like Oracle Java. How does one ...
-1
votes
2answers
9k views

What is “sh: 1: pause: not found”? [closed]

I am learning C as first programming language. I have typed following source code: #include <stdio.h> #include <stdlib.h> int main() { int a,s,d; printf("type the number which ...
0
votes
1answer
63 views

PYGTK Application developement help [closed]

Can someone give me a basic idea of what is used here to change w indow when different buttons like overview,folders to save,folders to ignore.How multiple windows are embedded within the single ...
2
votes
1answer
536 views

Is there a shortcut to re-open a recently closed program?

I found this KDE Open recently closed application question and it's exactly what I'd like to do, however I am on ubuntu. The only answer on that question is the 'recently used' part of the launcher, ...
0
votes
1answer
415 views

extreme burner installtion problems

I'm newbie in ubuntu and I'm trying to program an AVR micro-controller , i searched a lot for a suitable program and found at last a program called "extreme burner" but it doesn't work ! apt-get ...
1
vote
1answer
88 views

Is it possible to add trigger function before system goes into suspend?

I am trying to figure out wether it is possible to add some sort of script, triggered before system goes to suspend. Idea is to trigger some webhooks to store some info before idle state.
1
vote
0answers
266 views

write C++ code under windows and compile it on linux [closed]

I am new to programming but I wanna start learning C++. I'd like to use windows to write the code, it should be possible to then execute the code under linux right?
6
votes
3answers
1k views

Is it possible to do a double substitution with a shell string?

Single Substitution is easy: string="Mark Shuttleworth" echo ${string/a/o} Mork Shuttleworth is it possible though to do a double at the same time? echo ${string/a/o string/t/g} #doesn't work, but ...
1
vote
1answer
397 views

Error no such file or directory

I have this executable file in my folder and whenever I try to execute it, it shows the error sudo: unable to execute ./GASS_NCBI: No such file or directory After typing ls -alt This is what shows ...
0
votes
2answers
55 views

When an SQL query fails to return anything, how can I tell the shell to return a “false” instead?

This may not have anything to do with SQL in particular, because I am sure other commands will do this as well. In this case, I send a query through the shell, and if the query does not match any ...
1
vote
1answer
463 views

Ubuntu 16.04 won't let me run my CodeLite program

I'm running Ubuntu 16.04 that I recently installed together with Windows 10, because I was told Linux was better for programming ( I'm a Computer Engineering student). When I run my program on ...
3
votes
1answer
2k views

PICKIT3 on ubuntu

I am kind of a beginner in ubuntu. Does anybody know a way to program PIC with PICkIT3 on ubuntu? Because I don't want to go back and forth to windows since I got mikroc and proteus working. thanks.