crisdeveloper's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 12 (0.07 per day)
- Joined:
- 04-December 12
- Profile Views:
- 237
- Last Active:
May 02 2013 05:53 AM- Currently:
- Offline
Previous Fields
- Country:
- BR
- OS Preference:
- Windows
- Favorite Browser:
- Chrome
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- PC
- Your Car:
- Who Cares
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: "Program received signal SIGSEGV, Segmentation fault"
Posted 2 May 2013
thanks for the attention. really i should to make my own codes light and workfull! -
In Topic: "Program received signal SIGSEGV, Segmentation fault"
Posted 30 Apr 2013
thanks for read this code. is not a good idea face this chalenge for now. i´m still in a low level in c++; this code is very bad to work well and explain to someone.
you can close this topic. -
In Topic: "Program received signal SIGSEGV, Segmentation fault"
Posted 30 Apr 2013
i did erased the endthread and beginthread
and the console show number from 1 to 100
and after the program stop working -
In Topic: "Program received signal SIGSEGV, Segmentation fault"
Posted 30 Apr 2013
the message now is
C:\Thread_duplicates\main.cpp|64|error: '_endthread' was not declared in this scope|
C:\Thread_duplicates\main.cpp|1329|error: '_beginthread' was not declared in this scope|
||=== Build finished: 2 errors, 0 warnings (0 minutes, 16 seconds) ===|
int main() { HANDLE handle[10]; create(); handle[0] = (HANDLE) _beginthread(new_create1,0,0); handle[1] = (HANDLE) _beginthread(new_create2,0,0); handle[2] = (HANDLE) _beginthread(new_create3,0,0); handle[3] = (HANDLE) _beginthread(new_create4,0,0); handle[4] = (HANDLE) _beginthread(new_create5,0,0); handle[5] = (HANDLE) _beginthread(new_create6,0,0); handle[6] = (HANDLE) _beginthread(new_create7,0,0); handle[7] = (HANDLE) _beginthread(new_create8,0,0); handle[8] = (HANDLE) _beginthread(new_create9,0,0); handle[9] = (HANDLE) _beginthread(new_create10,0,0); init(); add1(); init(); add2(); init(); add3(); init(); add4(); init(); add5(); init(); add11(); init(); add22(); init(); add111(); init(); add999(); new_print(); getch(); }
void print() { long int i=0; struct node *temp=start; while(temp!=NULL) { i++; printf("%ld: Data %ld\n",i,temp->data); temp=temp->next; } _endthread(); }
someone can help to fix it?
realy this is a long code, but it ´s not mine code. i´m trying to solve the bugs. -
In Topic: "Program received signal SIGSEGV, Segmentation fault"
Posted 29 Apr 2013
forget the previous message
the error now is in the 63 line: _endthread();
My Information
- Member Title:
- New D.I.C Head
- Age:
- 24 years old
- Birthday:
- March 23, 1989
- Gender:
-
- Location:
- Ceara - Brasil
- Interests:
- Share knowledge and expand already have.
- Full Name:
- Cristiano de Araujo Bezerra
- Programming Languages:
- Java, C++, Action Script, HTML, CSS,
Contact Information
- E-mail:
- Click here to e-mail me
- MSN:
-
crisdeveloper@hotmail.com
- Facebook:
- https://www.facebook.com/crisdeveloper
Friends
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
crisdeveloper has no profile comments yet. Why not say hello?