I am running Code::Blocks version Code::Blocks 20.03 on MyOperatingSystem
Microsoft Windows 11 Home Version 10.0.22621 Build 22621. The compiler I use is GNU GCC Compiler.
When I ... attempt to save the current code I have made and then try to 'Build and Run', it should bring up what I have typed (being 'There once was a man named Paul
He was 66 years old
He really liked the name Paul
He did not being 66'),
#include <stdio.h>
#include <stdlib.h>
int main()
{
char characterName [] = "Paul";
int characterAge = 66;
printf("There once was a man named %s\n", characterName);
printf("He was 66 years old\n");
printf("He really liked the name Paul\n");
printf("He did not like being 66\n");
return 0;
but instead it comes up with a triangle shape that I originally created using basic code, instead.
Build log:
#include <stdio.h>
#include <stdlib.h>
int main()
{
char characterName [] = "Paul";
int characterAge = 66;
printf("There once was a man named %s\n", characterName);
printf("He was 66 years old\n");
printf("He really liked the name Paul\n");
printf("He did not like being 66\n");
return 0;
}
Crash report:
(I am not sure how to find this, as it did not crash on me).
(Although the following is not necessary, showing that you
have tried increases the probability of a response.)
I have already tried ...
Saving the file I am currently on and then clicking 'Build and run' but it did not work.
Help please?
I am using a One Drive folder yes, but on windows 11, I don't know how to not use onedrives folders. You'll see in the screenshot I have attempted to save elsewhere (for example on my DOCUMENTS instead of on my desktop this time), but it still saves to OneDrive. I have tried disabling OneDrive but it does not work. Sorry, I really am a newbie.
But any help would be great, thank you.