C++ is a general-purpose programming language.

learn more… | top users | synonyms

0
votes
3answers
1k views

Error while installing tiff-4.0.3

I get the following errors while installing tiff-4.0.3: pranav@pranav-Inspiron-1545:~$ cd dependency/ pranav@pranav-Inspiron-1545:~/dependency$ tar -xvf libtiff4-3.6.0-5.tar.bz2 usr/bin/cygtiff4.dll ...
1
vote
1answer
662 views

how to install c++ fastcgi development library?

I can't seem to find anything on this. I know apt-get install, but I don't know the name of the package for the standard c++ fastcgi development library. What is it?
-2
votes
2answers
133 views

Is there any C/C++ Runtime Enviorment for Ubuntu?

I am a C/C++ developer. I would like to run my .exe programs on my computer (which only has Ubuntu on it). I would like to know if there are any C/C++ Runtime Enviroments out there.
0
votes
2answers
2k views

Programming Opengl ES in Ubuntu

I want to program somthing using opengl es , i search software center for anything related and i found libgles1-mesa-dev , then i wrote a simple main program and included : #include ...
5
votes
1answer
890 views

Where is the documentation for programming OpenGL ES for Ubuntu Touch?

How can I program an OpenGL ES program for Ubuntu Touch? I have installed QtCreator and the Ubuntu SDK, but I can't seem to find any documentation about this topic.
1
vote
1answer
2k views

How to compile a c++11 program using future in Ubuntu 12.04?

I'm trying to compile a c++ program in Ubuntu 12.04. I'm using g++ 4.7 (installed from a ppa). I'm using std::future, but I have an error. The code: $ cat main.cpp #include <iostream> ...
1
vote
1answer
525 views

Where can I find a Simple Hello World example for Ubuntu SDK (QT)?

I've been trying to get a simple window with button. And i have no idea on how to "bind" a button from the QML thing to a C/C++ function for example. I followed the example from developer.ubuntu.com ...
3
votes
1answer
117 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 ...
1
vote
0answers
337 views

WebCam logitech C905 control in C++ and OpenCV

I am trying to change the the resolution of my webcam from inside my c++ program, which APIs can I use? where can I find copy/paste examples? My webcam works nicely under 12.10 and I can change the ...
1
vote
0answers
200 views

jQuery in Doxygen generated API documentation

I am using Doxygen on Ubuntu 12.10 to generate API documentation for a C++ library and demon. This works fine with one issue, I can not seem to resolve. Doxygen uses jQuery in the generated files to ...
0
votes
1answer
597 views

Howto get the number of available updates/security-updates in ubuntu server

I'm writing a small daemon in c/c++ and I need to get the number of updates available and how many of them are security updates. So far I know I could use either update-notifier or nagios but just for ...
4
votes
3answers
984 views

How do I compile/run C++ code in the console?

I'm trying to run my C++ code using the console. I used the header file conio.h like I did when I used Turbo C++ IDE in Windows, and I ran the code in console using g++ filename.cpp I have ...
3
votes
2answers
260 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 ...
6
votes
1answer
3k views

Where to install libraries manually?

I want to install SFML (a free multimedia C++ API) on my Ubuntu system, which basically isn't a problem. But I wanted to know where I should store the files. I can see, that Ubuntu stores my C++ ...
2
votes
1answer
104 views

How to write rtf on ubuntu?

I have a program to read and write rtf, doc, docx, pdf,... file. So, do you know the lib or program to process these files, especially rtf.
1
vote
0answers
57 views

After upgrading packages today, can't compile anything that includes <locale>

I just updated my packages today on Ubuntu 12.04 amd64, including libc-bin which provides /usr/bin/locale, and now any C/C++ program that has #include <locale> explodes hundreds of errors ...
3
votes
1answer
100 views

C++ gtkmm-2.4 - How to calculate size of Unity Launcher/Panel?

I am using gtkmm-2.4 for my Ubuntu apps and to determine the size of the window for the application I use get_desktop_geometry. This returns the dimensions of the display you ask for. My issue is that ...
5
votes
3answers
561 views

How can I use code or a script to lock my screen programmatically in Lubuntu?

I want to write code or a script to lock the PC when my C++ program receives a specific command from Ethernet. Is there any way to show the Login screen from the command line? I want to lock the ...
7
votes
2answers
4k views

Receiving error while trying to debug in QtProject

I installed the latest version of the QtProject so now I can debug C++ code. While trying to debug for the first time I got this error: ptrace: Operation not permitted. Could not attach to the ...
0
votes
1answer
2k views

OpenCV program won't compile (Quantal)

I am trying to compile a simple program using OpenCV in Ubuntu Quantal. I have installed all the OpenCV packages available. My code is the following #include <stdio.h> #include ...
0
votes
0answers
65 views

Is there a C/C++ compiler for Ubuntu? [duplicate]

Possible Duplicate: Can I use a C/C++ compiler? Is there a good C/C++ compiler out there for Ubuntu? I'm going to be learning C soon and would like to know if I should just use windows for ...
0
votes
3answers
2k views

Using Visual Studio for Ubuntu? [duplicate]

Possible Duplicate: What IDEs are available for Ubuntu? I would like to make programs in C++ for Ubuntu and Windows. I will be using visual studio on a Windows PC for the programming. I ...
0
votes
2answers
218 views

Why does qt-creator need to connect to google-analytics?

I just installed qt-creator to work on non-qt C++ projects. The installed version is 2.5.0 (Based on Qt 4.8.2 32-bit) If I click on any of these pages: I get this error: I realized that ...
3
votes
1answer
224 views

C++ programming - Is there a way to make gedit recognize new classes?

I'm C++ programming in ubuntu 12.04 using gedit and it recognizes c++ default commands. I was wondering if I can make it able to recognize the new classes I define and change their color in the code ...
4
votes
1answer
1k views

I can't compile a C++ program with the g++ command

If I try compiling my C++ source file by the following command: g++ a.cpp it outputs: The program 'g++' can be found in the following packages: * g++ * pentium builder try: sudo apt-get intsall ...
0
votes
1answer
603 views

libxml2 package installed but cannot include, building libaiml

I am trying to build a library (libaiml). I was having problems installing the library using normal methods: ./configure ; make ; make install In the README, the author says you should use this ...
4
votes
2answers
4k views

How do you find libraries(C++) in Ubuntu?

Sorry this is such a beginner question, but I've recently begun programming with C++ on Ubuntu 12.10 and I've installed a few libraries I need to work with, for example PCL and I can't find them to ...
1
vote
1answer
78 views

what is wrong .h [duplicate]

Possible Duplicate: How to compile C++ source code (“iostream.h not found” error)? I have aquired C++ for dummies, old for a windows GNU compiler. And I get this error, thinking it needs a ...
3
votes
2answers
4k views

Howto install google-mock on Ubuntu 12.10

I am having hard time trying to install Google C++ Mocking Framework. I have successfully run sudo apt-get install google-mock. Then I tried to compile this sample file #include "gmock/gmock.h" int ...
5
votes
1answer
321 views

What language C++, Python, or Java is most supported in Precise Pangolin for game development?

I've studied game programming and design in Windows using DirectX, and a bit using Python and PyGame. I would like to start developing some games for Ubuntu. Now I would like to build a game called ...
3
votes
2answers
7k views

Code::Blocks: g++ not found

Recently I have installed Code::Blocks IDE on my Ubuntu 12.10. The following error appears when I try to run or compile any code written in there: Compiling: /home/sabbir/first.cpp /bin/sh: 1: g++: ...
1
vote
2answers
4k views

Can't find openssl

I'm trying to work with Boost:asio to establish a SSL connection. Now, my compiler says, it can't find openssl/conf.h I'd like to know where this path is and how to fix this problem. Thanks in ...
2
votes
1answer
3k views

How to fix: extension “NV-GLX” missing on display. Ubuntu running on Oracle VM Virtual Box

I have been assigned a homework on my C++ class using OpenGL and GLUT. When I try to run the project, it runs very slowly and it freezes after a little bit. Before the program runs I get the following ...
3
votes
1answer
751 views

geany cannot run file built by g++ on kubuntu

I used geany and g++ on Ubuntu, they were working just fine. But now I just installed Kubuntu, and geany just doesn't work as usual. Geany builds and compiles with g++, but it cannot run the file. ...
3
votes
2answers
926 views

How can I know which version of the C++ “standard library” is installed?

I would like to install the C++ standard library documentation (following the answers in Download C++ reference) but I do not know which version of library is installed in my Ubuntu.
0
votes
2answers
262 views

How to compile old c++ programs on

I am taught the old version of c++ in school, the one which uses iostream.h instead of iostream. I wanted an IDE which helps me compile the programs in that old style c++. and I cant use iostream and ...
0
votes
0answers
105 views

Program exits when building in mingw studio in ubuntu

Is anyone here who uses mingw developer studio in ubuntu? I found this arhive: http://www.iit.upcomillas.es/libroc/mingw-devstudio_linux-2.06.tar.gz I launch the program and everything works well ...
2
votes
3answers
791 views

How to see object code generated by g++?

g++ -c xyz.cpp creates an object file xyz.o But when I open it in vim editor it shows some crazy text... How can I see the machine code? What package can use to open and see that machine code?
0
votes
1answer
5k views

How to fix a “/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found” error?

I've been getting this annoying problem. I want to compile a .so under Ubuntu using the Anjuta IDE. It compiles fine and all, but when I load it, that's when the error comes up: ...
2
votes
2answers
83 views

What method do I use to manage an app-specific background process?

I am developing an application with different behavior depending on the arguments : "-config" starts a Gtk window to change options, start and close the daemon. "-daemon" starts a background ...
0
votes
1answer
312 views

C++ Development Cinder/Visual Studio

I'm currently taking a Data Structures course that involves the development of C++ applications using microsoft visual studio express c++, an application called Cinder, and we turn in assignments via ...
3
votes
0answers
4k views

Is there a built-in c++ compiler in 12.04? [duplicate]

Possible Duplicate: Can I use a C/C++ compiler? I just installed Ubuntu on my laptop because my programming professor insisted on it. This is my first time using Ubuntu. So I had some ...
5
votes
1answer
1k views

Why won't Qt-SDK install?

I just installed Ubuntu 12.04. One of my classes require that I install the Qt libraries and SDK, however, I can neither install the 32-bit or 64 bit version. I changed both into executable files, but ...
6
votes
1answer
920 views

What is the correct way to use g_signal_connect() in C++ for dynamic unity quicklists?

I want to make my application use dynamic unity quicklists. For building my application I am using C++ and the QtCreator IDE. When a menu action is triggered I want to be able to have access to a ...
2
votes
1answer
219 views

Compiling C++ in Ubuntu ( psa - Point Set Analysis)

I'm new in Ubuntu and trying to compile a C++ code on it. The code uses 2 dependencies (Cairographics and FFTW3). I have installed both of them using ./configure, make and make install in directory ...
3
votes
2answers
164 views

What version of C++ does 12.04 use?

If anybody knows or has a way for me to check it would be much appreciated. Isn't there a certain version of C++ that you need to use with the gcc? Sorry, I don't know much about programming, but I ...
0
votes
1answer
754 views

How to install Boost/lexical_cast.hpp in Ubuntu 12.04

How can I install boost/lexical_cast.hpp in my Ubuntu-12.04? Does ubuntu 12.04 has default boost package installed? if so, then how can I be able to see which version it is and what libraries are ...
0
votes
2answers
1k views

C program runs well in Windows but when run on Ubuntu it is not asking for string?

My simple code for getting info from user & print the same works fine with Windows OS (on Dev C++) but But its not asking for string when run on Ubuntu (tried Terminal/Dev C++ via WINE/Code ...
4
votes
5answers
20k views

Eclipse Juno C++ error: Program “g++” not found in PATH

I installed the newest Eclipse Juno manually (not through software center nor apt-get), and then install Eclipse CDT from the help > install new software menu. However, when I try to compile a simple ...
2
votes
1answer
3k views

How can I install Boost 1.50 on Ubuntu 12.04?

The libboost-dev package in the repos is an older one and I would like to use the newest release. I'm OK with installing from source, but am a little confused by the instructions on the site. It ...