C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. This tag is for questions about the use of C++ on the Raspberry Pi.

learn more… | top users | synonyms

1
vote
1answer
37 views

Periodic process stalls

Was wondering if anyone is familiar with this - I've got the RPi working as an LED controller, sending digital color data 60 times per second to some WS2801 LED controller chips. Everything's working ...
1
vote
1answer
191 views

Simple C++ program compiles but does not run

Having installed the g++ compiler, I thought I might finally be allowed to do some C++ rather than Python on my Pi. Not so though, as my program does not run. It compiles fine, with no errors, and ...
2
votes
1answer
1k views

How to install C++ compiler on Raspberry Pi

What to type at command line after sudo apt-get install...? I want the MinGW compiler like I have on my Windows computer
3
votes
2answers
198 views

Using 128bit integers in gcc

I'm trying to compile this on my Raspberry Pi int main() { __int128 a = 0; return 1; } and I get this error pi@raspberrypi ~ $ g++-4.7 main.cpp main.cpp: In function ‘int main()’: ...
0
votes
1answer
456 views

How to add ARM properly to the build target (Code::blocks)

I want to develop C++ applications for my PI on my PC, I made a develop environment in Ubuntu with the Code::blocks IDE. The problem is that my PC is X86, and the PI is ARM. So how can I add ARM to ...