(Each error

Started by
9 comments, last by Ezbez 18 years, 3 months ago
//Expensive Calculator //Demonstrate built-in arithmetic operators #include <iostream> using namespace std; int main() { cout <<"7+3="<<7+3<< end1; return 0; } The line cout <<"7+3="<<7+3<< end1; Gives me an error with the msg (Each what does this mean? [Edited by - SKS on January 4, 2006 10:04:44 AM]
Advertisement
It is "endl", not "end".
I copy and pasted the wrong one, i still get the error
Quote:Original post by SKS
I copy and pasted the wrong one, i still get the error


and that error is?
Quote:Original post by rip-off
Quote:Original post by SKS
I copy and pasted the wrong one, i still get the error


and that error is?


(Each
It sounds a lot like your compiler installation is borked. What compiler do you have?
Did you try endl, as in END-Line (end-one is what I see)
I am seeing end1 (one) too instead of endl (el - endline)

#include <iostream>using namespace std;int main(){  cout <<"7+3="<<7+3<< endl; //1 changed to l  return 0;}


that was it, thanks
Contrary to popular opinion, leet speak is not actually good for programming in. :D
To win one hundred victories in one hundred battles is not the acme of skill. To subdue the enemy without fighting is the acme of skill.

This topic is closed to new replies.

Advertisement