News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Types of Code

Started by *Armageddon, February 17, 2011, 01:59:08 AM

Previous topic - Next topic

*Armageddon

What are all the types of code you can use in Code::blocks? So far i've only used C++...can you create VB programs?

oBFusCATed

Yes, if you can install a VB compiler and then setup it for use with C::B.
There is no default setup, you should learn how to do it, probably you'll have to modify, some C++ code.
And there won't be any code completion and automatic code formatting

If you want to write VB, it is way better to use VStudio (there is express edition).
VB is M$oft's pet language and they try to have great support for it.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

*Armageddon

I have heard about VB, but could not find a legal download for the compiler...could you direct me towards one?

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

codie

Can C::B compile C++/CLI code?   

I tried a search and only got a couple of hits that did not address the question.

If so, can someone direct me to a place showing me how to set up the compiler or where I can get a setup that works with C::B?

thanks

oBFusCATed

#5
If you find a command line compiler which compiles c++/cli, C::B can support it.
I think the cl.exe (the visual c++ compiler) supports c++/cli.
Read the VC++'s manual, there should be mentioned something about it.
I think the option is /clr.
I've never used it myself, so my knowledge ends here...

C::B supports vc 2003, 2005 and 2008 (not sure about 2010, maybe the latest nightlies has support for it), to find how to setup one of them go to the wiki.
If you target c++/cli I think you need 2008+ (2005 might support it, but you should check the manuals too be 100% sure).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

codie

Thanks

I'll look into those suggestions.  I thought the latest VC++ Express Edition could compile CLI stuff but I could be wrong (I haven't used that in a while).  I'll do some searching for a command line compiler.

have a nice day

oBFusCATed

The Visual studio includes command line compiler.
Also the some of latest SDKs might include one, not sure about that...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]