Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Help
»
help wih fstream // iostream
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: help wih fstream // iostream (Read 5004 times)
alkazors
Guest
help wih fstream // iostream
«
on:
December 05, 2007, 05:44:58 am »
Hi, all im beginning in c and i want to know why do i get an error when i use
#include <iostream>
#include <fstream>
it tells me no such file or directory
thx
please help me !
Logged
jfouche
Multiple posting newcomer
Posts: 28
Re: help wih fstream // iostream
«
Reply #1 on:
December 05, 2007, 09:13:37 am »
Warning, <iostream> is for C++, not for C.
Did C::B found your compiler ? See Settings/Compiler and debugger :
- 1 : Selected compiler
- 2 : the 'search directories' tab.
HTH
--
Jérémie
Logged
alkazors
Guest
Re: help wih fstream // iostream
«
Reply #2 on:
December 05, 2007, 01:51:07 pm »
ok thx i'll try
Logged
alkazors
Guest
Re: help wih fstream // iostream
«
Reply #3 on:
December 05, 2007, 01:53:01 pm »
C:\Program Files\CodeBlocks\include
that what i tells me but i did some programe before with code::blocks and it was working its only
with those #include <iostream> and #include <fstream>
:/
Logged
jfouche
Multiple posting newcomer
Posts: 28
Re: help wih fstream // iostream
«
Reply #4 on:
December 05, 2007, 07:29:47 pm »
Which version of C::B do you use ?
Which compiler do you want to use ?
Do you have the file iostream in the "C:\Program Files\CodeBlocks\include" directory ?
If you want to use gcc (ie MinGW), maybe you have to install it....
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Help
»
help wih fstream // iostream