Top "Gcc" questions

GCC is the GNU Compiler Collection.

gcc/g++: "No such file or directory"

g++ gives me errors of the form: foo.cc:<line>:<column>: fatal error: <bar>: …

c++ c gcc g++ c++-faq
How do I make a simple makefile for gcc on Linux?

I have three files: program.c, program.h and headers.h. program.c includes program.h and headers.h. I …

c gcc makefile
How do I install imagemagick with homebrew?

I'm trying to install Imagemagick on OSX Lion but something is not working as expected. -> brew install imagemagick /…

git gcc homebrew osx-lion gcc4
What is makeinfo, and how do I get it?

I'm trying to build GNU grep, and when I run make, I get: [snip] /bin/bash: line 9: makeinfo: command not …

ubuntu gcc makefile grep
Modulo operation with negative numbers

In a C program i was trying the below operations(Just to check the behavior ) x = 5 % (-3); y = (-5) % (3); z = (…

c gcc modulo
How to set up a cron job to run an executable every hour?

I need to set up a cron job that runs an executable compiled using gcc once every hour. I logged …

c linux gcc cron crontab
error: use of deleted function

I've been working on some C++ code that a friend has written and I get the following error that I …

c++ gcc g++ c++11 deleted-functions
typedef fixed length array

I have to define a 24-bit data type.I am using char[3] to represent the type. Can I typedef char[3] …

c arrays gcc typedef
Inheriting constructors

Why does this code: class A { public: explicit A(int x) {} }; class B: public A { }; int main(void) { B *b = …

c++ inheritance gcc constructor
undefined reference to 'std::cout'

Shall this be the example: #include <iostream> using namespace std; int main() { cout << "Hola, moondo.\n"; } …

c++ c++11 gcc cout