Search:

Type: Posts; User: vijay85

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Then how can i use sleep command for this program...

    Then how can i use sleep command for this program I using unix.
  2. please tell me the below program goes to sleep after displaying the message.

    #include <stdio.h>

    int main()
    {
    printf("Message 1\n");
    sleep();
    }
  3. plz help me geeting the date is correct or not

    memset(a,'\0',11);
    memset(str_date,'\0',9);

    strncpy(a,path_departure_date,4);

    result=strtok(a,delims);

    while(result!=NULL) {
    ...
  4. Replies
    3
    Views
    956

    hi all please help me

    i have a .txt file in that i want to take the date between 2008-12-16 to 2008-12-31 from snapshot_date column with this condition i want to pick the whole record.

    the below is code which it is...
  5. Replies
    5
    Views
    1,682

    Meldreth

    Thanks a lot.
  6. Replies
    5
    Views
    1,682

    Meldreth got one problem

    Hi Meldreth,
    Thank you very much but its giving space after each line. Please help me in this.

    Thanks and Regards,
    Vijay
  7. Replies
    5
    Views
    1,682

    reading .txt file

    #include<stdio.h>
    int main()
    {
    FILE *pfile;
    char my[200];
    pfile=fopen("my1.txt","r");
    if(pfile==NULL) perror("error in opening file");
    else {
    fgets(my,200,pfile);
    puts(my);
  8. Replies
    3
    Views
    1,159

    thanks matstap

    but i defined it as #define C64_LEN 3

    Thanks & regards,
    vijay,
  9. Replies
    3
    Views
    1,159

    copying of char

    for( j=0; j< 3; j++)
    { TmpPathRec.leg2_carry_cost[j] = fss_leg_found->carry_cost[j]; }
    in header file
    short carry_cost[3];
    short leg1_carry_cost[3];

    Previously we are...
  10. Thread: hi all

    by vijay85
    Replies
    1
    Views
    885

    hi all

    int main()
    {
    PATH_WARREN_STRUCT WarrenIn;
    PATH_FLT_SNAPSHOT_STRUCT FssIn, Fsearch;
    static PATH_FLT_SNAPSHOT_STRUCT TmpFssRec[MAX_ARRAY];

    PATH_FLT_SNAPSHOT_STRUCT *...
  11. Replies
    1
    Views
    1,178

    Hi all please in this env settings

    if ( (LCOFileName =
    getenv("LCO_FILE")) == NULL)
    {
    sprintf(sMessage,"The environment variable LCO_FILE is not set\n");
    ...
  12. Replies
    5
    Views
    1,296

    Hi matsp

    ya i am using unix platform.Can u please send me the command for that
    this is the make file-->fcf012u0.mak
    c-file is fcf012u0.c
    and object file is program2.o it was created by cc -c fcf012u0.c...
  13. Replies
    1
    Views
    1,733

    hi plz help me in this topic

    i want to create a make file with c program so i need library functions.
    i found this in make file.So i want to know how to create these libraries.

    [code]
    ## List all the libraries needed to be...
  14. Replies
    5
    Views
    1,296

    hi

    i want to create a make file so i need library functions.Is there any command like crating object files.
    i found this in make file.So i want to know how to create these libraries


    ## List all...
  15. Replies
    5
    Views
    1,296

    Hi plz help me in crating library files

    LIBS = ${LIBDIR}/libfcf041.a
    ${LIBDIR}/libfcf012.a



    i know how to create object files i.e cc -c program2.c
    can any one help me in the command for creating library files.
    Thanks...
  16. Replies
    2
    Views
    981

    Thanks for ur valuable reply i got it

    Thanks for ur valuable reply i got it
  17. Replies
    2
    Views
    981

    hi giving core dump

    #include <stdio.h>
    #include <strings.h>
    #include <stdlib.h>

    typedef struct
    {
    long int flight_no;

    float Fare,
    Carry_cost_1,
  18. Replies
    9
    Views
    1,733

    Thanks alot tabstop and all i changed from char...

    Thanks alot
    tabstop and all i changed from char to int its working.
  19. Replies
    9
    Views
    1,733

    hi tabstop, when i am compiling i am not getting...

    hi tabstop,
    when i am compiling i am not getting any warnings.
    the o/p i am getting is correct it is reading the file.
    939,MUM,ord,396,2,3.0,4.0
    100,bom,nru,1009,10,4.0,6.0

    but i am getting...
  20. Replies
    9
    Views
    1,733

    hi to over come with core dump

    #include<stdio.h>
    main()
    {
    FILE *fp=NULL;
    char ch;
    fp=fopen("/u/n073313/vijay/File.txt","rb");
    while(1)
    {
    ch=fgetc(fp);
    if(ch==EOF)
  21. Replies
    8
    Views
    1,704

    #include int main() { char temp[10];...

    #include<stdio.h>
    int main()
    {
    char temp[10];
    FILE *input1 = NULL;
    FILE *input2 = input2 = fopen("File2.txt", "w");
    unsigned char buffer[100], lTempData[7][20];
    char *lPtr = NULL;
    int i =0;...
  22. Replies
    8
    Views
    1,704

    hi i changed from void main() to int main()....

    hi i changed from void main() to int main().
    even though i am experiencing the same problem.
  23. Replies
    8
    Views
    1,704

    thanks for reply salem. : #include...

    thanks for reply salem.

    :
    #include<stdio.h>
    void main()
    {
    char temp[10];
    FILE *input1 = NULL;
    FILE *input2 = NULL;
    unsigned char buffer[100], lTempData[7][20];
  24. Replies
    2
    Views
    1,587

    hi to create a .txt file

    C program to create .txt file containing 10 records. Record schema will be as follows: customer id integer, type of customer char (1) G/B, age integer and name char (20).
  25. Replies
    1
    Views
    1,335

    hi plz help me in this topic

    #include<stdio.h>
    void main()
    {
    char temp[10];
    FILE *input1 = NULL;
    FILE *input2 = NULL;
    unsigned char buffer[100], lTempData[7][20];
    char *lPtr = NULL;
    int i =0;
    input1 =...
Results 1 to 25 of 26
Page 1 of 2 1 2