C++ is a general-purpose programming language.

learn more… | top users | synonyms

0
votes
1answer
400 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 fairly ...
5
votes
1answer
2k 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
1k 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 non-...
2
votes
1answer
291 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
186 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
1k 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 ...
1
vote
2answers
2k 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 Blocks)...
4
votes
5answers
26k 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 ...
2
votes
3answers
4k views

What options are available for C++ GUI development with Ubuntu?

I know about Qt as an C++ software development framework for front end applications and I am aware of Eclipse as an IDE for Java and C++, but I was wondering if anyone could provide recommendations of ...
1
vote
2answers
2k views

c++ programs are not working properly [closed]

/* write a prog to take the name of the user and output it with a thank you stamement*/ #include<iostream> using namespace std; int main() { char ch[20]; cout<<"enter your name pls"<&...
3
votes
1answer
15k views

Installing MySQL Connector/C++

I would like to know which is the procedure to install the mysql c++ connector. After installing it to my Ubuntu OS will I have these extra c++ commands avaiable in every c++ IDE? For example, can I ...
0
votes
3answers
6k views

Underfined reference clock_gettime not solved by -lrt

I'm trying to compile the program the source for which is here. As per his instructions I'm compiling using the command g++ -O3 -lrt netmon.cpp -o netmon. I get this output: netmon.cpp:(.text....
8
votes
3answers
16k views

Find version of development library from command line?

I installed the c++ boost development libraries using Ubuntu software centre. The problem is that it was quite a long time ago and I cannot remember where they are installed nor what version they were....
0
votes
1answer
2k views

How do I build Allegro?

I'm trying to build allegro on 12.04 but it continues to give me error, I've downloaded the tar.gz folder of version 5.0.7 and installed cmake, what else do I need? And how do I proceed?
1
vote
2answers
1k views

Netbeans cant call libraries in C++ since update to 12.04

I was hoping you can help me solve a problem I have. Since I updated to 12.04 version of Ubuntu I cant call libraries in C++ netbeans projects. I get this message in netbeans when I include library ...
0
votes
2answers
651 views

Is this Ubuntu One DBus signal connection code correct?

This is my first time using DBus so I'm not entirely sure if I'm going about this the right way. I'm attempting to connect the the Ubuntu One DBus service and obtain login credentials for my app, ...
2
votes
1answer
2k views

A question about “add-apt-repository”(gcc 4.7 or bumblebee)

I installed Ubuntu 12.04 in my notebook and I use C++. I want to use C++11, so I want to upgrade my gcc to gcc-4.7. I ran these commands: sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo ...
0
votes
1answer
383 views

C++ Application on Kubuntu

Im looking to develop myself an application for my KUbuntu machine. Basically a tool kit for stuff I use all the time. I have looked at the QT framework but cant find any really good guides for it ...
2
votes
1answer
339 views

How to use quickly with c++

I wanted to know that how can i create application using c++ with quickly. Recently i wanted to use pyside with it so i deleted all the files in the main folder expect init.py And it works I wanted to ...
0
votes
1answer
2k views

eclipse-CDT won't debug my c++ programs

I've installed eclipse from ubuntu repositories and I installed CDT from "install new software." But every time I try to debug a simple program, an error occurs that says 'launching q.cpp debug' ...
0
votes
1answer
597 views

Anyone know if 12.04 has OpenGL Aux Libraries?

Im wanting to know how to install ubuntu 12.04's OpenGL aux libraries if any. Im trying to program OpenGL with C++. I cant find anything on google so. any help would be super great!!!
5
votes
1answer
402 views

Getting list of installed apps (NOT packages)

How can I get list of installed apps (based at files in /usr/share/applications/) without writing own parser? I need just app name, path to app icon and path to launch app. I'm using C++ with Qt ...
10
votes
1answer
16k views

How to make Eclipse CDT's Linux GCC toolchain resolve C++ standard library headers?

In Ubuntu 12.04 LTS I installed the Eclipse CDT plugin and opened the new hello world project to just test everything out. When I was creating the project, I chose the only toolchain: "Linux GCC" ...
0
votes
1answer
483 views

Cmake module and OpenGL on 12.04

I'm trying to find some opengl dev files and I had it working great in 11.10. I can just barely move around cmake and kind of wrap my head around linux development. If anyone can provide a better ...
4
votes
3answers
4k views

Compiling C++ inside a folder in Ubuntu 12.04

I have some question about compiling .cpp inside a folder, it says first.cpp No such file or directory but when I run it in home it compiles. Any settings I might have left out? Thanks. Here's ...
0
votes
1answer
5k views

gcc compiling error for c++ program

When I'm trying to compile a C++ program with gcc, it gives me following error: gcc: error trying to exec 'cc1plus': execvp: No such file or directory error: command 'gcc' failed with exit status 1
1
vote
3answers
9k views

Eclipse not creating a binary file when building a simple program

I have a problem with linking and\or running a simple program in my eclipse. I'll try to first give a full description of the setup I'm using, to help identify the problem. Please notice that this is ...
1
vote
2answers
6k views

“32-bit libraries not found on this system” when trying to install the Intel C++ Composer

I am installing Intel C++ Composer (Non-commercial version) for Linux with x32 and x64 target. During installation i get the warning message: Step no: 4 of 6 | Options > Missing Optional Pre-...
0
votes
2answers
4k views

How can I disassemble or decompile a C++ executable?

Is there any tool like Dumpbin (for Windows) in Ubuntu which can disasssemble (produce machine code) for an executable file?
1
vote
2answers
2k views

boost 1.48 and default (1.46) on Precise Pangolin12.04

The Precise release of ubuntu has two libboost-dev packages. The default is 1.46, but there is also a 1.48. If I install both, where are the headers and libraries for 1.48 installed? Are the ...
14
votes
2answers
104k views

How to compile C++ source code (“iostream.h not found” error)?

I do not want to discuss about C++ or any programming language!I just want to know what am i doing wrong with linux ubuntu about compiling helloworld.cpp! I am learning C++ so my steps are: open ...
1
vote
2answers
236 views

Unendable question C or C++ [closed]

Got a question related to programming. I was planning to choose one more language, besides Java, and stuck between choosing C or C++. I am planning to create apps specifically for Ubuntu with GUI (...
-2
votes
1answer
23k views

Compiling C++ code raising “no input files” fatal error?

I am finding it hard to run/compile a simple C++ code in the terminal. Here's the code I am using to compile the file (helloworld.cpp). g++ helloworld.cpp -o helloworld I am getting an error. (...
-1
votes
1answer
2k views

How to use Kdevelop to write c++ programs ?

How I can build c++ applications using Kdevelop. Where I can find tutorials for kDevelop4 ? How to set the path for it ? How I can build a GUI application using Kdevelop 4.2? Whenever I try to ...
1
vote
5answers
12k views

Would Microsoft Visual studios C++ 2010 work on Ubuntu?

I want to use Ubuntu but I'm not sure if it will work for Microsoft Visual Studios C++ 2010. Or is there another program that will work on Ubuntu that will work just as good (if not better) than ...
0
votes
1answer
792 views

libboost installation per apt-get - where are the files located? how do I link them in eclipse?

Im trying to install the boost libraries and entered sudo apt-get libboost* i managed to set the include paths and the header-only librarys are working. when I try other libraries like regex I get an "...
0
votes
1answer
3k views

Problem using graphics.h in Ubuntu

# include<stdio.h> # include<graphics.h> # include<math.h> using namespace std; int main(void) { int gd=DETECT,gm; int r,x,y,p,xc=320,yc=240; initgraph(&gd,&gm,...
1
vote
1answer
205 views

Unity, C++, opening a Unity folder out of a QT-application

I wrote an QT-application, which shows a "QTreeWidget" of a certain directory and its sub-directories. Now I would like to make unity open a folder e.g. /home/Username/, by clicking one of the ...
2
votes
1answer
190 views

Recommended way of packaging a boost::python module?

I have a one-file boost::python module which is compiled using a one-line Makefile. What is the recommended way of packaging it? Distutils? Makefile? CMake? Use CDBS then? Are there some documents on ...
1
vote
1answer
2k views

configuration of Eclipse (C++ version) for running SQLite?

I need to run C++ code via eclipse which has SQlite. I can run it via terminal with typing g++ test.cpp -lsqlite3 . but how can I run it via Eclipse? how should pur the command "-lsqlite3" in its ...
7
votes
3answers
2k views

What do I need to start programming? [closed]

I am a brand new engineering student, my teacher told us that we need to program in C++, I am new to programming and to Ubuntu, I am installing the latest version of Ubuntu but I would like to know ...
0
votes
1answer
384 views

Assigning permission to C++ program

I'm trying to run a program in C++ compiladom in Ubuntu, but is giving permission denied. I tried chmod 755 file but does not work. How do I solve this?
2
votes
5answers
1k views

How can I run Turbo C++?

How can I use Windows apps like Turbo C++ on Ubuntu? Wine says "not applicable on your PC", or something like that. I need to specifically use Turbo C++ on Ubuntu for my coursework.
1
vote
2answers
604 views

Installing/upgrading GCC compilier for testing C++

I have ubuntu 10.10, and I have been learning c++ lately on it. I originally installed the gcc compilier via the command: sudo aptitude install build-essential I would like to start learning/...
4
votes
1answer
16k views

How to install libboost 1.48?

I would like to install the latest Boost C++ libraries onto my 10.10 system using a PPA but cannot find one that works. Nordlöw already suggested good sources in a similar discussion but I could not ...
1
vote
1answer
214 views

Stopping the Unity global menu from hijacking the menubar from my app

I'm developing an application for Ubuntu that (ab)uses the Gtk::MenuBar class to create a custom widget. It works fine on Gnome-Shell, but on Unity the widget gets hidden. I know I can disable the ...
3
votes
1answer
4k views

Why does gsl-library not compile/link in 11.10, despite that it did under 11.04 with the same makefile and program?

I have a problem with the gsl library in Oneiric - after upgrade from Natty to Oneiric I cannot build a program anymore with my own makefile, despite the fact that in QT Creator everything works fine ...
3
votes
2answers
11k views

How to install gtkmm?

Is the gtkmm package already installed by default? If not how do I install it on Ubuntu 11.10 with all the prerequisites? I do not see any reference to the packages described in the gtkmm tutorial in ...