Author Topic: Types of Code  (Read 9852 times)

Offline *Armageddon

  • Single posting newcomer
  • *
  • Posts: 8
Types of Code
« on: February 17, 2011, 01:59:08 am »
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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Types of Code
« Reply #1 on: February 17, 2011, 10:59:27 am »
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!]

Offline *Armageddon

  • Single posting newcomer
  • *
  • Posts: 8
Re: Types of Code
« Reply #2 on: February 18, 2011, 12:13:02 am »
I have heard about VB, but could not find a legal download for the compiler...could you direct me towards one?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Types of Code
« Reply #3 on: February 18, 2011, 12:49:04 am »
microsoft.com, google.com?
I'm a c++ programmer...
(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!]

Offline codie

  • Single posting newcomer
  • *
  • Posts: 8
Re: Types of Code
« Reply #4 on: February 23, 2011, 04:01:07 pm »
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Types of Code
« Reply #5 on: February 23, 2011, 04:04:44 pm »
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).
« Last Edit: February 23, 2011, 04:07:11 pm by 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!]

Offline codie

  • Single posting newcomer
  • *
  • Posts: 8
Re: Types of Code
« Reply #6 on: February 24, 2011, 07:00:08 pm »
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Types of Code
« Reply #7 on: February 24, 2011, 09:28:47 pm »
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!]