Search:

Type: Posts; User: vlrk

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thanks for the reply.

    Thanks for the reply.
  2. Funciton pointer and array varaible assignment

    Hi ,

    I am doing one sample program with function pointer.

    Missing part for me is how bags array first index is getting replaced .
    Line number 10 calls function next , but how come value...
  3. May be this one more suits to the linux related...

    May be this one more suits to the linux related forum than a c programming message boards.
  4. Replies
    6
    Views
    412

    I made two changes to remove the errors . Why...

    I made two changes to remove the errors .

    Why size is being taken from the user , what purpose it is serving..?



    #include<stdio.h>

    int main(void)
    {
  5. Replies
    5
    Views
    428

    I see it's working in linux environment. I...

    I see it's working in linux environment.

    I made one change of commenting all except addition, to run with out compilation issue.

    Also you make use of return even in main().

    Though main can...
  6. Replies
    2
    Views
    277

    expression evaluation

    Hi ,

    In below code i want to the evaluation of expression.

    I am trying to know like , when will x be incremented and y will be incremented and on what basis.




    #include <stdio.h>
  7. I am trying to upgrade openssl package for one my...

    I am trying to upgrade openssl package for one my target board package .

    This is legacy code . It has already shared objects of previous version openssl-1.0.1t .Here i am trying to upgrade openssl...
  8. httpd + openssl : compilation issues while using shared openssl library

    I am using httpd-2.2.31 , trying to use openssl-1.0.2t with --with-ssl and --enable-ssl parameter.

    --with-ssl points to the openssl installed directory.

    I am having redhat 5.7 with x86_64 ...
  9. Finding out circular linked list example.. Query with respect to implementation.

    Hi All ,

    I have below program , which finds out whether the given linked list is circular linked list or not.




    Int containsLoop (listptr head)
    {
    Listptr *ptr1, *ptr2;
  10. Double Pointer : Query on Some implementation.

    Hi ,

    I am trying to understand the usage of double points in c programming.

    I was following one of the response related here...
  11. Thanks salem, One more query on subject...

    Thanks salem,

    One more query on subject int32_t . I have two machines with different gcc versions.

    When i include this data type in my program and try to compile i see that it depends on...
  12. Query on accessing and assigning (unsigned char *) to int32_t

    Hi All,

    I have a following code .



    1 #include <stdio.h>
    2 #include <stdint.h>
    3
    4 struct temp
  13. Replies
    3
    Views
    665

    Thanks salem and algorism. I just overlooked...

    Thanks salem and algorism.

    I just overlooked the creation part of the shm.Its actually like reader would create and wirter would use it.
    In this case i was runing writer first. So no creation of...
  14. Replies
    3
    Views
    665

    SIGSEGV with strcpy and shared memroy

    Hi All,

    I am trying to read from the file and then copy to the shared memory.

    While doing strcpy i get SIGSEGV.

    Can any body can help here like what is the root cuase of the issue?
  15. Thanks anduril, I have pasted my code here.....

    Thanks anduril,

    I have pasted my code here.. pastebin - Unnamed - post number 3694480

    When i run with Valgrind it never shows up this error. In documentation i learned the native execution...
  16. heap corruption + mcheck resulted core + identifying the exact cause

    Hi all,


    I facing an issue with heap corruption.
    In my code i am trying to extract line by line form one of the file using getline. After this i do some parsing and then free the line buffer...
  17. Thanks .. It did worked.

    Thanks .. It did worked.
  18. I am doing echo "jimmy" > temp to fill the...

    I am doing echo "jimmy" > temp to fill the source file.

    I am not sure here how \n is being inserted .

    Is there any editor where I can see all the special character like \n and other. So...
  19. new line character being added while using write system call

    Hi ,

    I have two files . One source and other destination.

    Below are the contents

    1302 [12:09] [/cprogs/files] -> cat temp
    jimmy
    1302 [12:09] [xrakant/cprogs/files] -> cat test
    jhony jhony...
  20. Replies
    10
    Views
    718

    Why we need a third table to link here. In first...

    Why we need a third table to link here. In first table itself a field can be populated with all langauge id's of other table . This solves the issue is it not ?.
  21. Replies
    10
    Views
    718

    Have you tried searching some sample programs...

    Have you tried searching some sample programs with sqlite in google. i just got this link "http://www.tutorialspoint.com/sqlite/sqlite_c_cpp.htm" in my first attempt .Seems to be relevant to your...
  22. Replies
    1
    Views
    492

    Multi line macros -- coding convetion

    Hello All,

    I read some where on macros belwo line.

    "All multi-statement macros shall be surrounded by a
    do {} while(0) loop. Failure to do this may cause problems when the macro is...
  23. Hi, Can you let us know , what error you are...

    Hi,

    Can you let us know , what error you are getting ?.

    Did you try to debug the issue on your own before posting here?.

    Did you seen complete usage of fseek ?.
  24. Replies
    7
    Views
    664

    Can you post your error?

    Can you post your error?
  25. I changed my file readeing as below ...

    I changed my file readeing as below



    while (fread(buff,SIZE,NUMELM,frp))
    {
    fwrite(buff,SIZE,SIZE,fwp);
    memset(buff,0,sizeof(buff));
    }
Results 1 to 25 of 134
Page 1 of 6 1 2 3 4