網頁

2016年9月19日 星期一

C 檔案操作

Last Update: 2016/09/19 20:57+08



fopen, fclose
開檔, 關檔


fget, fput
讀取/寫入一字串

fread, fwrite
讀取/寫入一byte

fscanf, fprintf
格式化讀取/寫入一字串





2016年9月7日 星期三

Altera Quartus [Note] [Macro] Altera PLL

Last Update: 2016/09/07 23:27+08



點擊PLL後


照下述可設定2組CLOCK


Reference
Phase-Locked Loop Basics

Java GUI with Eclipse - Windows Builder

Last Update: 2016/09/07 21:43+08



http://download.eclipse.org/windowbuilder/WB/release/R201309271200/4.3/

Interface & Abstract

Last Update: 2016/09/07 21:42+08



Assume
that with interface you mean a C++ class with only pure virtual methods (i.e. without any code),
instead with abstract class you mean a C++ class with virtual methods that can be overridden, and some code, but at least one pure virtual method that makes the class not instantiable.
class MyInterface
{
public:
  // Empty virtual destructor for proper cleanup
  virtual ~MyInterface() {}

  virtual void Method1() = 0;
  virtual void Method2() = 0;
};


class MyAbstractClass
{
public:
  virtual ~MyAbstractClass();

  virtual void Method1();
  virtual void Method2();
  void Method3();

  virtual void Method4() = 0; // make MyAbstractClass not instantiable
};

[Troubleshooting] IIS 與 dotNet MVC

Late Update: 2015/08/19 02:38+08


去C槽 Windows\Microsoft.NET\Framework\ 找出自己4.0版本
cd C:\Windows\Microsoft.NET\Framework\v4.xxx.xxx
aspnet_regiis -i


<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>