wxC

  •        0

wxC provides a C binding to the wxWidgets libraries in order to provide a unique code base to other projects (e.g. wxEiffel, wxHaskell).

http://wxc.sourceforge.net

Tags
Implementation
License
Platform

   




Related Projects

WXCC


WXC's Compiler.

Bingo-ibuy - iBuy by Bingo ,YXF,WXC,SQ


共�学习,共�进步 Teamwork Bingo

Knapsack1 - 背包问题


function knapsack() clc; %0-1背包问题 %max sum(vi*xi) s.t. w*x'<=c; xi=0 or 1; 1<=i<=n; n = 5 c = 10 w = 2 6 5 4 v = 3 5 4 6 x = ; %按照动�规划算法的递归�编程 jMax = min(w(n)-1,c) for j=1:jMax m(n,j) = 0; end for j=w(n):c m(n,j) = v(n); end for i=n-1:-1:2 jMax = min(w(i),c); for j=1:jMax m(i,j) = m(i+1,j); end for j=w(i):c if j-w(i)~=0 m(i,j) = max(m(i+1,j),m(i+1,j-w(i))+v(i)); else m(i,j) = max(m(i+1,j),v(i)); end end end m(1,c) = m(2,c); if c > w(1) m(1,c) = max(m(1,c),m(2,

WXCC - WXC_Compiler


WXC_Compiler