帮忙想个 小程序··实用 (在教师使用的范围) 最好有点创意 ··做个什么程序好呢?
表太复杂 T.T 帮忙想想呀~

解决方案 »

  1.   

    写一个 facebook 应用,暗恋的双方可以在这个 app 里面标记出对方。如果双方都暗恋对方,系统就互相通知双方。
    类似 Crush Notifier
      

  2.   

    这个倒是可以,在文本框中键入搜索内容,然后单击搜索,程序就自动转到下面的网站
    http://www.google.com.hk/search?hl=zh-CN&q={string}
    代码可以这么写
    System.Diagnostics.Process.Start("http://www.google.com.hk/search?hl=zh-CN&q={string}");
    或者内置一个WebBrowser控件,设置一下Url属性就行啦。
    (注意把{string}替换为文本框的text属性值)百度的搜索网址
    http://www.baidu.com/s?wd={string}
      

  3.   

    关于楼主的搜索程序,我简单的写了一个:   static void Main(string[] args)
            {
                bool flag=true;
                while(flag)
                {
                Console.WriteLine("这是一个互联网搜索工具,请输入您要搜索的内容:");
                string ss = Console.ReadLine();
                Console.WriteLine("请输入您使用的搜索公司:");
                Console.WriteLine("1、Baidu;");
                Console.WriteLine("2、Google;");
                Console.WriteLine("3、Exit");
                switch(Console.ReadKey().KeyChar)
                {
                    case'1':System.Diagnostics.Process.Start("http://www.baidu.com/s?wd="+ss);break;
                    case '2': System.Diagnostics.Process.Start("http://www.google.com.hk/search?hl=zh-CN&q="+ss); break;
                    case '3': flag = false; break; 
                }           
                }
                Console.Read();
            }  
      

  4.   

    楼主看看这个 我写的一个小程序 
    static void Main(string[] args)
            {
                bool flag = true;  
               while (flag)
               {
                   //欢迎界面:
                   Console.WriteLine("Hi Baby请输入您的成绩\n");
                   //定义cj为双精度 并把接受的字符cj转化为单精度类型:
                   double cj;
                   string s = Console.ReadLine();
                   cj = Convert.ToSingle(s);               //异常处理程序:
                   try
                   {
                       Console.WriteLine();
                   }
                   catch
                   {
                       Console.WriteLine();
                   }
                   //用if语句写成绩cj的分类:
                   if (cj >= 90)
                       Console.WriteLine("  优秀,祝贺!\n");
                   else
                       if (cj >= 80)
                           Console.WriteLine("   良好,不错!\n");
                       else
                           if (cj >= 70)
                               Console.WriteLine("中等,请继续努力!\n");
                           else
                               if (cj >= 60)
                                   Console.WriteLine("及格,请继续努力!\n");
                               else
                                   Console.WriteLine("很遗憾您的成绩不及格,请做好补考准备!\n");
               }        }
        }
    }