Globals variable problem
Globals variable problem
- Subject: Globals variable problem
- From: Michael <email@hidden>
- Date: Fri, 25 Jul 2008 20:12:59 -0700
I wonder if someone can help with this. I have asked before, but could not get to the bottom of it.
Still learning C...
#include <stdio.h> #include "krExercises.h"
#define MAXLINES 20 char *lineptrs[MAXLINES]; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Problem is here.
int main (int argc, const char * argv[]) { int nlines; if ((nlines= readlines(lineptrs, MAXLINES)) >= 0){ stuff here; } else more stuff here; return 1; }
I cannot get the debugger to show the array "lineptrs". Have done this.
Opened the globals browser and selected "Sort_strings" ( the name of the project) but nothing to check in the right hand field.
Thanks in advance. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden