User Profile

Collapse

Profile Sidebar

Collapse
shariquehabib
shariquehabib
Last Activity: Oct 9 '09, 04:22 AM
Joined: Oct 30 '06
Location: Bangalore
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • shariquehabib
    started a topic Query reg file handeling..
    in C

    Query reg file handeling..

    Hi,

    I am using C language to read a file: row.txt
    Can any one plz help me to get number of rows present in a file BEFORE reading a file.
    So i can check number of rows and if the rows greater than the array size, i can throw an error.

    I just wanted to check row numbers before fscanf function so we can come to know that how many rows are in row.txt file.

    Please find my code:

    ...
    See more | Go to post

  • shariquehabib
    started a topic How to check who deleted files in unix

    How to check who deleted files in unix

    Hi,

    Any one let me know that how can we check that who deleted files in unix (sun).

    Thanks,
    Sharique
    See more | Go to post

  • shariquehabib
    replied to Reg sql query
    before:
    ANZAED12M
    ANZAED1M
    ANZAED1M
    ANZAED2M
    ANZAED2M
    ANZAED3M
    ANZAED3M
    ANZAED6M
    ANZAED6M
    ANZAED9M


    after:
    OOOAED12M ...
    See more | Go to post

    Leave a comment:


  • shariquehabib
    started a topic Reg sql query

    Reg sql query

    I have a SQL Table I am trying to update...I would like to add 'ABC' to the START of every value in a perticular column.

    Can any one help me..

    --
    Sharique
    See more | Go to post

  • shariquehabib
    started a topic Reg Database

    Reg Database

    Can any one let me know sql quey to get loginname of databse/table thru which we logged in?

    --
    Sharique
    See more | Go to post

  • shariquehabib
    replied to read space through file handeling
    in C
    Hi Rahgu,

    I want to read from a file which is having space delimeters and more than 5 rows like:

    Reuters syr2d2 SSL_D2000 Y U REUTERS
    EBS ebsctrl SSL_D2000 N B EBS
    F1XONLINE fxolimp f1xonline_deals X F F1XONLINE FXLOC

    at line 1 and 2 ..in the last space is there...so want to read that space...

    Can u suggest me on this?...
    See more | Go to post

    Leave a comment:


  • shariquehabib
    replied to read space through file handeling
    in C
    Thanks ..i will try this......
    See more | Go to post

    Leave a comment:


  • shariquehabib
    started a topic read space through file handeling
    in C

    read space through file handeling

    Hi All,

    I am using file handeling in C lang.

    Can anyone please let me know that how can i read spaces from a perticular file??

    To read some values (strings) i m using fscanf func.

    Can anyone plz help me on this.


    Thanks,
    Sharique
    See more | Go to post

  • shariquehabib
    replied to Related File Handeling in C lang.
    in C
    Hi Raghu,

    But can we avoid duplicates values ( when we are reading from file )??
    after reading values from file, we can put in array or in stuct.

    ----
    Sharique...
    See more | Go to post

    Leave a comment:


  • shariquehabib
    replied to Related File Handeling in C lang.
    in C
    Hi Rahgu,

    I have written this code:

    ::Full code removed, please read Posting Guidelines::

    in that code, how can i avoid duplicate values? i m not aware abt hash list and i have checked with my team mate....i can use only simple file hadeling.

    please help me on this...

    --
    Sharique...
    See more | Go to post

    Leave a comment:


  • shariquehabib
    replied to Related File Handeling in C lang.
    in C
    can any one help me on this?
    See more | Go to post

    Leave a comment:


  • shariquehabib
    replied to Related File Handeling in C lang.
    in C
    Hi Rahgu,

    I have written this code:

    ::Full code removed, please read Posting Guidelines::

    in that code, how can i avoid duplicate values? i m not aware abt hash list and i have checked with my team mate....i can use only simple file hadeling.

    please help me on this...

    --
    Sharique...
    See more | Go to post

    Leave a comment:


  • shariquehabib
    replied to Related File Handeling in C lang.
    in C
    Hi Raghu,

    I have to use only C file handeling...i cant change this.
    Can u plz give me small example to select only distinct values from file which we ae opening thru file handeling...

    if possible plz give me peice of prog.

    Thanks,
    Sharique...
    See more | Go to post

    Leave a comment:


  • shariquehabib
    replied to reg SYABSE DB
    which staments plz tell me
    See more | Go to post

    Leave a comment:


  • shariquehabib
    started a topic Related File Handeling in C lang.
    in C

    Related File Handeling in C lang.

    Hi All,

    I want to get some values by reading a file (already created) through file handeling but dont want to get DUPLICATE values.

    How can i do that..plz help me out.......

    E.g: file name input.txt having rows like:

    Root 400
    Bye 789
    Teacher 123
    Bye 789

    in output i want to print only :
    Root 400
    Bye 789
    Teacher 123

    Note:...
    See more | Go to post

  • shariquehabib
    started a topic reg SYABSE DB

    reg SYABSE DB

    how can we insert data from different database in SYABSE
    See more | Go to post

  • shariquehabib
    replied to Swap two int values
    in C
    Hi ,
    try this one::
    <CODE REMOVED BY MODERATOR - PLEASE READ OUR POSTING GUIDELINES>

    and print both variables...
    See more | Go to post
    Last edited by Ganon11; Feb 20 '08, 04:30 AM. Reason: Removing 'spoonfed' code

    Leave a comment:


  • What is difference between static library and dynamic library

    Hi All,

    Can any one let me know the correct diffrence between static library and dynamic library while using C language?

    -------------
    Sharique
    See more | Go to post

  • shariquehabib
    started a topic Reg array size
    in C

    Reg array size

    Hi all,

    I am defining array of structure like that : STRUCT_NAME array[1024].
    I am fetching some records from EMP table and copying into that array one by one using while loop.

    But it will work only 1024 records if records will be greater than 1024 then it will not work.
    If I increase the size as 1030 then it will work for 1030 records.

    But If I increase the size as 1031 or 1100 then it will...
    See more | Go to post

  • shariquehabib
    started a topic Reg memory error
    in C

    Reg memory error

    Hi All,

    I m creating one exe using C programing and i m facing one issue in this.
    I defined an array which size was 1024 (like SortOnPrimarySo l[1024] )Now i want to increase this size to more than this 1024.

    While increasing the size as more than 1035, the exe is creating but while execiting this exe, its giving me memory reference error.
    If i will decrease this size to 1030 and again create this exe and...
    See more | Go to post
No activity results to display
Show More
Working...