No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
When you pass a pointer to a function make sure to allocate the memory before passing to the function. In your program u were not allocating memory before passing on to the function. The memory was allocated within the function. Which was in the local scope of the function itself. …
There is a tool 'oxygen' which generates the document from your C++ code. Provided you have sufficient remarks in it
I do not understand why you want to directly use a tcp/ip connection for fetching the data. Rather creater a dsn to be used over the network to access the sqlserver data. From your Cpp file use Sqlconnect using the dsn name. Prepare the stmt and exceute the sql statement …
[FONT=Trebuchet MS]Dear all: I've created TCPsocket in linux using C++. It receives an array of unsigned characters. I need the corresponding hex values in character format. i.e. "ABC" in hex it is "414243". Now I want to treat each of "414243" as character. So I have done the coding as …
There is nothing called a negative ASCII value. Every symbol should have an ASCII value. I think you wanted to print the character variable using a %d notation, for which you received -69. As already mentioned in many messages below you should have your system char as unsigned char. But …
The End.
Sutanu