Показать сообщение отдельно

  #888  
Старый 23.03.2008, 20:30
.Slip
Leaders of Antichat - Level 4
Регистрация: 16.01.2006
Сообщений: 1,966
С нами: 10692266

Репутация: 3486


По умолчанию

Код:
#include <iostream>

using namespace std;
typedef unsigned long int ulong;

class X1
{
public:
	int func1();
	int func2();
};

X1 S;

X1::func1()
{
	if (5==5)
	{
		//blablablabla
	}
	S.func2();
	return 0;
}

X1::func2()
{
	if (6==6)
	{
		//blablablabla
	}
	return 0;
}


int main()
{
	S.func1();
	return 0;
}
Цитата:
Сообщение от BuildLog  
1>------ Build started: Project: 4, Configuration: Debug Win32 ------
1>Compiling...
1>4.cpp
1>c:\documents and settings\admin\рабочий стол\c++\4\4\4.cpp(16) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\admin\рабочий стол\c++\4\4\4.cpp(26) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Build log was saved at "file://c:\Documents and Settings\Admin\Рабочий стол\C++\4\4\Debug\BuildLog.htm"
1>4 - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
И он заебал уже Ругается именно на {
Студия 2008
__________________
..
 
Ответить с цитированием