请求帮助字典和类。 [英] Help with Dictionaries and Classes requested please.

查看:62
本文介绍了请求帮助字典和类。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我是这个小组的新手,我已经阅读了很多小组的主题

但是找不到任何相关的。也许我的问题太基本了,但是我好了b $ b仍然卡住了。

课程和字典。

如果我有字典,怎么办?我为每个

字典键实例化一个类的许多实例?无论是在运行时还是动态。

有人可以帮我吗?

谢谢

Dominic

Hello,
I''m new to this group, I''ve read through the subject of a lot of the group
but can''t find anything relevant. Perhaps my question is too basic but I''m
still stuck.
Classes and Dictionaries.
If I have a dictionary, how do I instantiate many instances of a class per
dictionary key? Either at run-time or dynamically.
Can anyone help me please?
Thank you
Dominic

推荐答案

special_dragonfly写道:
special_dragonfly wrote:

我是这个小组的新手,我读过一个主题很多小组

但是找不到任何相关的东西。也许我的问题太基本了,但是我好了b $ b仍然卡住了。

课程和字典。

如果我有字典,怎么办?我为每个

字典键实例化一个类的许多实例?无论是在运行时还是动态。

有人能帮帮我吗?
I''m new to this group, I''ve read through the subject of a lot of the group
but can''t find anything relevant. Perhaps my question is too basic but I''m
still stuck.
Classes and Dictionaries.
If I have a dictionary, how do I instantiate many instances of a class per
dictionary key? Either at run-time or dynamically.
Can anyone help me please?



不,你的问题太模糊而不是太基础。

你想做什么?请举一个具体的例子,或许你已经拥有的一些

代码。


Peter

No, your question is too vague rather than too basic.
What are you trying to do? Please give a concrete example and perhaps some
code that you already have.

Peter


special_dragonfly写道:
special_dragonfly wrote:

我是这个小组的新手,我已经读完了很多小组的主题

但找不到任何相关的东西。也许我的问题太基本了,但是我好了b $ b仍然卡住了。

课程和字典。

如果我有字典,怎么办?我为每个

字典键实例化一个类的许多实例?无论是在运行时还是动态。

有人能帮帮我吗?
I''m new to this group, I''ve read through the subject of a lot of the group
but can''t find anything relevant. Perhaps my question is too basic but I''m
still stuck.
Classes and Dictionaries.
If I have a dictionary, how do I instantiate many instances of a class per
dictionary key? Either at run-time or dynamically.
Can anyone help me please?



不,你的问题太模糊而不是太基础。

你想做什么?请举一个具体的例子,或许你已经拥有的一些

代码。


Peter

No, your question is too vague rather than too basic.
What are you trying to do? Please give a concrete example and perhaps some
code that you already have.

Peter


special_dragonfly写道:
special_dragonfly wrote:

我是这个小组的新手,我已经读完了很多小组的主题

但找不到任何相关的东西。也许我的问题太基本了,但是我好了b $ b仍然卡住了。

课程和字典。

如果我有字典,怎么办?我为每个

字典键实例化一个类的许多实例?无论是在运行时还是动态。

有人能帮帮我吗?
I''m new to this group, I''ve read through the subject of a lot of the group
but can''t find anything relevant. Perhaps my question is too basic but I''m
still stuck.
Classes and Dictionaries.
If I have a dictionary, how do I instantiate many instances of a class per
dictionary key? Either at run-time or dynamically.
Can anyone help me please?



不,你的问题太模糊而不是太基础。

你想做什么?请举一个具体的例子,或许你已经拥有的一些

代码。


Peter

No, your question is too vague rather than too basic.
What are you trying to do? Please give a concrete example and perhaps some
code that you already have.

Peter


这篇关于请求帮助字典和类。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆