First of all, the Applet-phone is a SIP User-Agent
with audio and text messaging capabilities. But i s also embedded in
an applet where you can use it as usual if your firewall allow you to
use the UDP transport. If not, you can use TCP to carry your voice in a
voice messaging fashion. Your voice is recorded and encoded locally
then sent as a message, decoded and played back by your peer. Voice
messaging allow you to go through any firewall, so that you can
continue to chat and talk with your friends from an applet !
Using the UnderC Tokenizer Class
It s often necessary to parse complex text files, where standard i/o
is too clumsy. C programmers fall back on strtok(), but this can be
tricky to use properly. Besides, you are still responsible for keeping
strtok() fed with new input, and I don t like the schlepp.
Tokenizer is a text-parsing input stream, modelled after the (undocumented)
VCL TParser class, and based on the UnderC tokenizing preprocessor front-end.
A rich edit control is a window in which the user can enter and edit text. The text can be assigned character and paragraph formatting, and can include embedded OLE objects. Rich edit controls provide a programming interface for formatting text.
Dijkstra算法求最短路徑(C#版) using System
using System.Collections
using System.Text
namespace Greedy
{
class Marx
{
private int[] distance
private int row
private ArrayList ways = new ArrayList()
public Marx(int n,params int[] d)
{
this.row = n
distance = new int[row * row]
for (int i = 0 i < row * row i++)
{
this.distance[i] = d[i]