am sorry..i dunno how 2 go abt wht u say !!! can u help me ??? diz is my first in C...am just on the learnin curve !!! it mite sound silly but then, vent worked on C much, so findin it difficult as...
Type: Posts; User: nirmala.s
am sorry..i dunno how 2 go abt wht u say !!! can u help me ??? diz is my first in C...am just on the learnin curve !!! it mite sound silly but then, vent worked on C much, so findin it difficult as...
my last code:
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
int main()
shld i use fsprintf or fprintf ????? also cud u tel me the difference between the two !!!!
Vart,
I tried again..but it doesnt give me any output... as in it shld give me "Data Found" rite when task = venor setup........ dunno whr exactly am goin wrong
thrz no warning msg any more.... it jus shows " filterdaa.c has encountered an error and needs to close" this comes up when i run the program and when it prompts me 2 enter the file name....
Vart,
I did correct it but stil is the same..the warning msg comes no more but then when i enter the name of file, it closes off completely with an error !!! Cud u plz guide me thro'whr am doin a...
The problem is the txt file gets updated with the log file... so its not possible to count the no. of rows and columns every time !!!!
I wrote a piece of code...
# include <stdio.h>
#...
I wudnt be able to quote the no. of rows and columns as this text file is auto copied frm the log file on the database !!!!
The code so far i've written is:
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int main()
{
i dint quite get tht..cud u help me with the codin part of it.. i need to first open the file using fopen and then perform the action...
My txt file is of the format:
Date Station Operator Task Action
and a list of values under each heading.. Now how do i write a C code to pull up records tht match a specific...
Copying works perfectly fine but updation is still a big question mark !! How do i go abt it !! And also incase i want to select records frm the text file based on a condition, how do i do it in C ???
Hi folkz,
Need help in writing a C program..The scenario is as follows:
We need to copy a log file frm the database to a txt file and the txt file should automatically get updated whenever the...