English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i have a perfectly working program..but it works only in windows(done with visual studio 6,c++).when i put it in unix platform and run i get segmentation fault.this prog. is to convert regular expressions to nfa.it has a stack.the segmentation fault occurs only when i have pushed '*'.And about the unix platform...we have a seperate unix server residing at our college computer centre..everyone has been given an account to access it (must have fixed memory allocation for each person).it is in this server i tried to run my program.check this out........

2007-02-09 17:05:48 · 2 answers · asked by joshua1091 1 in Computers & Internet Programming & Design

2 answers

We don't see the code so we can't help at this point; but seg fault usually is memory leak in more specific name; but anyway, UNIX systems have more strict checks, so development in Windows usually won't give you bugs until codes actually hit a UNIX system.

Usually you should code all the way on a UNIX, not done half way in Windows and move to UNIX, because bugs are harder to track from square one.

2007-02-09 17:23:08 · answer #1 · answered by Andy T 7 · 1 0

no one can see your code. please put it on the internet.

2007-02-10 01:09:42 · answer #2 · answered by iammisc 5 · 1 0

fedest.com, questions and answers