Quirky Variable Definitions
- From: "Matt Brock" <mbrock ktc com>
- To: <gtk-app-devel-list gnome org>
- Subject: Quirky Variable Definitions
- Date: Mon, 7 Jul 2003 23:44:06 -0500
I've been having some interesting results from using a class of my own
(CEpsim) inside of a function that initiates a dialog box.
The code is as follows:
SEG FAULTS:
int DialogBox_Initialize()
{
CEpsim eps;
GtkWidget *DigestDNA_Button, *AddToWell_Button;
...
WORKS
int DialogBox_Initialize()
{
GtkWidget *DigestDNA_Button, *AddToWell_Button;
CEpsim eps;
...
I know how the old saying goes of "If it works and it's broken it's not
broken" (is that it?), but I'm wondering what the reason for this is.
Thanks!
Matt Brock
This message was content scanned for viruses by the TLU McAfee Webshield.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]