![]() ![]() Subject: mingw-w64 -enable-fully-dynamic-string. ![]() C Compiler: C:\Users\Public\Dev-Cpp\MinGW64\bin\g .exe I also thought it may be a problem with the compiler so I installed Dev C IDE and tried it on there but I got roughly the same error.Ĭ:/mingw/bin/./lib/gcc/mingw32/5.3.0/././.libmingw32.a(main.o):(.text.startup 0xa0): Undefined reference to error: 1d returned 1 exit status. But this did not work and the same error was received. So with this in mind, from DOS, I tried c -mwindows -o hello.exe hello.cpp (as -mwindows is supposed to include the extra steps). I tried to do a bit of digging around and thought it was a linker problem that's common with windows 10 where windows looks for Winmain to start a program rather than Main. However, when I go to DOS and type in C hello.cpp the below error appears. I've copied the program from a C book I purchase so I'm confident it correct. > typing C in DOS returns "C : Fatal error: no input files" - so I know the compiler has installed correctly > program is written in notepad and saved as a. I'm trying to break my programming virginity with the simple and basic Hello World program but straight from the outset, computer says no. As the beatles once sang, "help, I need somebody, Help, not just anybody, Help, you know I need someone, HELP". ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |