Skip to main content
0 votes
0 answers
18 views

How can I run the bits library on Codeblock

I want to ask why my Code::blocks suddenly cannot run when I include the <bits/stdc++.h> library (More detail in the pictures below), everything else works fine. This happened after I set up Git:...
An Nguyễn Khánh's user avatar
-1 votes
1 answer
25 views

Highlight.js: Single line code block with scroll-x

I have set up Highlighterjs with my NextJS@13+ page routing, but the code block is taking single line with scroll-x. Look at the image... If i remove the useEffect the highliger is gone, but the line ...
Yousuf Ahamad's user avatar
4 votes
3 answers
158 views

What to do if <threads.h> isn't recognize (in C11)?

I've been learning how to do multi-threading in C and wanted to use <threads.h>. But it (my compiler GCC 8.1) says that <threads.h> isn't a file or a directory when I wanted to compile ...
Hemdy Mameche's user avatar
1 vote
1 answer
135 views

C pointers understanding

I have ran into an issue that has made me realise I don't know as much about pointers as I thought I did. test.h #ifndef TEST_H_INCLUDED #define TEST_H_INCLUDED void getDataAlt(char** dst); #endif // ...
BagOfTricks's user avatar
0 votes
0 answers
40 views

Where is my cbKeyBinder10.ini file in Code::Blocks?

A debug report has been generated in this directory: a dialog box open and my Code::Blocks suddenly stopped. How can I solve this problem? And where is my cbKeyBinder10.ini file in Code::Blocks. And ...
Mohammad Shohel Rana's user avatar
0 votes
1 answer
49 views

How to fix the entry point problem on Code::Blocks

I have a problem. Code::Blocks is showing this: codeblocks.exe - Entry Point Not Found The procedure entry point _initterm could not be located ion the dynamic link library D:\Program Files\...
Lindo Kabini's user avatar
0 votes
0 answers
52 views

SDL2 Code::Blocks unable to find lSDL2_image and lSDL2_ttf

I'm using Code::Blocks version 20.03 on my Windows 11 PC to compile C++ files, whenever I try to build the file, I get an error that it is unable to find -lSDL2_image and -lSDL2_ttf. Here are the ...
Spelunkhead's user avatar
0 votes
1 answer
37 views

Why does codeblocks memory dump window not show the error?

#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> struct train { int id; int hours; int minutes; char destination[21]; }; // ...
Ferromantum's user avatar
1 vote
0 answers
26 views

How to disable code completion suggestions from other open source files in Code::Blocks?

Code::Blocks always shows suggestions from other open source files. For example, if I write a function in another file like func(int a, char ch), Code::Blocks will automatically suggest func(int a, ...
jackson gray's user avatar
0 votes
0 answers
69 views

Issues with using * in command line in windows [duplicate]

I was trying to solve the reverse polish calculator problem where the arguments can be entered on the command line. I am facing a peculiar problem. The program name is rpc.exe A command line entry as ...
Vinayak Deshmukh's user avatar
2 votes
1 answer
104 views

My program takes too long to start when there is an input needed from the user

I'm using Code::Blocks with the GCC compiler to write C programs as a first-year CS student. I encountered a strange issue when using scanf() in my programs. The program compiles normally, but when I ...
Yassine Fouzai's user avatar
0 votes
0 answers
47 views

Why does the terminal close immediately in Code::Blocks? [duplicate]

I downloaded an editor syntax highlighting color theme externally and modified the Code::Blocks configuration. After that, the program terminates immediately as soon as I run it. Here is a picture of ...
남승현's user avatar
2 votes
0 answers
37 views

Problem Including c files into a codeblocks project

I'm having trouble with a bmp editor project while using codeblocks. Context: This is a group project I made alongside 2 friends, all the functions work and it's ready to be submitted as a codeblocks ...
Frank_Grimes's user avatar
0 votes
0 answers
35 views

Can I set up a Code::Blocks project to set its focus back to the Code::Blocks application after closing the console?

Every time I finish executing a C++ console program, and I press any key to exit, the focus doesn't go back to Code::Blocks' screen. I'd like to execute a program multiple times by pressing F9, ...
p14082003's user avatar
1 vote
1 answer
87 views

Building up "Grading System" of a school by using "switch" control statement

I'm a new learner in my coding journey. I was trying to build up a system that can collect numbers and show the Grade according to every individual number. I'm doing it in Code::Blocks. But the system ...
Khabib Nurmagomedhov's user avatar

15 30 50 per page
1
2 3 4 5
289