Facebook Sharer
选择您要替换的背景颜色:
【农历新年】背景图片:
个性化设定
 注册  找回密码
查看: 5003|回复: 32
打印 上一主题 下一主题

关于电脑课程的问题

[复制链接]

57

主题

1

好友

3274

积分

本站名嘴

Rank: 11Rank: 11

跳转到指定楼层
1#
发表于 2010-10-13 07:40 PM |只看该作者 |正序浏览
这帖子我也不懂要放在那里 (放在大学论坛 几天了都没有回应)

本人在utar 读者foundation (商科的)
我打算在 degree 的时候拿电脑的科目
bachelor of information system (hons) business information system
bachelor of information system (hons) information system engineering

有人可以详细 解说 这两个科目吗?
好不好读?
以后做什么工作 ?有没有出路? 工钱如何?

真的很需要帮忙   请各位大大帮我哦

因为我是读 商科的 foundation的  所以只有这两科可以拿
其他的 graphic design , game design 那些我没兴趣(因为画画真的很差)




收藏收藏0

57

主题

1

好友

3274

积分

本站名嘴

Rank: 11Rank: 11

33#
发表于 2010-10-19 06:10 PM |只看该作者
youtube我有在看  只是在这边的网速真的是慢到不能定
google我也是常在用哦  ( browser 都用google chrome 滴 XD)
youtube的话只能在半夜看了


回复

使用道具 举报

46

主题

6

好友

6456

积分

百变名嘴

Rank: 13Rank: 13Rank: 13Rank: 13

32#
发表于 2010-10-19 02:14 PM |只看该作者
我也有visual studio
不过我做这个网页的 都是不用用到visual studio的( 所以现在都不会用)
有什么比较好 ...
qwqwqwqw 发表于 2010-10-19 02:02 AM


http://www.youtube.com/watch?v=wMczD6PNgWo&feature=related

其实你能自己找的。
比如说, 你上 Youtube 找, C# Tutorial

不然就Google, 找 C# Tutorial。

很多东西你能学的。

我个人建议, 学 Programming 之前你还是先学会怎么使用 Google。


回复

使用道具 举报

57

主题

1

好友

3274

积分

本站名嘴

Rank: 11Rank: 11

31#
发表于 2010-10-19 02:02 AM |只看该作者
我也有visual studio
不过我做这个网页的 都是不用用到visual studio的( 所以现在都不会用)
有什么比较好的网站吗?
C# 或者 C++ 都能得( 越基本越好)


回复

使用道具 举报

46

主题

6

好友

6456

积分

百变名嘴

Rank: 13Rank: 13Rank: 13Rank: 13

30#
发表于 2010-10-19 01:51 AM |只看该作者
mutiple file 我会(我也成功弄到了)

You could also put your DLL in the global assembly cache (GAC), ...
qwqwqwqw 发表于 2010-10-18 11:06 PM


哈哈哈哈, sorry~ 这个我不会, 我没去 Test, 因为 Visual Studio 会自己生成的。


回复

使用道具 举报

57

主题

1

好友

3274

积分

本站名嘴

Rank: 11Rank: 11

29#
发表于 2010-10-18 11:06 PM |只看该作者
mutiple file 我会(我也成功弄到了)

You could also put your DLL in the global assembly cache (GAC), and any program would be able to access it, even if the DLL is not in its directory!
to put it in the GAC, I sugest you read MS doc but here are the unexplained step:

create your assembly key, create it once and use it for every version. you create it with:
  sn -k myKeyName.snk
the .snk file should be in your compilation directory (the one where your run csc)
create a strong asssembly title by adding in any .cs source file the following directive at top level: using System.Reflection;        
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("My Lib Title")]
[assembly: AssemblyVersion("1.2.3.4")]
[assembly: AssemblyKeyFile("myKeyName.snk")]
now add it to the GAC:
  > gacutil.exe /if myLib.dll

By the way, did I tell you ? when I referenced the hello.dll while compiling, remember? csc /out:hello.exe /r:echo.dll hello.cs, it could have been any assembly, even a .exe !!!
这边什么assembly key 我不明白 (弄不到)


回复

使用道具 举报

46

主题

6

好友

6456

积分

百变名嘴

Rank: 13Rank: 13Rank: 13Rank: 13

28#
发表于 2010-10-18 10:51 PM |只看该作者
Now you become to be pretty confident, I guess, so we could start using multiple file, and even a dl ...
qwqwqwqw 发表于 2010-10-18 10:13 PM


他都说的很明白了? 你什么不会?


回复

使用道具 举报

57

主题

1

好友

3274

积分

本站名嘴

Rank: 11Rank: 11

27#
发表于 2010-10-18 10:13 PM |只看该作者
Now you become to be pretty confident, I guess, so we could start using multiple file, and even a dll ? go into an other directory (or stay in this one, I won't mind) and create 2 file:

hello.cs

using System;

public class Hello
{
public static void Main()
{
HelloUtil.Echo h = new HelloUtil.Echo("Hello my 1st C# object !");
h.Tell();
}
}
echo.cs

using System;

namespace HelloUtil
{
public class Echo
{
string myString;

public Echo(string aString)
{
myString = aString;
}

public void Tell()
{
Console.WriteLine(myString);
}
}
}
Note in hello.cs I have used the syntax "HelloUtil.Echo" it's because Echo is in the namespace HelloUtil, you could have typed (at he start of the file) using HelloUtil and avoid HelloUtil., that's the way namespace work.

Now you could compile both in one .exe with
  > csc /nologo /out:hello.exe *.cs
But it's not my intention, no.
Well.
(Have you tried?)
Let's go building a DLL:
  > csc /nologo /t:library /out:echo.dll echo.cs
that's it (dir will confirm).
Now we could use it …
  > csc /out:hello.exe /r:echo.dll hello.cs
if you typed "hello" it will worked as usual…, but if you delete "echo.dll" the program will now crash: it use the DLL. You could also change Echo.cs, rebuild the DLL and see… that's the advantage of DLL!

You could also put your DLL in the global assembly cache (GAC), and any program would be able to access it, even if the DLL is not in its directory!
to put it in the GAC, I sugest you read MS doc but here are the unexplained step:

create your assembly key, create it once and use it for every version. you create it with:
  sn -k myKeyName.snk
the .snk file should be in your compilation directory (the one where your run csc)
create a strong asssembly title by adding in any .cs source file the following directive at top level: using System.Reflection;       
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("My Lib Title")]
[assembly: AssemblyVersion("1.2.3.4")]
[assembly: AssemblyKeyFile("myKeyName.snk")]
now add it to the GAC:
  > gacutil.exe /if myLib.dll

By the way, did I tell you ? when I referenced the hello.dll while compiling, remember? csc /out:hello.exe /r:echo.dll hello.cs, it could have been any assembly, even a .exe !!!

这个要怎样做啊?
第3个tutorial就不会了 ( 英语不是很好 所以有点不明白)


回复

使用道具 举报

57

主题

1

好友

3274

积分

本站名嘴

Rank: 11Rank: 11

26#
发表于 2010-10-16 07:10 PM |只看该作者
ok...
我用2008的时候有时会有error出来
所以我现在下载2010的   
晚点会弄一弄 (今晚半夜吧)
有问题的话我会在这边回复的


回复

使用道具 举报

46

主题

6

好友

6456

积分

百变名嘴

Rank: 13Rank: 13Rank: 13Rank: 13

25#
发表于 2010-10-16 06:55 PM |只看该作者
本帖最后由 宅男-兜着走 于 2010-10-16 06:57 PM 编辑
还有 compile是什么? 要怎样弄
当我打这个的时候 csc /nologo /out:hello.exe hello.cs
他会出现 'csc' i ...
qwqwqwqw 发表于 2010-10-16 05:53 PM


Compiler 就是篇译 器, 把你的 .cs, .vb 等等的Code, 转变成一个 .exe (Executable file)

那么你就能 double click 来使用。


你现在看的教程是 手动 Compile, 不过相信我,你写深入的时候就没必要了。
Visual Studio 可以轻易的帮你 Compile。


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

JBTALKS.CC |联系我们 |隐私政策 |Share

GMT+8, 2024-10-27 03:19 PM , Processed in 0.100106 second(s), 29 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

Ultra High-performance Dedicated Server powered by iCore Technology Sdn. Bhd.
Domain Registration | Web Hosting | Email Hosting | Forum Hosting | ECShop Hosting | Dedicated Server | Colocation Services
本论坛言论纯属发表者个人意见,与本论坛立场无关
Copyright © 2003-2012 JBTALKS.CC All Rights Reserved
合作联盟网站:
JBTALKS 马来西亚中文论坛 | JBTALKS我的空间 | ICORE TECHNOLOGY SDN. BHD.
回顶部