GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 15-Nov-2003, 19:25
belludandy belludandy is offline
New Member
 
Join Date: Nov 2003
Posts: 2
belludandy is an unknown quantity at this point

writing into file prob


hi,im writing a database in C
there's part of my code that will write string to the file from array.
and the prob pop up..
CPP / C++ / C Code:
for(i=0;i<ElemCount;i++)
{
    fprintf(fp,"%d%c%s%c%s%c%f",AtomicNum[i],':',ChemName[i][20],':',ChemSymbol[i][3],':',AtomicWgt[i]);
}
when it read this line, it will not write to the file fp, why?
 
 

Recent GIDBlogObservations of Iraq by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading from file jmenendezr C++ Forum 2 26-Feb-2006 16:00
Limited file size.... lament Apache Web Server Forum 2 31-May-2004 13:35
vector prob nattylife C++ Forum 1 15-Nov-2003 07:41
How to search a huge text file for data? JdS MySQL / PHP Forum 7 27-May-2003 09:27
How Do i get php to find out the file type of a file for me? viperman95833 MySQL / PHP Forum 2 08-Mar-2003 09:48

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 21:01.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.