Questions tagged as 'codeblocks'

1
answer

Why does the code blocks compile using g ++ in a project set up as "C"

I'm learning C and using CodeBlocks, I was in% File > New > Project > "Console Application" > "GO" > Next and the question appears Please select the language you want use. I select C . but when compi...
asked by 20.04.2017 / 22:41
0
answers

How to put the caret (cursor) in the right position?

When I create a new method, it looks like this: void teste(){|} Notice that the cursor is between {} , and when I press enter it looks like this: void teste(){ |} Now the cursor is behind } , and that's my problem. Ideally,...
asked by 14.10.2016 / 15:25
0
answers

IDE's Auto-Complete Code :: Blocks does not display methods of the Allegro library

I'm using allegro in Code: Blocks, but when it comes to something from Allegro Code :: Blocks can not use AutoComplete, what should I do to fix this?     
asked by 16.06.2015 / 22:15
1
answer

Installation CodeBlocks CentOS

I'm a beginner in programming, I just did a subject in college. I would like to install CodeBlocks on CentOS 7 (on a college machine) to edit a C program, but I'm having a hard time. I downloaded codeblocks-16.01.el6.i686.tar.xz (via Sourcefo...
asked by 05.07.2017 / 00:26
1
answer

Program requesting libgcc_s_dw2-1.dll

This error is occurring: I'm using Code :: Blocks, trying to create a program with wxWidgets.     
asked by 03.10.2015 / 23:24
1
answer

Could not find -lGL

I'm running the default CodeBlocks for OpenGL on Ubuntu: /* * GLUT Shapes Demo * * Written by Nigel Stewart November 2003 * * This program is test harness for the sphere, cone * and torus shapes in GLUT. * * Spinning wireframe and smoo...
asked by 24.09.2018 / 13:31
2
answers

Code :: Blocks does not print the pointer value

I developed a code in C to print the value and address of the variable x using a p pointer, but Code :: Blocks does not print the values. #include <stdio.h> #include <conio.h> int main() { int x=2; int *p;...
asked by 19.08.2018 / 17:57
1
answer

Object created inside conditional If it generates compiler error c ++

I'm having trouble compiling a C ++ program in IDE Code :: Blocks. What I'm trying to do is access an object that was instantiated inside a conditional If. I will put down the codes of the main program and also of the classes that I created....
asked by 02.01.2018 / 01:34
1
answer

Program in c showing output, strange different from the value of the variables

I have a problem executing a program in ec and when I compile it and execute it it shows me a value that is not defined in my variable I'm thinking it's some bug with ide or something related to the buffer I'm going to leave a screenshot for you...
asked by 26.08.2017 / 14:39
1
answer

Enable variable spacing Code :: Blocks

I love Code :: Blocks, but it has a problem, I wanted it to already spill the instructions as soon as I put the ';' same as Visual Studio. Ex: for(int i=0;i<n;i++)'' >> ''for(int i = 0; i < n; i++)     
asked by 31.07.2016 / 14:44