Welcome! Log In Create A New Profile

Advanced

stupid program not compiling

Posted by Cirus 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
stupid program not compiling
February 11, 2011 02:16PM
Im getting this kinda errors when compiling basic hello world program on this other computer - ive checked out the troubleshooting directories and stuff .. and nothings outa place ... i read about the makefile error .....but recompiling aint doin anythin

C:\unisa\cos1511\first.cpp
[Warning] In function `int main()':

error C:\unisa\cos1511\first.cpp:6
`end1' undeclared (first use this function)


(Each undeclared identifier is reported only once for each function it appears in.)

C:\unisa\cos1511\Makefile.win
[Build Error] exe: *** [first.o] Error 1
avatar Re: stupid program not compiling
February 11, 2011 03:07PM
Ah, simple error, easy to make. You're putting the digit 1 (one) in there instead of the letter l (lower-case EL). It's supposed to be endl, which a concatenation and omission of "end line"
Re: stupid program not compiling
February 15, 2011 01:54AM
Ur lucky. I'm using windows 7 & I can't even run the program. The instructions in the tutorial letter didn't help.
Re: stupid program not compiling
February 15, 2011 09:51AM
@Banza, what error/problems are u getting maybe i can help coz i installed the software on windows 7 with no issues
Sorry, only registered users may post in this forum.

Click here to login