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

Search:

Type: Posts; User: skycrazy123

Search: Search took 0.03 seconds.

  1. Re: Sending data over SOCKETS (serialization)

    Came across the following stuff, which does work, but I want the character representation, not the file. Is there something similar???

    ofstream out("binary.txt", ios::binary);
    ...
  2. Sending data over SOCKETS (serialization)

    Hi,

    I am trying to send an array of objects over a socket using winsock. Obviously I can't send the array in its current form and need to somehow convert it to an appropriate format. I have heard...
  3. Replies
    5
    Views
    780

    Re: char issue, strange characters

    The problem has been resolved. I added: char data[512] = {'/0'}; at the receiving end.
  4. Replies
    5
    Views
    780

    RESOLVED. char issue, strange characters

    ----RESOLVED-----

    Hi All,

    This should be an easy one for you.

    I have defined and set a char as follows:

    char *data = "1";
  5. Replies
    10
    Views
    1,417

    Re: Storing Objects in an Array

    I know, I just hadnt got around to updating the files yet (but thanks for reminding me)

    Dave.
  6. Replies
    10
    Views
    1,417

    Re: Storing Objects in an Array

    Thanks for the explanation why Lindley. And thanks for identifying the problem JohnW@Wessex.

    Problem sorted. I officially love this forum.

    I also officially appologise for my sucky ability when...
  7. Replies
    10
    Views
    1,417

    Re: Storing Objects in an Array

    I declared them private in the header, and it seemed to work. I'll test it with the rest and get back to you
  8. Replies
    10
    Views
    1,417

    Re: Storing Objects in an Array

    No Dice.

    The same problem occurs.

    the call's:

    cout << test[1].get_info() << "\n";
    cout << test[0].get_info() << "\n";

    both return "bar"
  9. Replies
    10
    Views
    1,417

    Re: Storing Objects in an Array

    The MyClass header file is as follows:

    #include "stdafx.h"
    #include <iostream>
    #include <string.h>
    using namespace std;

    class MyClass
    {
    public:
  10. Replies
    10
    Views
    1,417

    [RESOLVED]Storing Objects in an Array

    Hi,

    Thanks for the help earlier on on another problem, now for a new one....

    I wish to store objects (I think I actually mean object pointers, but I am sure you will tell me if I'm wrong) in...
  11. Re: LNK2019 unresolved external symbol problem

    never mind. I hadn't included the header file either.

    Thanks for all your help.
  12. Re: LNK2019 unresolved external symbol problem

    Ahh, that figures. I do however get a different error now:

    error C2653: 'ProductInfo' : is not a class or namespace name

    Any ideas on how I'd go about fixing that one?

    Ta,

    Dave.
  13. Re: LNK2019 unresolved external symbol problem

    Would you mind elaborating GCDEF? An example would be useful.

    Cheers,

    Dave.
  14. [RESOLVED]LNK2019 unresolved external symbol problem

    Hi,

    I'm new to c++ and have an issue with the LNK2019 error. I've done some googling and as of yet haven't found a solution to my problem. So here I am!!

    The exact error I receive is: error...
Results 1 to 14 of 14





Click Here to Expand Forum to Full Width

Featured