Jump to content

colocar valores de uma matriz numa listbox


zephirus
 Share

Recommended Posts

Olá,

Sou muito, muito verde em C++. Tenho uma dúvida que penso ser muito simples.

Tenho uma matriz de doubles, 4 por 2 e quero colocar os seus valores numa listbox. Vamos supor que a matriz é:

a b

c d

e f

g h

Eu quero que a listbox seja preenchida de modo a que na primeira linha apareça "a b", a segunda "c d" e por ai fora. Como é que faço isto?

Obrigado.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.