C programming question

Onceler

Golden Member
Feb 28, 2008
1,262
0
71
If I write code in code::blocks on Debian will it also work on other flavors of Linux?
What if I was making it with wxwidgets, would it work?
If not, does Ubuntu and or Suse have a visual programming thing?
 

Red Squirrel

No Lifer
May 24, 2003
71,330
14,092
126
www.anyf.ca
I'm not familiar with wxwidgets specifically but typically C/C++ code is portable. BUT it really depends on the library. You'd have to check wxwidgets to see what OS it supports. Typically it should be fairly portable across at least Linux distros though. Ex: if you use Debian it should work in Fedora.

I find the more libraries you use the more complicated things can get though, like on one system the library may not be at the same location as on another system, and all hell breaks loose. This is where dependancy hell comes in.
 

ShadowVVL

Senior member
May 1, 2010
758
0
71
code:: blocks is GPL v 3.0 so it will work for all GNU/Linux OSes as far as license goes.
WXWidgets are LGPL which should work for all but I am not sure
 

Jodell88

Diamond Member
Jan 29, 2007
8,762
30
91
If I write code in code::blocks on Debian will it also work on other flavors of Linux?
What if I was making it with wxwidgets, would it work?
If not, does Ubuntu and or Suse have a visual programming thing?
Yes, it will work.