Re: Reading a file???
- From: "Uni" <unimatrix 001 ntlworld com>
- To: "Daniel K. O." <danielosmari yahoo com br>
- Cc: "Filip Van Raemdonck" <mechanix debian org>, "GTK App Development list" <gtk-app-devel-list gnome org>
- Subject: Re: Reading a file???
- Date: Sun, 16 Feb 2003 00:25:22 -0000
Thankyou both! :)
Uni
----- Original Message -----
From: "Daniel K. O." <danielosmari yahoo com br>
To: "Uni" <unimatrix 001 ntlworld com>
Sent: Saturday, February 15, 2003 9:14 PM
Subject: RES: Reading a file???
Let's see...
void readfromfile()
{
...
gchar temp2;
while (...)
{
if(...)
{
strcpy(temp2,ent->d_name); // <- It crashes here...possibly the
'ent->d_name'???
strcat("/home/nuser/pro1/data",temp2);
fr = fopen(temp2,"r");
No wonder it's crashing, you're using a gchar where you should use
gchar[].
Daniel K. O.
_______________________________________________________________________
Busca Yahoo!
O serviço de busca mais completo da Internet. O que você pensar o Yahoo!
encontra.
http://br.busca.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]