Skip to main content

All Questions

Tagged with
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
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
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
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
0 votes
1 answer
88 views

Code::Blocks 20.03 - 64 bit Compiler error with C code: undefined reference to `IID_IShellFolder'

I cannot compile the winapi code below using Code::Blocks 20.03 - 64 bit Compiler and get the following error messages: #include <tchar.h> #include <windows.h> #include <commctrl.h> #...
Niteya's user avatar
  • 13
0 votes
0 answers
46 views

Execution of "...\sandbox.sys" failed Code::Blocks

Recently, I was trying to make very simple program in C about calculating rectangle area and perimeters for my students on Code::Blocks. I am getting that done by header files and implementation files ...
MohKaboom's user avatar
2 votes
1 answer
249 views

Why isn't the %F format specifier working with printf?

I'm encountering an issue while using the printf() function and I'd like to share the details. The two main sources I'm referring to, cplusplus.com and cppreference.com, indicate that I can use the %f ...
Fatih Ceyhan's user avatar
0 votes
0 answers
433 views

how can i fix this debug (no such file)?

/I can't run any code and i recive that/ Build messages : ||=== Build: Debug in tes (compiler: GNU GCC Compiler) ===| obj\\Debug\\main.o||No such file or directory| ||error: no input ...
Anes Zidane's user avatar
1 vote
0 answers
28 views

I can't install libsodium on code blocks for a C program

I'm new to programming and I can't install the libsodium library to make a program in C on code blocks, is this possible? If so, can you help me? thank you very much. I've looked at quite a few forums ...
lounoox's user avatar
  • 11
1 vote
1 answer
75 views

C: Problem including a header file with CodeBlocks

I am having a problem with adding my header file "header.h" into my main file "main.c" (I am using CodeBlocks). The following is the minimal version where I can reproduce this ...
3nondatur's user avatar
  • 475
2 votes
0 answers
68 views

How to fix console issues? (Devc++ and CodeBlocks)

Been trying to figure out how to fix it, nothing seems to work. CodeBlocks Console Issue DevC++ Console Issue Basically tried resetting the compiler settings to default, tried reinstalling problem ...
Snuffles's user avatar

15 30 50 per page
1
2 3 4 5
69