Questions tagged as 'codeblocks'

3
answers

Hello World in C Linux mint [closed]

I would like you to help me with an error that I have: I am starting to learn the C language and to do this I installed code blocks in linux Linux, apparently the gcc compiler was already installed, so I did not uninstall any other. The problem...
asked by 31.10.2016 / 15:58
2
answers

Concatenate vectors with std :: vector in C ++

I wanted to know how you could concatenate two fixes in C ++: For example a = {1,2,3,4,5} b = {6,7,8,9,10} c = a + b //El resultado c = {1,2,3,4,5,6,7,8,9,10}     
asked by 24.06.2018 / 06:25
1
answer

Problem when running Code :: blocks does not start!

I reinstalled Code :: Blocks on my computer because a few days ago it started to fail in a very strange way, since it opened and did not appear, that is, the interface was not shown, and when opening the task manager it was showed running and in...
asked by 06.12.2017 / 00:11
1
answer

fopen does not work and SIGSEGV sends me in debug and another error in normal compilation

Basically I want to make a program that "divides" the routes in which the file is that I am specifying, that I already achieve, however I also want to access this file with everything and the route so I use fopen and place as variable the string...
asked by 28.05.2017 / 10:34
1
answer

Why when running my code does not make any changes on the screen?

codeblocks edition Good, my problem continues with the compiler of the codeblocks or the way in which compiled, in several Youtube courses I have seen that they do not have this problem and none I could give reason. What happens is that when...
asked by 02.03.2017 / 04:42
0
answers

Obtain the absolute path of a file in C [Linux]

I'm currently trying to get the absolute path of a file in C [Linux] but I do not get the expected path, but it skips a folder at least that seems to be the error. main.c int main() { char archivos[MAXARCHIVOS][MAXLONG];...
asked by 04.11.2018 / 16:11
2
answers

Initialize fixes of objects in C ++

I would like to do a C ++ fix of Point type, but I do not know how to do it. This is my code: #include <windows.h> #ifdef __APPLE__ #include <GLUT/glut.h> #else #include <GL/glut.h> #endif #include <stdlib.h> #includ...
asked by 18.09.2017 / 00:38
1
answer

Configure ncurses in Codeblocks using Ubuntu

I am trying to run this program in CodeBlocks with Ubuntu operating system. The compiler is GNU GCC Compiler #include <iostream> #include <ncurses.h> using namespace std; int main() { cout << "ingrese letra" << e...
asked by 04.07.2017 / 05:44
0
answers

Problems Compiling in Codeblocks [closed]

I just installed the Fedora 25 on my machine. I downloaded Codeblocks from the terminal and the first thing I did was a Hello world in C ++, the program compiles, but when I run it I get a message that says the program is not compiled. There are...
asked by 19.03.2017 / 01:38
1
answer

Problem in basic C [closed]

I am learning to program in C and they left us a job to do, but when I want to compile I get an error and as far as I know, I still do not know what the error is. Thanks in advance and sorry if it's a very stupid question, I'm still learning.  e...
asked by 05.02.2017 / 17:11