Monday, August 2, 2010

Me introduce the judges to do creative practice contest Hugo



Ali software together CSDN, InfoQ, Javaeye and other well-known technology site, Beida Jade Bird and a number of training institutions, on July 2 was officially launched in Nanjing, "Wang ska - me introduce innovative practice contest" to find the most innovative Internet applications, providing developers the opportunity to achieve a dream for me introduce an open platform for users of fresh fashion to provide the most interactive applications.

"Wang Scar" Creative Practice Competition Competition and product innovation time points two seasons. No. 1 player has begun the season hot application, online selection in August 1 - 8 carried out on 25, participants can design a small plug-in Want Want, interactive games, tools, expression, or skin, so long as the Internet Top applications or services to the Want Want to enable users to need it, used cool.

Gold to create ska Oscar Wong

"Wang Scar" Creative Practice Competition Competition and product innovation time points two seasons. No. 1 player has begun the season hot application, online selection in August 1 - 8 carried out on 25, participate in exclusive prize Jieyou me introduce the most fortunate of five players, not only will be bringing home a symbol of high honor, worth tens of thousands of The "Wang ska" Special Award - Want Want Jin (50g thousands of gold), will in practice be 200,000 start-up stage funding and business sites free of charge.

Network creative originator - Hugo to comment

Learned that the contest organizers invited a number of prosperous ska in software development, network ideas have extensive experience in areas such as appraisal, in which the network Red Hugo as a guest judge, he once said that "" a Steamed The massacre, "" creative popular in the entire Internet. Only the early stages of the race, Wong ska has detonated more than prestigious national college students creative passion, enthusiasm competition has generated a lot of lovely ideas, one after another at me introduce the official online contest on display .

Many independent software developers and internet enthusiasts in the early growth stages, because the lack of startup funds, space and hardware, so many good ideas remain only on paper side of Appeal put into practice; or because of the lack of a sufficient number of success stories can not be quickly and effectively into the software services into end user. Ali software, "Wang ska - me introduce innovative practice of Competition", on the one hand for the developers to provide more creative space and business opportunities, on the other hand, by me introduce an open platform to enable developers to be in excellent products the value of practice, the client, but also to meet all kinds of Internet users growing demand for online applications, enriching the user experience.

Wang ska me introduce innovative practice will be the contest as an opportunity to enhance interaction, expanding openness, innovation, designed to provide users with a wider range of network integration services. Wang ska Creative Practice Competition Registration: http://wsk.alisoft.com/







Recommended links:



Control the Availability of rules [2]



Convert swf to flv



Shift FROM the C + + C # issues needing attention (1)



TOPIC: Green Dam How unfortunate?



My favorite Seasonal - Screen Savers



New Search OR Lookup Tools



Tips To Download Lovers To Support The Market



Simple Network And Internet



Ac3 Audio



Master Lu eyes that help you to make PROFITEERS scares



Jie Mi Foxconn Employees Jumped The Truth



MATROSKA video file



free download mp4 to mpeg converter



Easy Audio PRESENTATION Tools



Red Alert: Watch your ADSL password cat



Monday, July 26, 2010

C + + programmers to easily commit the error of 10 C #


We know, C # and C + + syntax is very similar, from a C + + to C # transformation, the difficulty is not the language itself, but rather familiar. NET-managed environment and on. NET framework for understanding.

Although C # and C + + in grammatical change is very small, almost not have any impact, but some changes are enough to make some careless moment of C + + programmers in mind. In this article we will discuss the C + + programmers the ten most likely to commit errors.

Trap 1: there is no clear end of the method

Almost completely sure that, for most in terms of C + + programmers, C # and C + + the biggest difference is that debris collection. This also means that programmers no longer need to worry about memory leaks and make sure to remove all the useless pointer. But we can no longer accurately control the process kill useless objects. In fact, in C #, there is no clear destructor.

If the use of non-management resources, without the use of these resources, you must explicitly release it. Recessive control of resources by Finalize method (also known as the finalizer) provided, when the object is destroyed, it will be called to recover debris collection program resources occupied by the object.

finalizer should only release the destruction of the object occupied Non-management resources, and other objects should not be involved. If the program is only used to manage resources, it need not be the implementation of Finalize method, only the non-manageability of resources will be used in the treatment of Finalize method. As the need to take up certain resources finalizer, it should only need it to perform the method finalizer.

Directly call an object's Finalize method is not permitted (except in sub-class called base class Finalize Finalize.), Debris collection program will automatically call Finalize.

From the syntax point of view, C # in the destructor and C + + is very similar, but in fact they are completely different. C # the destructor definition of Finalize method is a shortcut. Therefore, the following Erduan code is different:

~ MyClass ()
(
/ / Need to complete the task
)

MyClass.Finalize ()
(
/ / Need to complete the task
base.Finalize ();
)

Error 2: Finalize and Dispose to use whom?

From the above discussion, we have been very clear, explicit to call the finalizer is not allowed, it can only be called debris collection program. If you want to free up some no longer in use as soon as possible a limited number of non-managed resources (such as file handles), you should use the IDisposable interface, the interface has a Dispose method, which can help you accomplish this task. Dispose is no need to wait for Finalize to be called and be able to release the non-manageability of resources.

If you have used the Dispose method, you should stop the debris collection process and then the corresponding object method implementation of Finalize. To do this, you need to call the static method GC.SuppressFinalize, and the corresponding object pointer passed to it as a parameter, Finalize method can call the Dispose methods. Accordingly, we can get the following code:

public void Dispose ()
(
/ / Complete clean-up operation

/ / Notify the GC not to call Finalize method
GC.SuppressFinalize (this);
)

public override void Finalize ()
(
Dispose ();
base.Finalize ();
)

For some objects, may call the Close method is more suitable (for example, the document object calls Close on more appropriate than Dispose), you can create a private property of the Dispose method and the Close method of public property, and to call Dispose to realize Close call the Close method of some object.

Given the uncertainty will call Dispose, but the implementation is uncertain finalizer (we can not control when the GC will run), C # provides a Using statement to ensure the Dispose method will be called the earliest possible time. General approach is to define which objects to use, then use brackets for these objects to specify a range of activities, in the event when the innermost parentheses, Dispose method will be automatically invoked, the object for processing.

using System.Drawing;
class Tester
(
public static void Main ()
(
using (Font theFont = new Font ("Arial", 10.0f))
(
/ / Use theFont object

) / / Compiler will call Dispose object processing theFont

Font anotherFont = new Font ("Courier", 12.0f);

using (anotherFont)
(
/ / Use anotherFont object

) / / Compiler will call Dispose object processing anotherFont

)

)

In this case, the first part, Font object is created in the Using statement. When the Using statement at the end, the system will call Dispose, on the Font object for processing. In this case, the second part, Font object is created in the Using statement outside, in the decision to use it, then place it inside the Using statement, when the Using statement at the end, the system will call Dispose.

Using statement can also prevent other accidents from occurring, ensure that the system will call Dispose.

Error 3: C # in the value-type variables and reference-type variables are different

As with C + +, C # is a strongly typed programming language. C #, data types are divided into two categories: C # language itself, the inherent data types and user-defined data types, which is also similar with C + +.

In addition, C # language Hai Ba variables are divided into value types and reference types. Unless it is to be included in a reference type, value type variables retained in the stack, this point and C + +, variables are very similar. Reference type variable is a stack, its value is the address of the object heap, and C + +, the pointer is very similar. Value type variable value is directly passed to the method of reference-type variables are passed as parameters to the method, passing the index.

Classes and interfaces can create reference type variable, but need to point out that structure data type is a built-in C # data types, it is also a value-based data types.

Error 4: Note that implicit data type conversion

Boxing and unboxing enable value data type is used as the index data type using the two processes. Value-type variables can be packaged into an object, and then the return value is unpacked variables. Including built-in data types, including C #, the data of all types can be implicitly converted to an object. Packing a value type variable will generate an object instance, and then copied to the instance variable.

Boxing is implicit, if necessary where the index data type data type using a value type variable, the value of hidden variable will be transformed into the index data type of variable. Boxing will affect the performance of code execution, so should be avoided, especially when the data volume.

If you want to convert a packed object back to the original value type variable, it must be explicit to be unpacked. Unpacking need two steps: First, the object instance checks to ensure they are shaped by the values of variables are packaged into the; second step in the value of the instance to copy the value type variable. In order to ensure a successful solution package was unpacked the object must be packing a value type variable by the value of the index generated objects.

using System;
public class UnboxingTest
(
public static void Main ()
(
int i = 123;

/ / Package
object o = i;

/ / Solution Package (must be the dominant)
int j = (int) o;
Console.WriteLine ("j: (0)", j);
)
)

If the object is unpacked is not valid, or a different data type object index will result InvalidCastException different things.

Error 5: Structure and objects are different

C + + structures and classes in the almost, the only difference is that by default, the structure of access is public, its inheritance rights is public. Some C + + programmers to structure as a data object, but this is not a convention must be the case.

In C #, the structure is only a user-defined data types, and can not be substituted. Although the structure of the support properties, methods, fields and operators, but does not support inheritance and destructor.

More importantly, the class is an indexed data type, the structure is a value type data type. Therefore, the structure of the index operation in the expression of the target area without more useful. Array of operational structure more efficient, and in the operational aspects of the collection is less efficient. Set to index, structure must be packaged is suitable for use in the operation of the collection, a collection of classes in the large-scale operations more efficient.

Error 6: Virtual methods must be explicitly covered

In the C # language, the programmer of a virtual method in the coverage must be the dominant use of the override key word. Suppose a Window class is written by the A company, ListBox and RadioButton classes by B's and programmers in the company prepared to buy the A Window on the basis of class, prepared, B Company of the programmers of the Window class, including changes in the future little is known about the situation, including the design.

If the B's, a programmer to add a ListBox Sort method:

public class ListBox: Window
(
public virtual void Sort () (")
)

A company release a new version in the Window class before, this will not have any problems. A company if the Window class programmers also added a Sort method.

public class Window
(
/ / "
public virtual void Sort () (")
)

In C + +,, Windows class will be the ListBox Sort method Sort method of the class based approach, in the hope of calling Windows class Sort method, ListBox class Sort method will be invoked. In C #, virtual function is always considered to be the root of virtual dispatch. In other words, once C # finds a virtual method, you will not find in the virtual chain other virtual methods. If the ListBox is compiled again, the compiler will generate a warning message:

"Class1.cs (54,24): warning CS0114:''ListBox.Sort ()''hides
inherited member''Window.Sort ()''.

For the current members of the original method of coverage, you need to add the override key word, or add new key word.

To remove the warning message, the programmer must find out what he wants. ListBox class can be added before the Sort method new, that it should not override the virtual method in Window:

public class ListBox: Window
(
public new virtual void Sort () (")

This could clear the warning. If the programmer really want to overwrite methods in the Window, you must use the override key word to demonstrate its intentions explicit.

Error 7: class member variable initialization

C #, C + + initialization and different. Suppose there is a character with a private member variable age of the Person class, Employee class is generated by a succession of Person, and it has a private member variable nature of salaryLevel. In C + +, we can initialize the Employee's constructor initializes some salaryLevel, as shown in the following code:

Employee:: Employee (int theAge, int theSalaryLevel):
Person (theAge) / / initialize base class
salaryLevel (theSalaryLevel) / / initialize member variable
(
/ / Constructor code
)

This method in C #, is illegal. While still can initialize base class, but as the code above as initializes the member variable will cause a compiler error. In C #, we can define a member variable to initialize it when the same:

Class Employee: public Person
(
/ / Member variable definition
private salaryLevel = 3; / / initialization
)

Note: You must explicitly define each variable access.

Error 8: Boolean variables and integer variables are different from children

if (someFuncWhichReturnsAValue ())

In C #, Boolean variables and integer variables are not the same, so the following code is incorrect:

if (someFuncWhichReturnsAValue ())

if someFuncWhichReturnsAValue return to zero, said false, or that the idea is no longer true. The advantage is that the original assignment operator there will be confused with the same error will not happen again. So the following code:

if (x = 5)

At compile time error occurs because the x = 5 is the 5 assigned to the X, rather than a Boolean value.

Error 9: switch statements would be less than the implementation of some statement

In C #, if a switch statement to implement a number of operations, the program may not perform to the next statement. Thus, while the following code in C + + is legal, but in C #, not legal:

switch (i)
(
case 4:
CallFuncOne ();
case 5: / / error, will not be executed here
CallSomeFunc ();
)

To achieve the above purpose of the code needed to use a goto statement:

switch (i)
(
case 4:
CallFuncOne ();
goto case 5;
case 5:
CallSomeFunc ();
)

If the case statement does not execute any code, all the statements will be executed. Such as the following code:

switch (i)
(
case 4: / / can perform to
case 5: / / can perform to
case 6:
CallSomeFunc ();
)

Error 10: C # in the clear assignment of variables required

In C #, all the variables must be assigned before use. Therefore, you can define variables not initialize it, if it is passed to a method before, must be assigned.

If the only way through the index to pass a variable, and the variable is the method of output variables, this is it will cause problems. For example, suppose there is a method that returns the current time, hour, minute, second, if the write code like this:

int theHour;
int theMinute;
int theSecond;
timeObject.GetTime (ref theHour, ref theMinute, ref theSecond)

If you use theHour, theMinute and theSecond not before the three variables are initialized, it will generate a compiler error:

Use of unassigned local variable''theHour''
Use of unassigned local variable''theMinute''
Use of unassigned local variable''theSecond''

We can initialize these variables to 0 or other methods did not affect the value of the return value to solve this small problem the compiler:

int theHour = 0;
int theMinute = 0;
int theSecond = 0;
timeObject.GetTime (ref theHour, ref theMinute, ref theSecond)

This little too cumbersome, these variables are passed to the GetTime method, then change it. To solve this problem, C # specifically for this situation out parameter modifier provided, it can make an argument without initialization can be cited. For example, GetTime parameters in its own makes no sense, they are just to express the output of the method. Before the method returns, Out parameters must be assigned a value. Here is the revised GetTime methods:

public void GetTime (out int h, out int m, out int s)
(
h = Hour;
m = Minute;
s = Second;
)

Here is a new method called GetTime method:

timeObject.GetTime (out theHour, out theMinute, out theSecond);






Recommended links:



China IPTV-What is the short board?



Experts Return Weapon entertainment, travel to save money



Specialist Games Arcade



Easy E-MAIL Clients



Learning regular expressions entirely Manual: Getting Started guide rookie



B2C Mall To Promote The Six-pulse Sword



Avchd to xbox 360



Deep Antivirus Guide (3)



Mars V2.7.2 latest version of the text input text input easy Fun



Remain a top: the blue SEA to



Nine ways to recruit good Staff



The more competition the more powerful Symantec



Flv to mp3 converter free download



mov to avi



Mp3 to 3g2



Thursday, July 22, 2010

Basic connection fiber optic transceivers



Optical transceiver is a short distance to long distance twisted pair electrical signals and optical signals to be interchanged, Ethernet media conversion modules, in many places, also known as electron converter. Products are generally used in the Ethernet cable can not be covered, you must use optical fiber to extend the transmission distance of the actual network environment, and often located in the broadband MAN access layer applications.

In a traditional Ethernet connection from the role of the media are mainly twisted pair. Twisted pair transmission distance limit of about 200 meters, so a short distance constraints of network development, while twisted-pair influenced by electromagnetic interference, which no doubt the quality of data communication by the greater impact. The use of fiber optic transceivers, Ethernet connection in the media for the fiber. Low-loss optical fiber, high resistance to electromagnetic interference, in the network transmission distance from 200 meters Kuo Zhandao 2 kilometers or even tens of kilometers, hundreds of kilometers of Tong Shi Nai Zhi Yu, Ye Shu Ju communications to Zhiliangyouliao Jiaotaitigao. He makes servers, repeaters, hubs, terminals and terminals connected between the more simple.

In practical applications, fiber optic transceivers are mainly the following three basic connections:

1, ring backbone

Ring backbone network is built using SPANNING TREE characteristics within the metropolitan area backbone, this structure can be deformed as the network structure, suitable for high density metropolitan center of cell to form the core of fault-tolerant backbone network. Ring backbone network characteristics on IEEE.1Q and ISL support, can ensure compatible with most mainstream backbone networks, such as inter-switch VLAN, TRUNK capabilities. Ring backbone network for the financial, government, education and other industries form of broadband virtual private network.

Second, chain backbone

Chain-shaped backbone connection using chain-shaped light can save a lot of key number, for the edge of the city and their suburban areas high-bandwidth low-cost structure of the backbone network, the model also can be used for highways, oil, transmission line other environment. Chain-shaped backbone network characteristics on IEEE802.1Q and ISL support, can ensure compatible with the vast majority of the backbone network for the financial, government, education and other industries form of broadband virtual private network. Chain-shaped backbone network can provide images, voice, data and multimedia real-time monitoring integrated transmission network.

Third, the user access system

Users access the system using adaptive and 10Mbps/100Mbps 10Mbps/100Mbps automatic conversion feature, you can connect any client device, without the need to prepare a variety of fiber-optic transceiver for the network to provide a smooth upgrade. Also use half-duplex / full duplex and half duplex adaptive / full duplex automatic conversion, you can configure the client inexpensive half-duplex HUB, several times lower client network costs, improve the competitiveness of the network operators . Meanwhile, the device built-in switch core to improve the transmission efficiency of access equipment to reduce the network broadcast, control traffic, detect transmission failure.







Recommended links:



Download converter mp4 to 3gp



avc converter



WORLDCUP DVD to Mobile



Professional VOB IPod 3G2 To AVI



Lohan MOV Converter



introduction Games Simulation



Mkv File Converter



Amazon to create "paper" and the next generation of reading



Art - Screen Savers Shop



Lohan DVD to AVI



Easy Icon Tools



Fortinet Was The United States Patent And Trademark Office Awarded Three New Patents Services



Nwz-e443



WORLDCUP Flash to Mobile



Simple Help Tools



Unavoidable five "winter" rule



Youtube Video To MAC Platinum



Thursday, June 24, 2010

SuperBurner RMVB Converter

SuperBurner RMVB Converter is the best RealMedia converter software. easy convert Real Media files(.rm, .rmvb) to AVI, MPEG-1, MPEG-2, VCD, SVCD, DVD files. convert RM/RMVB to AVI DIVX XVID MPEG VCD SVCD DVD and burn to DVD/CD. You can change the codec/system type to PAL or NTSC, and adjust the video size of the output files . It supports to convert almost all video, such as: RM to AVI, RM to DIVX XVID, RM to MPEG-1, RM to MPEG-2, RM to WMV, RM to VCD, RM to DVD, RM to PSP Video, iPod Video, Zune Video, iPhone Video...

Support convert AVI, Divx, ASF, WMV, WMA, MPEG, MOV, QT, RM, RMVB, file to MPEG with all encode format such as VCD PAL/NTSC, SVCD PAL/NTSC, DVD PAL/NTSC, MPEG-1 standard, MPEG-2 standard etc. Support convert AVI, Divx, ASF, WMV, WMA, MPEG, MOV, QT, RM, RMVB, file to AVI with all encode format such as DIVX, XVID, Mircosoft MPEG-4 etc.



Recommand Link:



EXPLOSION SWF to DVD



Download HD to iAudio 9 SOFT



Professional M3U WAV to ID3 CREATOR



Utube



Tools And Editors Directory



Picked Audio Speech



Report Games And Entertainment



Zune OGG Platinum



YOUTUBE to H264 Utility



AlltoDVD VOB to AVI



HD to Sony NWZ-E443 converter



Hope Blackberry Convert



Youtube FLV to Divx Popular



Youtube to MOV Box



Download video to Sony NWZ-E445 SOFT



Thursday, June 17, 2010

Hope MOV SWF Encode



Hope MOV SWF Encode is a All-in-One powerful tool, is easy convert MOV video to AVI, DivX, Xvid, MPEG1, MPEG2, VCD, SVCD, DVD video converter. The main features include: Batch convert MOV, QT files to AVI, MPEG, VCD,SVCD,DVD,WMV formats; Support different AVI video Codecs, such as DivX, Xvid, MPEG4; NTSC/PAL setting options for DVD, VCD, SVCD exporting; Change the framerate, image size etc as you like. Very user-friendly interface and easy to use. Very quick in conversion speed and no quality is lost! Key Features: Convert MOV to AVI, MOV to DivX, MOV to Xvid Convert MOV to MPEG1, MOV to MPEG2 Convert MOV to VCD, MOV to SVCD, MOV to DVD Convert MOV to WMV, MOV to ASF Support .mov, .qt files Support Batch convert NTSC/PAL setting option Support large video files, even large then 2GB Very fast and without any quality loss Very user-friendly interface.



Recommand Link:



ALLBEST ConvertXtoDVD



Convert all video files and extract audio from video



Video Grabber



Office Suites And Tools CATALOGS



Youtube to PDA Box



Hot-time DVD Creator



Explosion MPG Converter



Food And Drink Storage



Good-OK DVD To AVI MPEG WMV MOV ripper



Hope DVD iPhone Copy



Power AAC Mixer



Guide Casino AND Gambling



M3U AAC Studio



AlltoDVD VOB to MPEG



Youtube Movie To Iphone Platinum



Friday, May 28, 2010

Swift AVI WMV RM to MP4



Swift AVI WMV RM to MP4 is a best video and movie converter to MP4 Movie software! This product offers convert all popular formats to iPod, PSP, Zune, iPhone, MP4 video/ movie, Easy Convert DVD, VCD, SVCD, AVI, MPEG, WMV, MOV, MP4, RM, RMVB, DivX, ASF, VOB, 3GP and etc. Swift AVI WMV RM to MP4 helps you watch your music videos and movies on your iPod, PSP, Zune, iPhone. In addition, you can also extracting audio from movie or music video and converting to iPod supported MP3 file format! Swift AVI WMV RM to MP4 is the fastest Rip DVD movie to iPod, PSP, Zune, iPhone, MP4 video, you can convert almost all kinds of AVI WMV RM to MP44 format. Its conversion speed is far faster than real-time, converting one DVD movie only takes half an hour in some high-end computers. Swift MP4 Suite supports single-step conversion of DVD video into iPhone-ready MPEG-4 format while some other soft wares need two steps which wastes unnecessary time.



Recommand Link:



Christmasgift Xbox 360 Converter



Compare Personal Interest



shareware download Site



Christmas-Idea MOV FLV Conversion



Explosion DVD Backup



3Q DVD Audio MP3 Ripper



Lohan Youtube Converter



Christmas-Idea DVD to XviD PSP SWF



Tansee iPod Transfer PHOTO Platinum



File And Disk Management Wizard



Shell Tools reviews



Swift DVD to MOV BlackBerry



Eztoo RM Video Converter



Explosion AVI to MP4



Sound CARD Recorder



Tuesday, May 25, 2010

01 Cucusoft iPod Video Converter + DVD

Cucusoft iPod Video Converter Suite is an all-in-one iPod video Conversion solution. This suit includes "Cucusoft iPod Video

Converter" and "Cucusoft DVD to iPod Converter"(DVD Ripper Include). So with this iPod Video Converter suit, you can convert

both DVD media and video file media to iPod video/iPod movie. You can enjoy your favorite DVD and video clip on your iPod as

a portable DVD Player. Now you can get this DVD to iPod Converter at a very competitive price!
We support convert DVD to iPod directly. Some other softwares need two steps: 1. convert DVD to avi; 2. convert output avi to

iPod. That solution wastes lots of your time. We need only one step, direct convert video DVD to iPod. So our conversion

speed is far faster than others.



Recommand Link:



Christmasgift DVD Burner



Youtube Video To AVI Professional



Midi OGG to VQF



Cucutech Ipod Video Converter



WorldCup RMVB Converter



Eufony



Hot GENEALOGY



Vacations DVD to MP4



WondSoft DVD COPY PRO



Premier Religion



Video Convert MASTER



Xilisoft CD Ripper



Compare Office Suites And Tools



Youtube Movie to ASX Now



Tech text



Merry AMR OGG to AC3 Cloner



AVI To iPhone Converter for MAC