please help

i have been trying the normal "gcc inputfilename -o outputfname/dd.cpp" format on my fedora 22 os but unfortunately for me i have been getting error message about the function main. am confused at the moment.
Would you be able to tell us what the error exactly says? We can't help you until we know what's wrong

also, I'm pretty sure you would want to type
gcc inputfilename.cpp -o outputfname/dd.out

instead of
gcc inputfilename -o outputfname/dd.cpp

but I don't have much experience compiling files through console. don't take my word on it
Last edited on
Topic archived. No new replies allowed.