c - mingw, collect2.exe: error: ld returned 1 exit status error -


first of want make clear started studying "c language" @ uni. i'm @ beginning might not able understand guys using specific words , such. why found of other topics regarding same problem kinda useless: couldn't understand much. anyway, here go. installed today in pc mingw, latest version; followed every single note found in download page. installed eclipse (these 2 softwares suggested our teacher). problem is: whenever try compile little program such as

/*  * esercitazione.c  *  *  created on: 08/apr/2013  *      author: fra  */  #include<stdio.h> int main(int argc, char *argv[]) {      printf("hello world! \n");     return (0); } 

i error http://puu.sh/2wrk2 "well let's try old fashioned comand prompt then." thought. headed folder , used comand "gcc firstprogram esercitazione.c". now, problem: whenever open generated .exe file, can't see opening: mean opens , closes fast took me quite effort notice in screen there printed "hello world!" in code. don't know , come handy right now. in advance!


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -