codeblocks Questions

5

Solved

I'm trying to write my first cpp program on Windows+Code Blocks. I've installed wxwidgets. I have a label and a button. When I hit F9, I get the error: error: wx/setup.h: No such file or directo...
Kafiristan asked 24/8, 2012 at 7:40

5

Windows cmd does not support ANSI colour codes and there are a lot of better terminals in the internet. I'm new to code::blocks and want to change the default terminal. What I did is: Settings>En...
Grader asked 16/12, 2012 at 10:19

5

As part of a long, sordid story whose end goal is simply to get GMP installed for use with code::blocks in Windows, I am trying to configure gmp. I do this with the following command: ./configur...
Afroamerican asked 6/7, 2012 at 20:7

3

I've got an application in Code::Blocks, and it's the simple Hello, World traditional program. #include <iostream> int main() { std::cout << "Hello, World!" << std::endl; } ...
Consolata asked 26/9, 2011 at 12:9

10

I have recently gone from Code::Blocks to Visual Studio, and in Code::Blocks one could just add a class and then include it straight away. However, whenever I do the same in Visual Studio with the ...
Slopwork asked 16/10, 2013 at 23:8

6

I just recently started learning C++ with Code::Blocks. When I first started using it, the autocomplete worked fine, but now it doesn't for some reason. What I mean by autocomplete is this: #inclu...
Perak asked 10/2, 2015 at 0:24

5

Solved

A quick Google search of this issue shows it's common, I just can't for the life of me figure out the solution in my case. I have a straight forward install of wxWidgets 2.8.8 for Windows straight...
Coracorabel asked 25/9, 2008 at 15:33

3

Solved

I was searching how to get system theme color. I found GetSysColor and GetSysColorBrush. Then I tested it with something like that: cout << GetSysColorBrush(COLOR_HIGHLIGHT) << endl; /...
Appendectomy asked 29/7, 2020 at 17:53

5

Solved

I've just started learning C++, and to display the outputs of code I found this method. This worked when I first compiled Structure of a Programme.cpp: #include <iostream> using namespace s...
Remiss asked 9/12, 2011 at 18:37

6

Solved

I started using SDL today and had some trouble before, now I got it running but it won't let me init it. This is my code: #include <iostream> #include "SDL.h" #undef main using namespace ...
Splendid asked 9/5, 2015 at 23:53

10

Solved

can this be done somehow? if((a || b) == 0) return 1; return 0; so its like...if a OR b equals zero, then...but it is not working for me. my real code is: bool Circle2::contains(Line2 l) { if...
Metempsychosis asked 20/2, 2011 at 17:25

3

Solved

I did a fresh install of Code::Blocks (I installed the one for Windows 7 which comes with GCC compiler (codeblocks-10.05mingw-setup.exe)). Then I tried to compile this very simple code: int wmain(...
Applicant asked 7/6, 2012 at 13:9

19

Solved

So I keep getting this error when trying to compile C++ code using CodeBlocks. cannot open output file [filename.exe] permission denied It only started today, and it's sporadic and inconsisten...
Toft asked 29/7, 2011 at 15:25

7

Solved

I've recently decided to try working with SDL with CodeBlocks 10.05. I started with the tutorial on http://www.sdltutorials.com/sdl-tutorial-basics and did my best to follow it. Unfortunately, I'm ...
Earwig asked 29/5, 2012 at 17:30

1

ubuntu version: 12.04 code:blocks 10.04 When I debug my program, the IDE output "warning: GDB: Failed to set controlling terminal: Operation not permitted"
Pattiepattin asked 7/8, 2012 at 8:10

3

What I meant with this title is that for some cases, after building the entire program, its first execution will take about 25 seconds to start (until the first printf shows on the console). The ne...
Reversion asked 22/7, 2014 at 18:15

11

Solved

When I compile my secrypt.cpp program, my compiler shows the error "undefined reference to WinMain@16". my code is as follows secrypt.h : #ifndef SECRYPT_H #define SECRYPT_H void jRegister(); #...
Sauropod asked 16/11, 2013 at 15:48

7

Solved

I'm programming using Code::Blocks. I set some breakpoints, but Code::Blocks seems to ignore them when I run the program. By 'start the program' I mean simply clicking (Build and run). I checked ...
Belongings asked 3/5, 2014 at 8:22

9

So I'm following the tutorials on this page: http://www.cplusplus.com/doc/tutorial/control/ But I'm having trouble doing a range/based for loop. I found this page: GNU GCC compiler updatingThe ans...
Mcgurn asked 4/4, 2014 at 9:44

3

Solved

C++ GUI Tutorial: undefined reference to TextOut I have the same problem, but I'm new to programming and Code::Blocks, and I want to use the GDI32 library. How can I install it? I'm very confused ...
Frivolous asked 2/5, 2011 at 21:36

2

I'd like to change Build, Debug & Run shortcut keys in Code::Blocks. Does any know a plugin or setting to change the keys?
Names asked 16/1, 2011 at 19:39

2

Solved

Does anyone know the shortcut for shifting a block of code in IntelliJ over by a few indents? (For the CSS editor, Coda, I used to select the block or blocks of code and use the shift and left or r...
Willms asked 25/6, 2012 at 16:46

2

Solved

I have a Codeblocks project and I saw that there are .layout and .depend files that appeared in my project folder. Once I close Codeblocks can I safely delete these files?
Piezochemistry asked 12/11, 2015 at 21:43

8

Solved

I'm trying to follow Lazy Foo's tutorials. But when I try to run one of his examples I get this compiler error: error: SDL/SDL_image.h: No such file or directory The compiler/linker is set up ...
Myna asked 27/7, 2011 at 11:31

6

I'm trying to compile a program with multiple source files - two CPP files and a header file, with code::blocks. As an example, I have created the following three files (an example program created ...
Bev asked 11/5, 2011 at 22:9

© 2022 - 2024 — McMap. All rights reserved.