#include <iostream>

When i type in #include , it tells me that doesn’t exist or something.

it tells me that doesn’t exist or something.

And it would be correct. You are not programming a PC. What do you think you are going to use from iostream.h?

PaulS: And it would be correct. You are not programming a PC. What do you think you are going to use from iostream.h?

I'm sorry for how I am such a noob but I heard that that's how u use cout and other stuff.

never mind

you shouldn't need Cout for arduino. If you want to output some text you probably want to include serial.h or some other communication protocol header file and write your output using that instead.

For example in my robot I read some sensors then pass the output through a serial port to my PC (via the USB port that is on my Mega 2560. That functionality uses Serial.println() method.

On the pc end of things I read the data using a c# program then do something based on the USB.

Arduino boards are simply the wrong context for iostream.h generally speaking. There are bunches of header files available depending on what you want to do with the board.