CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: punitpandia

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    644

    Re: how a data is wriiten into a file

    plz tell me if i assign two numbers in
    short int fra[2] array
    how they will be stored in that array and how that array will be stored in some file
  2. Replies
    3
    Views
    605

    Re: taking filename from user

    thanks it works
  3. Replies
    4
    Views
    852

    using short int array efficiently

    suppose there is an array
    unsigned short int frame[270000]


    i want to store 480000 no. of words (each word of 9 bits) in the above array
    how can i do so
  4. Replies
    3
    Views
    605

    taking filename from user

    CFile Filewrite;
    Filewrite.Open(m_payload_name,CFile::modeCreate | CFile::modeWrite );

    in the above code "m_payload_name" is the variable associated with the edit box where the user enters the...
  5. Replies
    1
    Views
    722

    ASyncSocket CLASS problem

    i am trying to build a dialog based application which send a array from one computer to another.

    so for doing socket programming is it necessary to make another class and inherite the ASyncSocket...
  6. Replies
    16
    Views
    1,575

    Re: use of bitfields

    hi

    thanks for your help but sir your sample code is too complicated can u just give a brief idea what u hav tried to do
  7. Replies
    16
    Views
    1,575

    Re: use of bitfields

    in my last question i asked for 10 bit word
    can u just generalize this code for 1 to 16 bit word.
  8. Replies
    8
    Views
    753

    bitwise shifting problem

    data1[0]=data[1] <<2;

    my question is in the above statement is the content of the variable data[1] is lost when i do the right shift operation or not ?
  9. Replies
    5
    Views
    722

    Re: assignment problem

    is the value of variable words[nWord+0] is changed before assignment
  10. Replies
    5
    Views
    722

    assignment problem

    pBlock[1] = (words[nWord+0] & 3) << 6;

    can anyone plz tell me in which order the above statement works
    i mean which operation is done first
    assignment , AND operation or right shift
    plz tell...
  11. Replies
    16
    Views
    1,575

    Re: use of bitfields

    plz explain me what here u hav tried to do
  12. Replies
    16
    Views
    1,575

    Re: use of bitfields

    can u plz explain me what here u hav tried to do
  13. Replies
    16
    Views
    1,575

    Re: use of bitfields

    problem is whatever variable i use each exceeds 10 bit limit
    if i use integer to store my number then it uses 4 bytes
    i can't exceed the space limit

    720 words * 10 bit each = 7200 bits
  14. Replies
    16
    Views
    1,575

    Re: use of bitfields

    how can u plz guide me or provide me a link
  15. Replies
    16
    Views
    1,575

    Re: use of bitfields

    can u please show me a sample code using bit field
  16. Replies
    16
    Views
    1,575

    use of bitfields

    just consider a frame of 720 words
    each word consists of 10 bits

    how can i fill up my frame of 720 words with numbers starting from 0 to 720.

    if we store this frame in a file then size taken...
  17. Re: problem wiith edit box value becoz of UpdateData(FALSE)

    great pravin it has worked

    thanks
  18. problem wiith edit box value becoz of UpdateData(FALSE)

    in my vc++ dialog box i hav used one static field to show current time and one edit box to get one integer value from user

    i m using timer for showing time
    to display time on dialog box i m...
  19. Replies
    5
    Views
    644

    Re: how a data is wriiten into a file

    thanks all u guys
  20. Replies
    5
    Views
    644

    how a data is wriiten into a file

    this is how i assigned a hexadecimal number to a variable and wrote it into a file

    const _int64 sync_slot=0x75C6760F254D08B7;
    filewrite.write((char *)&sync_slot,sizeof(sync_slot));

    when i...
  21. Replies
    7
    Views
    1,357

    about bitset

    bitset <10> bz;
    what is the size of bz here

    how can i store content of bz in a file

    what is the basic difference between vector and bitset
  22. Thread: Urgent

    by punitpandia
    Replies
    10
    Views
    1,950

    Re: Urgent

    i know i can't have file of less than 1 byte
    but i will be storing such 6000 numbers of 10 bit each
  23. Thread: Urgent

    by punitpandia
    Replies
    10
    Views
    1,950

    Urgent

    i am converting a integer number into 10 bit binary number and storing it in the following array

    char binary_no[10];

    binary_no[i] has either 0 or 1

    then i am writing it in a *.txt file using...
  24. Replies
    4
    Views
    874

    Binary Files In Vc++

    how can i

    1)create
    2)open
    3)write into
    4)read data from

    a binary file(both read and write mode) in VC++ using MFC
  25. Replies
    5
    Views
    889

    Re: file access vc++

    hiii
Results 1 to 25 of 26
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured