Search:

Type: Posts; User: sdsjohnny

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,720

    cant open file - says no file or directory

    I have a weird issue. Can some one help.

    When I hardcode abc.bin to inputFileName - I can open the file in cpp. But when I pass the same using an optional argument, it fails. Note that in both...
  2. Thanks Quzah, I compiled and got these. ...

    Thanks Quzah,

    I compiled and got these.

    sizeof(void*) is 4. Same way sizeof(char*) is also 4.
    The total size is 12 bytes = 4 for int + 4 for function ptrs +4 for char*.
  3. size of struct with pointers and function pointers

    Hi,

    I following structure



    typedef struct
    {
    UINT32 abc;
    int (*f)(int a, intb);
Results 1 to 3 of 3