I cannot get the BitConverter class to work. I get the error 'BitConverter' undeclared (first use this function). I have tried putting 'using System;' at the top of my code because I saw that in some examples online, but it then tells me that 'System' has not been declared. What am i missing? A #include file?
Asked
Active
Viewed 457 times
0
-
1Did you mean C++ for the tag? – Nikolai Fetissov Oct 11 '10 at 02:05
-
I don't think so...is this class not available in c? – Seth Nelson Oct 11 '10 at 02:08
-
1Since when there are classes in C?! :) – Arun Oct 11 '10 at 06:13
1 Answers
0
BitConverter is a CLI class, If you don't mean the CLI class then you've lost me completely and can ignore the rest of this answer. #include is c++. Is this managed c++? Please clarify and re-tag the question as approriate.
If it's Managed C++ you use
using namespace System
to include namespaces instead of C#´s
using System

dutt
- 7,909
- 11
- 52
- 85