No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello every one. I coded a program to seperate words from a file and want to input each seperated part to an array.But it doesnot work.Please help me!! Here is the code [code]#include<stdio.h> #include <string.h> #define max 100 int main() { FILE *f; char data[128]; char *p; int host=0; int … |
|
Hello Every one, I need to write a program to copy a part of a String from a specified place. Eg: if the first String looks like "This is a C program" I need to extract the part of "C program" How can I do this.Please help me. Can I … |
|
Hello every one?I have a program use to copy the contents of an array to a File.But it does not work. when it runs Visual Studio starts to debug. But nothing happening.File contents does not change.Please help me tho solve this problem.Thank you very much. Here is the program. [CODE]#include<stdio.h> … |
|
Hello every one.I coded a program to print current date and time. First I declare a function tim() to calculate the current time. It works well.But the problem is I cant call the function from main() function.It doesnt print any thing.What is wrong with this code? Please help me.Thanks very … |
|
Hello every one!Please help me!! I am new to C programming.I wrote a programe to copy lines one by one of a file to an array.But it cant compile.I cant understand the error code also.Please help me! here is my code. #include<stdio.h> int main() { FILE *f; char data[256]={0}; char … |