-1

This problem happened after a while of using Codeblocksenter image description here , and I'm not able To find an answer on Google , I write whatever on the IDE and I get Always the Same message : hello World and this is the log message and you can see it at the picture , Yes you can say use Visual Studio Code , but I'm studying on Codeblocks because of the school teacher is using it .

I tried to clean install codeblocks , and I even removed Visual Studio Code , and I removed Dotnet after I got that crazy problem .

6
  • 3
    why do you put the main() in H1.h, which is a header file? Commented Nov 3, 2022 at 16:22
  • Don't (only) post as images. /// -1073741510, or C000013A in hex, is the code for a program that was forcefully exited using Ctrl-C or by closing the terminal. /// You're showing a .h file instead of the file you are compiling (which would be a .c file). Commented Nov 3, 2022 at 16:28
  • As this file contains code and log messages, this is obviously not the code you compile. Please show the code you compile. Then tell us what output you expect instead of Hello World Commented Nov 3, 2022 at 16:37
  • '#include <stdio.h> int main(void) { printf("Resident Evil"); return 0; }' Commented Nov 3, 2022 at 18:22
  • 1
    @dustin2022 Thanks , I fixed it , all I had to do is To Go and Create a source file instead of a Header . Commented Nov 3, 2022 at 19:26

1 Answer 1

2

thankfully the problem was just me creating a header instead of a source C/C++ , just be careful what you are choosing in the first menu.enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.