[ Kurt2 @ 03.05.2006. 23:29 ] @
Kod je ovakav:
Code:

#include "stdafx.h"
#include <fstream>
#include <iostream>
#include <string>
using namespace std;


int _tmain(int argc, _TCHAR* argv[])
{
    string p;
    ifstream os("c:/sholim/milica2.txt",ios::in);
    ofstream io("c:/sholim/milica2r.txt",ios::out);
    while (!os.eof()) {
    os >> p;
        if (p == "[Sender]") 
        {
        io << endl; 
        }
    else {
        io << p;
         }
    }
    os.close();
    io.close();
    return 0;
}


A greška koju mi prijavljuje nije vezana za sam kod, nego za nešto drugo: This application has failed to start because MSVCR80D.dll was not found. Re-installing the application may fix this problem. Inače, koristim Visual Studio 2005 beta 2.



[Ovu poruku je menjao Gojko Vujovic dana 04.05.2006. u 10:15 GMT+1]
[ #Ninja# @ 04.05.2006. 00:54 ] @
Pa reinstaliraj Visual Studio. Nabavi finalnu verziju ako možeš.
[ cynique @ 04.05.2006. 02:03 ] @
Project → Properties → Configuration Properties → Manifest Tool → Input and Output → Embed Manifest postaviti na No.

Ovo je meni pomoglo sa identičnim problemom.. U non-express verzijama čini se da nema takvog problema.

[Ovu poruku je menjao cynique dana 04.05.2006. u 11:34 GMT+1]
[ Kurt2 @ 04.05.2006. 09:11 ] @
Hvala, pomoglo je i meni!
[ drismet @ 04.05.2006. 10:21 ] @
Citat:
cynique:
U non-express verzijama čini se da nema takvog problema.

Mislim da je tako. Ja sam na jednom kompu imao insaliran expess ed. i imao sam probleme. Mislim da sam resio tako sto sam kopirao MSVCR80D.dll i jos neke u System_Root/Windows/System32.