C++ is a general-purpose programming language.

learn more… | top users | synonyms

0
votes
1answer
82 views

How i can open (.it) file?

I am doing a Project in Communication field by using Ubuntu 13.04. The project executed by simulation and the output will be in the format of .it files. some body could help me , how can I open ...
0
votes
0answers
73 views

Install Netbeans C++ Ogre project on other Ubuntu Machines

I have a c++ Ogre project developed in Netbeans on Ubuntu and I wish to create an "Installer" for this application and then I would like to install it on other Ubuntu machines including machines ...
0
votes
0answers
199 views

Can't find QtCreator's Examples

I'm trying to integrate c++ into Qml app, But i can't find the example's in the IDE. When i choose example from the welcome screen , I get empty list , I've installed the IDE as explained in ubuntu ...
0
votes
1answer
798 views

MAC OS X virtualization with KVM on the mac mini : seabios error

Since I'm a legal owner of the first generation of Mac Mini with a regular Snow Leopard license,I'm trying to follow this tutorial with the goal to virtualize Mac Os X with KVM on the second part of ...
1
vote
1answer
54 views

What are some Ubuntu projects to contribute?

I decided to take part upon developing Ubuntu applications although I am having trouble finding projects to contribute in C, C++, C# and Java at Launchpad (not necessarily Launchpad alone). Can you ...
1
vote
1answer
186 views

GtkSourceView in Glade and C++

I try to develop a text editor in C++ and Gtkmm using Glade but I have a problem. When I try to run the program, I have the following message:"BuilderError: Invalid object type `GtkSourceView'". I ...
0
votes
0answers
980 views

Ubuntu 12.04 : Unable to install boost libraries

I am trying to install c++ boost libraries on my system, using $ sudo apt-get install libboost-all-dev I get the following errors, illusion@ubuntu:~$ sudo apt-get install libboost-all-dev Reading ...
0
votes
0answers
27 views

vi history keystrokes in gdb version 7.5

Hi I am using gdb version 7.5. Can someone tell me how I can get the vim keystrokes to work inside the gdb? The up and down arrow keys work for history but I want the k and j to work similar to ...
1
vote
1answer
52 views

Start application in the background on GNOME

Is there a way to avoid bringing an application to the front when opening it? I'm launching an app several times trough a terminal window (running a custom c++ program) and it keeps popping up when ...
0
votes
1answer
760 views

How do I set up pretty printing gdb 7.5

I thought gdb 7.0 and higher has pretty printing included in it but I might be wrong? Can someone point me to the correct way to use this? Do I need to create a .gdbinit file for this? I tried copying ...
1
vote
1answer
604 views

How to install cocos2dx on Ubuntu 13.04?

I have Ubuntu 13.04 on my laptop. I need to install cocos2dx on it. Does any one know how to install it? Please explain how to install.
1
vote
1answer
181 views

Is Ubuntu more suited for Python based apps?

My question is simple. Is Ubuntu more optimized for text editor-like programs (Libre Office, Sublime Text, etc.) written in Python or not? Or there is no difference if I use C++, Python or Java in ...
0
votes
1answer
2k views

Modification of stack size by ulimit -s

When I type ulimit -s in terminal it shows 8192. Does it mean that in my C code I could only have local variable of 8192 bytes? I am confused which stack size. Does ulimit -s change when we modify ...
3
votes
1answer
364 views

Arrow keys in Terminal shortcut don't work

I am new to Linux and am using Ubuntu 13.04. I have a C++ program named "dictionary" (full path: /home/anmol/Desktop/c++/dictionary), which I compiled with Code::Blocks IDE (and GCC version 4.7.3). ...
15
votes
3answers
2k views

Is it possible to use Python with the Ubuntu SDK?

David Planella wrote in his answer to a question I posted that: ...the recommended way to develop apps for Ubuntu is the Ubuntu SDK. So I installed it, but looks like the supported programming ...
0
votes
1answer
251 views

Help with GDB on a C++ program

I am new to Ubuntu and am using the 12.04 version on my laptop. I am trying to execute a C++ program which has Petsc libraries installed in it. I get an error when trying to run the program and so ...
3
votes
1answer
678 views

How do I get my compiler to locate the X11 header files?

I'm trying to use GLEW and XServer / X11 in a C++ app as instructed in Chapter 15 of the OpenGL Superbible, 5th ed. I'm using this Makefile: LIBDIRS = -L/usr/X11R6/lib -L/usr/X11R6/lib64 ...
1
vote
1answer
1k views

Once installed geos library (C++, and C), and then trying to install rgeos package (R), it reports geos-config missing!

Knowing that the package rgeos, from the R language, requieres a prior installation of geos libraries, I installed, both, libgeos and libgeos-c1 (3.2.2), using the synaptic installer in my Ubuntu ...
4
votes
2answers
131 views

Do i need to know C++ to develop ubuntu app?

I'm a java developer. I dont know much about C++. should i learn C++ to develop ubuntu app? or can develop app without c++?
3
votes
0answers
97 views

Where to find GUI code

I've been rummaging through Unity's source code (Shell Interface) and I was a little curious about something; where in the code are you supposed to find positional code? I'll clarify a bit with some ...
0
votes
0answers
117 views

C++ and MS SQL connectivity with ODBC

I am quite new to c and MS Sql. I want to connect my C++ code on ubuntu with MS SQL server by using ODBC. please tell me sequence of steps to do so along with important links.. Thanks in Advance... ...
0
votes
1answer
711 views

g++ error “sstream.tcc:112:39: error: expected unqualified-id before ‘(’ token”

I tried to install install one program at Ubuntu and it uses main.cpp .I dont know why but it gives always error.(main.cpp syntax correct 100%) and this program works without error @Mac system but not ...
7
votes
0answers
298 views

How can I run a command from a qml script? [duplicate]

I'm working on an Ubuntu Touch app that needs to modify iptables and do various other things that requires interaction with the command line. I found this and I understand that it must be done with a ...
1
vote
0answers
5k views

Installing boost on 12.04- have ran “sudo apt-get install libboost-all-dev”- now what?

I want to install the boost libraries on Ubuntu 12.04 so I ran: sudo apt-get install libboost-all-dev but now searching for a folder named "boost" I cannot seem to find where the files have been ...
-2
votes
1answer
293 views

Is Gcc 4.8.1 RELEASE available under raring 13.04 ? ( no snapshot, only release )

I need full c++11 support and I need gcc 4.8.1 release, I'm under Ubuntu 13.04 64 bit, there is a gcc-snapshot package in the repository, but it's outdated and it's an old pre-release version. It's ...
0
votes
0answers
62 views

Appindicator doesn't refresh label

In my application I am quite often changing label of AppIndicator. But sometimes it doesn't refresh until I change AppIndicator icon as well. I am sure, that app_indicator_set_label is called as I ...
0
votes
1answer
46 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 ...
2
votes
1answer
834 views

How to install CLang using precompiled binaries?

How do I install CLang on Ubuntu, using precompiled binaries of CLang that I downloaded? Here's how I downloaded CLang: "LLVM Download Page" -> "Download LLVM 3.2" -> "Clang Binaries for ...
0
votes
1answer
596 views

QT4/5 Creator cannot find -lGL

I installed the ubuntu mobile SDK a while ago on my ubuntu 13.04 machine via http://developer.ubuntu.com/get-started/ After a few days there appeared a compiler/linker error - even when compiling the ...
1
vote
2answers
447 views

Can't run program in Netbeans 7.3

I recently installed Ubuntu 12.04 and installed Netbeans 7.3 on it (not the Ubuntu version, directly from the website). I'm trying to run a basic C++ program that uses Allegro 5 but, even though it ...
0
votes
0answers
151 views

Compiling error C++

I am trying to build a new class but I get some errors I do not understand. The new class I am trying to make looks like this: #ifndef TRACKER_H_ #define TRACKER_H_ #include "parameters.cuh" ...
5
votes
2answers
1k views

How to pass the image preview from the QML Camera component to a C++ plugin

I'm writing an Ubuntu Touch QML app that captures and processes images from a camera device. The processing is done by a C++ plugin to which I'm passing the URL of the image. I can successfully save ...
0
votes
1answer
112 views

How to add Password encryption

I have an encryption app that just encrypts a string and then can decrypt also.. But how can I make it so the user sets a password and the other person has to put in that password to decrypt the ...
2
votes
1answer
200 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
1answer
131 views

Memory allocation of C++ in Ubuntu

First of all, I'm sorry if the question doesn't belong here. I want to make sure whether this issue has to do something with my Ubuntu. The C++ code below makes 2621440 integer variables. Each ...
0
votes
0answers
18 views

include “ot/io/BufferedReader.h”

I am trying to use buffer reader in my cpp code but when I include the library it gives me an error as in no such file or directory.... it works fine in windows. I know that I need to install a ...
2
votes
1answer
180 views

Autocomplete while compiling a file with c++ is gone

I am using Ubuntu 13.04 and have been programming mostly in C++. I use vim editor and c++ command to compile my .cpp file. What I have noticed is after typing c++ and pressing the Tab key, an ...
0
votes
3answers
221 views

How to open a crontab file in c++

I am working on a QT application which makes the usage of crontab easier with GUI. But I am facing the trouble of including the jobs in the crontab file from my application . So how do i open a ...
2
votes
1answer
460 views

i want to open a file in the root directory in my c++ application in write mode.

I have a file in the root directory which I want to open for editing in my QT application. Generally we use "sudo (editor) filepath" to open the file with roots permissions. But i want to achieve ...
0
votes
0answers
277 views

netbeans c++ debugging error: The program is not being run when debugging with gdb link

i have created soft link to gdb with sudo ln -s /usr/bin/gdb /usr/local/netbeans-7.3/bin/ now in netbeans i set c++ debug command as /usr/local/netbeans-7.3/bin/gdb. when i debug my program i get ...
1
vote
0answers
221 views

Will gcc >= 4.7 ever come officially to 12.04? [duplicate]

We have ubuntu 12.04 LTS installed at our systems, and we would like to use gcc >= 4.7 for C++11 support. Will a version of gcc >= 4.7 be added to the standard repositories (any time soon) or will the ...
0
votes
0answers
80 views

C/C++ - HWInfo - libhd - Which libraries to link?

(This exact same question can also be found on Stack Overflow) I have gotten into libhd (included in hwinfo) since I need to get device information. I got into the documentation and tried this ...
0
votes
1answer
58 views

Can't install C++ library

I want to install the C++ library, but the terminal keeps asking me to insert the CD for installation. What CD? Here is the terminal code I used to attempt to install with: sudo apt-get install ...
0
votes
1answer
368 views

Compiling a DLL project written in c++

I am new to Linux, but I have tried Ubuntu for basic stuff and I really like it. I want to explore the possibility to switch from Windows. However, at the moment I am working with Microsoft Visual ...
10
votes
4answers
2k views

Run system commands from QML App

I want to run a system command from inside my application. It's suppose to run a command on a remote server using SSH. But that's not really the point. The point is that I don't know how to run any ...
0
votes
1answer
337 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
448 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?
2
votes
2answers
1k views

Ubuntu Touch app with c++ core and QML interface. How to create?

How to create Ubuntu Touch application with c++ core? In examples I see only pure QML apps.
0
votes
3answers
1k views

Choosing C++ debugger on linux

I recently changed from Windows where I was using Qt Creator to Ubuntu. The problem is that Qt Creator in Ubuntu can't properly debug due to some problem attaching ptrace to the program which was ...
1
vote
0answers
234 views

C Time.h functions erratic on Precise 12.04

I'm running Ubuntu 12.04 and using the gcc compiler to compile my C/C++ programs. I want to benchmark a function. AFAIK, there are two standard functions to calculate time on POSIX systems and both ...