I've copied the libstdc and the libgcc to where I have the. In the helloWorld.c source file, click to the left of to the line that prints the Hello, World message to place a breakpoint. In the Debug view, ensure that the launch configuration defined is selected as the configuration. This guide has shown how to set up a Visual Studio Code programming environment on a Raspberry Pi 4B or Pi 400 for C/C development on the Pico. Switch to the Debug view by clicking the Debug icon. This is the mingw path: C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin EDIT 2įinally solved it. In Visual Studio Code, open helloWorld.c in the editor. In the computer's terminal, this is what is shown: procedure entry point is not found. I've tried the same exact code in online editors and it does work. In short, when there's a string variable in the code, nothing works, at least that is what I noticed. I've just started programming in c and I've a problem that is probably really simple but I've been trying to solve it for a long time.Ĭout prints all built-in variables but when I try to print a string variable, it doesn't work (it doesn't print anything even if there are other couts with other things to print that aren't strings).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |