C++ is a general-purpose programming language.
-1
votes
3answers
41 views
Please could you suggest program to develop website and etc [closed]
I'm new for Linux and Ubuntu and I want to learn how to use these OS.
But I want to make sure that It has programs to support my dev purpose.
Purpose:
website dev base on php,java and asp,c# ...
0
votes
1answer
47 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
13 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
0answers
34 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
44 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
35 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 ...
-2
votes
0answers
28 views
Read GPS on C++ [closed]
I just got a new GPS to work with on my project and I have some difficulties viewing its data. The GPS is connected fine and is installed correctly and whenever I use lsusb I get to see it connected. ...
0
votes
0answers
30 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
60 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
19 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
19 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
24 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 ...
1
vote
1answer
54 views
Run system commands from QML App
I'm creating a QML app for Ubuntu Touch to easily manager your Minecraft server. Just for fun and to learn QML. However, I got somewhat stuck on a step on my app.
I'm more of a web developer, never ...
0
votes
0answers
53 views
Unknown OpenGL-Extension after update 10.04 to 12.04 [closed]
I'm currently developing a small OpenGL-based application using QT. I started on Ubuntu 10.04 and upgraded to 12.04 this week.
My programme now crashes as soon as I try to create a texture via
...
0
votes
1answer
36 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
62 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
0answers
28 views
Netbeans can't run, please!
thank you all for your support.
I'm new to Ubuntu, I want to program in C / C + + from Netbeans, I've installed the package version 7.3 with JDK 1.7.
Open up Netbeans, I think good programs and ...
1
vote
2answers
148 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
120 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
47 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 ...
0
votes
2answers
125 views
Installing Eclipse with Java and CDT
Long story short, my computer got a virus yesterday and when I tried to re-image the computer, I accidentally wiped out Windows. While I'm waiting for a Windows 8 OEM disc to get here in the mail, I ...
0
votes
1answer
46 views
Check Shutdown Privilege
I'm trying to make a C++ program on Ubuntu that checks if a user can shutdown the PC, and, if so, shut it down for him.
So, I'm thinking about getting the user ID, and then, checking if, or if not, ...
-3
votes
2answers
59 views
programming c++ [closed]
Heyy
Can somebody help me with c++?
I know this is maybe not the best place but I don't find anything on the web.
So i want to do a if-statement like this
if(*it == '\') {
//do something
}
...
0
votes
3answers
170 views
How run C++ in Geany Ubuntu 12.10
I want run C++ in Geany, but I got a problem.
Before I run Pascal but cannot run. Then I installed fpc success run fine.
And I run C++, appear error in terminal :
./geany_run_script.sh: 5: ...
0
votes
1answer
122 views
Decrypting *.SO file [closed]
Situation: Long back i developed some coding in C and C++, by converting to *.SO file - i deleted those C and C++ files.
Issue: I want to re-convert the *.SO files into C and C++ files for the code ...
1
vote
0answers
55 views
How can I use Stroustrup's graphics libraries (Simple_window.h, Graph.h,…) in Netbeans
I'm reading and learning Bjarne Stroustrup's "Programming principles and practice using C++". I want to use graphics libraries from chapter 12-16 in Netbeans 7.3.
I have already added header files ...
0
votes
1answer
49 views
Trying to compile Magic Set Editor
When I try to compile magicseteditor I get these errors:
g++ -DHAVE_CONFIG_H -I. -I./src -I/usr/lib/i386-linux-gnu/wx/include/base-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 ...
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 ...
0
votes
2answers
69 views
Errors in a simple C++ program [closed]
#include<iostream>
int main()
{
char ch = 'A';
int num = ch;
cout << "The ASCII code for " << ch << "is " << num << "\n";
cout << "Adding 1 ...
0
votes
1answer
226 views
Error 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
pranav@pranav-Inspiron-1545:~/dependency$ tar -xvf ...
0
votes
1answer
89 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
64 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
0answers
118 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 ...
4
votes
0answers
174 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
184 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>
...
0
votes
0answers
36 views
gSoap Webserver on Ubuntu
I am developing a web service in gsoap on Ubuntu. I know gsoap has stand-alone web server and i have tried my best to find and run it but i was disappointed with my search and help on this topic on ...
1
vote
1answer
109 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 ...
2
votes
0answers
36 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
133 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
46 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
53 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 ...
0
votes
0answers
24 views
Good c++ developing environment [duplicate]
I am looking for a good c++ developing environment that has a fairly simple UI. Any suggestions? Thanks!
0
votes
0answers
33 views
How to enumerate SCSI devices using libudev
How to enumerate all SCSI devices currently connected to the system using libudev and list its properties like: Vendor ID, product ID, Serial number, etc?
4
votes
2answers
259 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 ...
2
votes
2answers
151 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 ...
4
votes
1answer
77 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
34 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
27 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 ...
2
votes
1answer
34 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
2answers
190 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 ...






