Search:

Type: Posts; User: sanddune008

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thanks for the replies... I have not...

    Thanks for the replies...


    I have not mentioned the headers here , though I have them while executing .No initializations to 1 were made.
  2. Initializing the class member in class function gives me wrong output

    why does the output of value of b = 1 ?

    I have below code:


    class test
    {
    int a;
    public:
    int b;
  3. > (In Assignment scenario)Does that mean the...

    > (In Assignment scenario)Does that mean the compiler will take care of converting from float to int, which means that it take care of converting existing representation [S][Exponential][Mantissa]...
  4. > (In Assignment scenario)Does that mean the...

    > (In Assignment scenario)Does that mean the compiler will take care of converting from float to int, which means that it take care of converting existing representation [S][Exponential][Mantissa]...
  5. Is it something to do with the way floating point...

    Is it something to do with the way floating point numbers are represented?


    But why typecasting it like this d=(float)i; gives an right value?

    I am too confused......
  6. Undefined behaviour doing an memcpy from long to float variable

    I am not able to figure out the knowledge gap for the below piece of code.
    I assume that the float variable to have an value equal to that of i , but it always prints 0.000. Am I missing...
  7. Replies
    8
    Views
    1,021

    Doubts on 2D array

    Hi All,

    Following code :



    int main()
    {
    int ar[][5]= {{1,2,3,4,5},{6,7,8,9,10}};
  8. Thanks for the reply My confusion was with the...

    Thanks for the reply

    My confusion was with the "above highlighted line"

    Why didn't we initialize the line with the below line:
    E_NetworkStatus lNetworkStatus = *(E_NetworkStatus *)ptr ;
  9. How will this variable assignment treat ...........

    I Have a code snippet


    #include <string.h>
    #include <stdio.h>


    typedef enum {
    e_NW_NFY_ID_UNKNOWN = 0,
    e_NW_NFY_ID_ETHERNET_PLUGIN, /*< Ethernet cable plugged in,...
  10. Replies
    2
    Views
    1,419

    Ah!!! i didnt see the limit 10......Thanks for...

    Ah!!! i didnt see the limit 10......Thanks for the quick reply.....I will not paste the plain txt nxt time.....






    Its just replaces :

    For Input :192.168.5.59/mydirectoryname/php
  11. Replies
    2
    Views
    1,419

    Stack Smashing error

    int Formulate_StaticURL(char *finalstring,char *inputstring,int len)
    {
    int i=0;
    char *fileextension = inputstring+len-1,fileextn[10];

    memset(fileextn,'\0',10); ...
  12. Open source for UTF8 to Unicode in C language

    Hi,

    I would like to know ,is there any open sources available to do the conversion from UTF8 to Unicode(16-bit) and vice versa..

    Also i would like to know how can i integrate that...
  13. I may have to investigate why the directory is...

    I may have to investigate why the directory is not getting created........

    What i don't get is how come it was working these days and all of a sudden it stop? anyways i will try to figure this out.
  14. Thanks Nominal Animal for your time!!!!! Its...

    Thanks Nominal Animal for your time!!!!!

    Its working without creating an directory under the root(using mkdir).Now I am creating the file directly under the root directory and it is working.
    I...
  15. Thanks to all for your time and prompt...

    Thanks to all for your time and prompt reply......Let me digest all your comments and come back on this.......
  16. can anyone help me debug the problem?

    can anyone help me debug the problem?
  17. Issue on reading from flash with flash.....

    Hi,

    Problem statement:
    I have to retain a value....Hence i am storing the same to flash using fwrite and fread operations(Os Linux).

    Observarion:
    1. As soon as the data is written(fwrite) i...
  18. Replies
    3
    Views
    1,902

    yes.............Its returning the same as the one...

    yes.............Its returning the same as the one which is hardcoded(As i have written the hardcoded value to file).
  19. Replies
    3
    Views
    1,902

    Error while creating socket....

    Hi,

    Following is the code i have been checking...



    void createsocket()
    {
    struct sockaddr_in server_addr;
    unsigned int port = 0;
  20. Allocated memory is reset later part of the execution

    Hi All,


    I have a issue, where i am able to allocate memory using the malloc. While printing in logs ,i am able to see the address being assigned as well.

    But When, like say 500ms into...
  21. Thanks.....

    Thanks.....
  22. getting weird Esception on freeing link list

    Following is the source:



    #include <string.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <assert.h>
    #include <ctype.h>
  23. simple program to convert unsigned long to string throw segment fault

    #include <stdio.h>
    #include "string.h"

    #define HTTP_URI_FMT "http://%s:%lu/%s"
    #define IPCOMP(addr, n) ((addr >> (24 - 8 * n)) & 0xFF)
    #define IP_ADDR_LEN 20
    int main()
    {
    unsigned long...
  24. Replies
    3
    Views
    1,057

    I am passing the baseAddress to fwrite(); ...

    I am passing the baseAddress to fwrite();

    Kindly help me with a compilable statement for the above fwrite.


    Thanks in advance
  25. Replies
    3
    Views
    1,057

    can this be done with file operations

    I have a following piece of code for writing to file:




    #include "stdio.h"

    #define MAXITEMS (10)

    typedef struct{
Results 1 to 25 of 148
Page 1 of 6 1 2 3 4