23.7 MM ID,31.3 ODkvvrp是什么电缆缆

c++ - fatal error C1004: unexpected end-of-file found - Stack Overflow
Join Stack Overflow to learn, share knowledge, and build your career.
or sign in with
I get the above error message (which I googled and found is something to do with a missing curly brace or something), however, I cannot see where this missing bracket is?
#include "stdafx.h"
#include &Windows.h&
#include &iostream&
class Something{
static DWORD WINAPI thread_func(LPVOID lpParameter)
thread_data *td = (thread_data*)lpP
cout && "thread with id = " && td-&m_id &&
int main()
for (int i=0; i& 10; i++)
CreateThread(NULL, 0, thread_func, new thread_data(i) , 0, 0);
struct thread_data
thread_data(int id) : m_id(id) {}
4,7173681135
In C++, the class keyword requires a semicolon after the closing brace:
class Something {
// &-- This semicolon character is missing in your code sample.
194k29367400
Your class Something needs to have a terminating semicolon.
class Something{
}; // missing
14.7k2465107
You need a semicolon (;) after the closing brace (}) of the class Something definition
21.7k12944
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
Upcoming Events
ends Mar 27
Stack Overflow works best with JavaScript enabled相关词典网站:Reported by:
Component:
Blocked By:
Reproduced by developer:
Analyzed by developer:
Comments only
Change History (23)
by cehoyos
by cehoyos
by andrewc
follow-up:
by andrewc
in reply to:
by cehoyos
by andrewc
by uscgraphics
by cehoyos
follow-up:
by uscgraphics
in reply to:
follow-up:
by michael
in reply to:
by uscgraphics
by draku1a
by michael
by cehoyos
changed from FFmpeg to avformat
Resolution
set to fixed
changed from new to closed
by andrewc
Last edited
by andrewc
by rogerdpack
for help on using
Download in other formats:

我要回帖

更多关于 btly是什么电缆 的文章

 

随机推荐