in console application that would be correct, but I get
1 2 3 4 5 6 7 8
c:\documents and settings\kyoshiro\desktop\folders\3semestras\c++\programavimas cpp\nd\tager\tager\tager\Form2.h(136): error C2661: 'std::basic_fstream<_Elem,_Traits>::open' : no overloaded function takes 0 arguments
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
Build FAILED.
on Visual Studio 2010
well ok... I put in arguments, so it's if(duomf.open("DB/tags.db",ios::in)) on 6th line but now error is
1 2 3 4
c:\documents and settings\kyoshiro\desktop\folders\3semestras\c++\programavimas cpp\nd\tager\tager\tager\Form2.h(135): error C2451: conditional expression of type 'void' is illegal
Expressions of type void cannot be converted to other types
Build FAILED.
So whats wrong with my head?
I know I could finish my term paper in few days if I did program as console application, but I don't want to do so.
lol.. I tried that before, but I got dozens of errors :D
now I checked it again and noticed that I included Form2.h in wrong place.
Damn >.< VS with those stupid stdafx files and untrained users head