Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12693 Discussions

How do you #include <iostream>

Altera_Forum
Honored Contributor II
1,163 Views

Hi, 

Everytime I put in the statement# include <iostream> 

 

I get an error that says that this file cannot be found... is there anyway to include this file in the NIOSII IDE?  

 

Thanks, 

Aydin.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
336 Views

Hi amy35, 

 

in order to do this you have to know where the file is.... First search it with windows (search) or what ever the file is that you need. Then right-click on you project, choose: properties -> C/C++ Build -> (NIOS II COMPILER) General -> Include paths... 

 

Now all you have to do is to include the path to the file and it should work 

 

Good luck.... 

 

Danny
0 Kudos
Altera_Forum
Honored Contributor II
336 Views

Hi, 

The problem with that is that when I do search for IOSTREAM, there are many many IOSTREAM files, most of which, refer to other files themselve... then I get errors regarding those files... 

 

thanks, 

Aydin.
0 Kudos
Altera_Forum
Honored Contributor II
336 Views

Hi Aydin, 

 

suppose you don&#39;t have multiple versions of the ide installed on your pc!? E.g. evaluation version and full version?! We had that problem here at our company. 3 versions installed and gave errors just like you.... 

 

good luck 

 

Danny
0 Kudos
Reply