Click here to Skip to main content
15,900,378 members

Comments by Karsten Malmquist (Top 8 by date)

Karsten Malmquist 29-Oct-11 12:34pm View    
Honestly, I don't really know what C++/CLI is. Although now that i'm thinking about it, i'm not sure why I changed it back.
Karsten Malmquist 25-Oct-11 12:13pm View    
I did find out how to link it propperly, turned out that you had to link it to a specific HD location unlike the other external libraries for SDL.
Karsten Malmquist 24-Sep-11 17:42pm View    
My question was poorly written; I am using C++, not .NET. My question was how to get the contents of a std::string and put it into a UDP packet (I am making a server application), the UDP packet has a member called "data", but it was kind of hard to explain how the Uint8 variable was declared since I can't find the code of the structure that the variable is a member of. I would imagine that the variable is an array since you can fit multiple characters in it, but the fact that there is no indexing used also kind of eliminates that.
Also, with "(!µ@" I meant that when you write to a file using the fprintf function, then it writes some stuff that is not normal characters to the file during execution, and when you used the fscanf function to read the text from the file, then it read those weird characters so that it could for example read "(!µ@".
Karsten Malmquist 5-Apr-11 12:10pm View    
I am using Dec-C++ (version 5), but I have Visual studio installed on my computer.
Karsten Malmquist 18-Jan-11 15:03pm View    
I still don't understand, if I were to display text to a label I would use the library "windows.h" and write it like this: this->label1->Text = L"Text"; but do I need to write it in a completely different way to display a string (would prefer if you could write it in code if you dont mind). And what do I need to include for the "str.Format", because it says it's a undeclared identifier. Thanks for your help! :)