![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6
![]() |
i'm probably missing something here cuz i'm kind of tipsy right now, but i don't see any c++ code in your post. are you trying to get get visual studio to convert your code or are you trying to rewrite the code in c++? my FIRST impression is that one language is not another and this whole thing is retarded. my second impression is there is something going on that i am not aware of. if you are trying to rewrite the code...that code would be helpful. if it's something weird, ignore this.
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#12 | |
|
Hobbyist Programmer
Join Date: Nov 2006
Location: 163H
Posts: 215
Rep Power: 3
![]() |
Quote:
using System; #include <System.dll> Thats why visual studio is good because u use the same code in different languages.
__________________
You never test the depth of a river with both feet. The believer is happy. The doubter is wise. Free speech carries with it some freedom to listen. The next generation will always surpass the previous one. It`s one of the never ending cycles of life. |
|
|
|
|
|
|
#13 | |
|
SEXY SHOELESS GOD OF WAR!
![]() Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,292
Rep Power: 5
![]() |
Quote:
In C++, the #include directive simply inserts the entirety of the specified file at the point of the #include. Think of it as copy-paste (which is why it would cause all sorts of problems if you inserted a binary file, such as a .DLL). I suppose the nearest equivalent in C# would be adding references to the project, though this seems more along the lines of specifying which object files/libraries to use during linking, for C++.
__________________
Java? Rant? Me? Noooo.... |
|
|
|
|
|
|
#14 | |
|
Hobbyist Programmer
Join Date: Nov 2006
Location: 163H
Posts: 215
Rep Power: 3
![]() |
Quote:
#using <System.dll> The using directive is somewhat similar to the include directive only that the using directive includes the manifest assembly, which describes namespaces, types, enumerations etc. And the : using System using namespace System;
__________________
You never test the depth of a river with both feet. The believer is happy. The doubter is wise. Free speech carries with it some freedom to listen. The next generation will always surpass the previous one. It`s one of the never ending cycles of life. |
|
|
|
|
|
|
#15 |
|
Hobbyist Programmer
Join Date: Nov 2006
Location: 163H
Posts: 215
Rep Power: 3
![]() |
If u want a fully .net gui program use the include mscorlib.dll. By doing this you tell the compiler that u will be using some classes and namespaces contained within the mscorlib.dll file.
__________________
You never test the depth of a river with both feet. The believer is happy. The doubter is wise. Free speech carries with it some freedom to listen. The next generation will always surpass the previous one. It`s one of the never ending cycles of life. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compiling Maverik 6.2 (from C) | megamind5005 | C | 16 | May 3rd, 2006 6:41 PM |
| visual basic pixel image comparison | youngnoviceinneedofhelp | Visual Basic | 3 | Mar 19th, 2006 2:57 PM |
| C# is basically Visual Basic with C-style code | Josef_Stalin | C# | 25 | Nov 5th, 2005 9:36 AM |