Код: Выделить всё
#include <iostream>
using namespace std;
int main(int argc,char **argv)
{
ifstream ifs(argv[1]);Ошибка:
variable ‘std::ifstream ifs’ has initializer but incomplete type
запускаю на компиляцию: g++ convert2.cpp
система Linux Debian Lenny
Решено:
надо добавить
#include <fstream>