Questions about programming for and on Ubuntu.
0
votes
0answers
23 views
Python or java random number generator from array [closed]
I'm trying to write a random number generator from scratch, but I need it to follow these rules:
it needs randomly select 3 numbers from an array producing every possible outcome of groups of three ...
0
votes
1answer
16 views
JAVA program run problem
I have install java in my computer. when i doing compile java program it is successfully done but when i try to run program it show error like
Exception in thread "main" ...
0
votes
1answer
20 views
routine program in ubuntu
I am trying to write a routine of my studies of next month. For that I want to write a timed schedule. That is a timed program that will tell me everytime I turn on my laptop which topics should I ...
0
votes
0answers
12 views
how to get the address with /proc/kallsyms
cat /proc/kallsyms | grep "\ doexecve$"
i run this command in ubuntu 13.04 in virtual box in order to get address. However, no result. How to get the address for kprobe debug
0
votes
1answer
44 views
How to indicatorize a systray-only app?
I just realized that under 13.04 it isn't possible any more to add applications which are using the systray to a whitelist. I found the suggestion of downloading a patched version of Unity but I'd ...
2
votes
1answer
57 views
Why am I getting compile time errors in this C++ program?
I am new to Ubuntu and its terminal. I am trying to code C++ using nano something.cpp a general "Hello World" program at first.
First I got some error about iostream.h and cout not recognised. I ...
0
votes
0answers
38 views
Ubuntu vs Xubuntu - Programming
I am going to be programming in C# and Android, I was wondering which distro would be better, Ubuntu 13.04 or Xubuntu 13.04. I know Xubuntu is more light weight with XFCE, but is it worth dropping ...
1
vote
2answers
212 views
Is Mono installed in 13.04?
I am learning to program in Visual Basic .NET at school, and am using Visual Studio Express.
My teacher said that I can download Mono to practise programming at home, and as my exam is soon, I want ...
0
votes
1answer
76 views
How to start programming for this app in ubuntu 13.04
I want to create one application in ubuntu which should run in the background. It needs to be informed when the focussed window changes. Basically I need to run a callback function in my application ...
0
votes
0answers
15 views
Python for point&click interactive story
I'm a digital painter - and I was thinking about making a interactive graphic story.
Let me explain (a scene will be best example):
There is a room - a character (independent element) stands in the ...
0
votes
1answer
66 views
Python - NameError: global name 'plus' is not defined
So I am creating a program using shelve and I keep getting this error message. I can not for the life of me figure it out and google hasn't been much help. Is this a problem with Ubuntu/Python working ...
0
votes
2answers
73 views
Ubuntu stores variables in the wrong order
So I had this exercise in my class where I had to tell which of the two addresses is bigger when I create two char's in a main function.
Because local variables are stored in the stack that starts ...
0
votes
1answer
41 views
How to add more languages docs to Devhelp? (Java etc)
I was wondering if there is a way to add more languages (such as Java, C, C++ etc) to Devhelp.
I know that there is a software named zeal, but Dev help seems to be more mature.
By the way, I'm on ...
13
votes
3answers
988 views
How to compile and run a COBOL program?
Can anybody explain me how to compile and run a COBOL program in Ubuntu? I have never written any program in Ubuntu. Please, give me a simple program to compile and run.
0
votes
0answers
27 views
Problem of programming [duplicate]
I am a student and I want to make some simple C++ programs in Ubuntu but I am not able to make it. Please guide me through how should I make and compile a simple program.
0
votes
1answer
46 views
Additional source directories using Geany
I'm using Geany in Ubuntu as an IDE for a C++ Project, and I want to use some external libraries (from Webots). However, I don't find the option to specify additional library paths (as one can find in ...
0
votes
1answer
83 views
C++ Compiler Program IDE [duplicate]
I have just installed Ubuntu 12.10 on my old laptop and I want to start working on it.
Is there any program like Visual Studio for Ubuntu 12.10?
0
votes
2answers
69 views
pygi how to toggle button without running function
I'm writing this application using quickly.
I'm looking for a way to toggle button without running function which is connected to this button.
def on_button_text_italic_toggled(self, widget):
...
0
votes
0answers
68 views
Terminal's input and output
I'm new to Ubuntu OS moved from Windows and I'm new to programming. I just started using "Quickly" and "Glade" on Ubuntu 12.10 and I was actually wondering if there is a way to create the Ubuntu's ...
0
votes
1answer
41 views
Quickly doesn't import Glib
I'm having a little problem with Quickly. It won't import Glib, as I am relatively new to programming, with only a few weeks of coding under my belt, I've decided to try using Quickly following the ...
0
votes
4answers
229 views
Ubuntu is mostly written in C#?
On Ohloh, Ubuntu is reported as "mostly written in C#", and indeed if we go to the Ubuntu's languages summary we see that C# has the most LOCs, accounting approx. 20% from the code base. If the ...
4
votes
1answer
133 views
warning messages while compiling c program using gcc [closed]
I am new to linux. I use gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 on Ubuntu 12.04 LTS. When I compiled the c program using pointer, I got the -Wformat warning as shown below. But if I execute a.out ...
2
votes
6answers
255 views
What Programming Language Would Be Best For Ubuntu Programming? [closed]
Hi I've recently switched from Windows 7 to Ubuntu 12.10 and love the OS. However I have had trouble deciding which programming Language would be the all-around best for Ubuntu programming. I have no ...
11
votes
1answer
177 views
Bash comparison and expression operators
I'm new to bash programming. I've read two good, long guides, but they made a mess in my head about operators and keywords.
Which are more commonly and widely used? I don't know when to use which ...
2
votes
1answer
45 views
Can I make my QT GUI programs run after completely removing unity desktop?
Can I make my QT GUI programs run after completely removing unity desktop? I am building a desktop environment on QT. How can I run my program without unity.
-1
votes
1answer
47 views
Ubuntu software [closed]
Cody here. I was wondering if anyone knew what kinda of programming language is used for either a Universal GUI or a linux GUI? Or what language would I be able to learn for a Terminal Application? ...
6
votes
1answer
408 views
Building webkit from source
I tried to install the webkit applicaion from sources using this manual:
https://help.ubuntu.com/community/WebKit
When I type:
./autogen.sh --prefix=/usr
the following error occurs:
checking for ...
1
vote
0answers
14 views
curl/types.h file or directory not found [duplicate]
I have a cpp code to compile but while compiling it is showing the error of
curl/types.h file or directory not found, compilation error, fatal error.
I am using ubuntu 12.10. please help me to fix ...
1
vote
2answers
172 views
Cannot compile java code [Unicode Byte Order Mark 65279]
I wrote a simple Java program with the gedit text editor.
public class Example{
public static void main (String args [])
{
System.out.println("hi yaar");
}
}
When I tried to ...
4
votes
3answers
311 views
How can I run a single C source code on code:block or in geany?
I am new in Ubuntu. Now I am using ubuntu 12.04(lts). I want to run my C programming code (.c/.cpp). But I dont know how to compile and run code in ubuntu. SO i need help. Please tell me How can I run ...
1
vote
1answer
29 views
What GUI library does geary use?
I am thinking of starting a small side project and developing a piece of software. I would like to base it's design on Geary, which I like very much. Which GUI library can I use to achieve this?
...
0
votes
0answers
67 views
Writing a C program in order to removing occurrance from a text file including a symbol [closed]
I have a text file with a pattern like :
1,2,3$
2,4,1,5,6$
3,1,2,9$
1,0,9,8,7,3$
3,8,2,9$
.
.
.
.
and I have a char new[]="3,1,2,9$"
I need a C-function in order to check if the text ...
4
votes
1answer
140 views
Installing google Go in Ubuntu [duplicate]
Can Google Go be installed on Ubuntu? I want start to test these tools and it will be great if I could.
Thanks in advance.
0
votes
0answers
44 views
How to build an operating system that is built on top of Ubuntu [duplicate]
Hey I'd like to build my own operating system (really just the Ubuntu distro as I know the task is difficult) But what I mean by this is I wish to build atop of the Ubuntu operating system as like ...
3
votes
1answer
54 views
What is the maximum allowed files open?
Is 1048577 the limit of open files in Ubuntu? If I try the following code it works.
However, if I change the value to 1048578 the setrlimit function will return the code 1 and errno will be set to 1 ...
2
votes
1answer
132 views
PyGTK changing theme for popup menu
I spent few hours searching on google and I gave up now...
I need to change background for popup menu in my app.
It set to whatever system default theme is... and I need this to be set to Radiance ...
-1
votes
4answers
116 views
Programmer AND student on Ubuntu? [closed]
I'm currently set up with a Windows 7 PC for work, with notepad++ and Sublime Text 2, and a XAMPP server. I'm also using the PC for studying.
I'm considering switching to Ubuntu, but I wanna make ...
0
votes
1answer
63 views
pygtk inline toolbar background
as in topic I need your help with inline toolbar for my app.
I'll need this background bar to be expanded to the end of the widget while buttons remains on the left, as it is in keyboard layout ...
0
votes
1answer
244 views
What is the best Fortran 77 IDE?
I use Ubuntu 12.04. I need to do some coding with Fortran 77. I have'nt found any IDE for Fortran 77. What is the solution?
2
votes
0answers
41 views
Can't get iconify() and deiconify() to work properly
I'm writing app for Ubuntu with C++ and Gtkmm. In my app i use libappindicator to show icon with simple menu in notification area. Icon and menu works ok, i can minimize window to panel (using ...
2
votes
2answers
150 views
How to add buttons in Glade and resize
Trying to create the framework for a calculator.
I add the window
I add the vbox using 2 boxes. 1 for the display, the other for the buttons
When I add 1 button it fills the entire panel and I can't ...
2
votes
1answer
222 views
Further information on the Ubuntu Phone SDK [closed]
We saw many threads on the Ubuntu User Interface Toolkit that will be available for the Ubuntu Phone application development (see this thread for example). But there seems to be no information about ...
2
votes
2answers
154 views
Is there any ubuntu API?
in Windows, a programmer can use Windows API to write a Windows application. Windows API can be used with C (not necessarily C++). In Windows API you have a message loop and you have to program ...
3
votes
1answer
113 views
Need more information about API for 'Ubuntu for Phones' [duplicate]
Possible Duplicate:
How do I start developing applications for Ubuntu mobile?
I would like to develop a app on Ubuntu for Phones. I have already developed apps on iPhone and Android. Could ...
2
votes
1answer
358 views
Run program from a shell script but behave as one process only?
Is there a way I can execute an application from a shell script but not create another process. I want it to look like one process only. It doesn't matter whether my shell script is replaced by a new ...
2
votes
1answer
66 views
What's the best approach in migrating currently C# and VB.net (Windows) developed applications?
I would like to start to "translate" my Windows applications to Ubuntu users. These are mainly CRMs or CRM related programs written in VB.net and C#.
What would be the best language and IDE for these ...
2
votes
1answer
151 views
How to add in-app advertising?
I'd like to code something cool for the ubuntu software center.
I'll release my app for free, but I'd like to add some in-app advertising.
Is it possible ? how can I do that ? is it hard ?
Thanks to ...
2
votes
2answers
48 views
Is it possible for emacs to appear on right side of the desktop area when invoking it from the command line?
My standard programming mode is to have a bash shell open on the left side of my desktop and to have emacs open on the right side. However, when I type emacs "filename" in to my shell, it comes up on ...
0
votes
0answers
141 views
Text/Programming editor with some features [closed]
I'm looking for a text editor to write programms in C,java,html,C++,UNIX scripts etc.
I have used Gedit, Geany, Eclipse, Code::Blocks and Kate but each one has something that I found wrong.
I need ...
0
votes
1answer
16 views
what is use of get_HZ()
please tell me what is the use of get_HZ() system call. Any link for its documentation??
I tried to search for this in google but could not get the usage of this function
Thanks,
Vivek








