Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,378 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,031 people online right now. Registration is fast and FREE... Join Now!




tell me what is segmented fault

 
Reply to this topicStart new topic

tell me what is segmented fault

MasterWafu
20 Sep, 2006 - 07:20 PM
Post #1

New D.I.C Head
*

Joined: 18 Sep, 2006
Posts: 30


My Contributions
tell me what is segmented fault.........in linux
User is offlineProfile CardPM
+Quote Post

Xing
RE: Tell Me What Is Segmented Fault
20 Sep, 2006 - 07:37 PM
Post #2

D.I.C Addict
Group Icon

Joined: 22 Jul, 2006
Posts: 723



Thanked: 2 times
Dream Kudos: 1575
My Contributions
This error generally occurs when your program tries to access memory which it is not suppose to.
User is offlineProfile CardPM
+Quote Post

MasterWafu
RE: Tell Me What Is Segmented Fault
20 Sep, 2006 - 07:46 PM
Post #3

New D.I.C Head
*

Joined: 18 Sep, 2006
Posts: 30


My Contributions
linux always put out that thing........ but when i access as a server user or the admin......it works!!
User is offlineProfile CardPM
+Quote Post

Xing
RE: Tell Me What Is Segmented Fault
20 Sep, 2006 - 07:59 PM
Post #4

D.I.C Addict
Group Icon

Joined: 22 Jul, 2006
Posts: 723



Thanked: 2 times
Dream Kudos: 1575
My Contributions
Show your code.
User is offlineProfile CardPM
+Quote Post

MasterWafu
RE: Tell Me What Is Segmented Fault
20 Sep, 2006 - 08:04 PM
Post #5

New D.I.C Head
*

Joined: 18 Sep, 2006
Posts: 30


My Contributions
you mean the whole code............ blink.gif
my linux code????
User is offlineProfile CardPM
+Quote Post

Xing
RE: Tell Me What Is Segmented Fault
20 Sep, 2006 - 08:09 PM
Post #6

D.I.C Addict
Group Icon

Joined: 22 Jul, 2006
Posts: 723



Thanked: 2 times
Dream Kudos: 1575
My Contributions
Give us smallest piece of code which we can compile and check.
User is offlineProfile CardPM
+Quote Post

MasterWafu
RE: Tell Me What Is Segmented Fault
20 Sep, 2006 - 09:05 PM
Post #7

New D.I.C Head
*

Joined: 18 Sep, 2006
Posts: 30


My Contributions
what????certain of piece of my code are sure i still debugging it....
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/5/08 01:41AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month