Search:
Type: Posts; User: skycrazy123
Search:
Search took 0.01 seconds.
-
March 27th, 2009, 06:55 AM
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);
...
-
March 27th, 2009, 06:24 AM
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...
-
March 27th, 2009, 05:52 AM
The problem has been resolved. I added: char data[512] = {'/0'}; at the receiving end.
-
March 27th, 2009, 05:17 AM
----RESOLVED-----
Hi All,
This should be an easy one for you.
I have defined and set a char as follows:
char *data = "1";
-
February 24th, 2009, 11:51 AM
I know, I just hadnt got around to updating the files yet (but thanks for reminding me)
Dave.
-
February 24th, 2009, 11:48 AM
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...
-
February 24th, 2009, 11:44 AM
I declared them private in the header, and it seemed to work. I'll test it with the rest and get back to you
-
February 24th, 2009, 11:43 AM
No Dice.
The same problem occurs.
the call's:
cout << test[1].get_info() << "\n";
cout << test[0].get_info() << "\n";
both return "bar"
-
February 24th, 2009, 11:27 AM
The MyClass header file is as follows:
#include "stdafx.h"
#include <iostream>
#include <string.h>
using namespace std;
class MyClass
{
public:
-
February 24th, 2009, 11:18 AM
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...
-
February 24th, 2009, 09:57 AM
never mind. I hadn't included the header file either.
Thanks for all your help.
-
February 24th, 2009, 09:54 AM
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.
-
February 24th, 2009, 09:41 AM
Would you mind elaborating GCDEF? An example would be useful.
Cheers,
Dave.
-
February 24th, 2009, 09:34 AM
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...
|
Click Here to Expand Forum to Full Width
|