Ngày tải lên: 27/06/2014, 03:20
Giải thuật C Sharp.pdf
... nhằm để kiểm tra dầu c thể tiếp t c chảy hay không và m_button thu c CBitmapButton để ta c thể đặt c c bitmap lên button. Do đó 3 mảng c kiểu là một c u tr c gồm c c c biến ‘in’ ‘out’ ‘nen’ ... nhận t c động Click để đặt ống vào, mảng 1 chiều array2[5] hoạt động như một hàng đợi. Một mảng 1 chiều array3[7] dùng để chứa tất c c c loại ống. Mỗi phần tử c a 3 mảng này gồm c c c biến ... và trong chương trình ta c sử dụng phép gán giửa hai phần tử c a mảng vì vậy ta xây dựng một lớp là CMang class CMang : public CWnd { public: CMang(); public: BOOL flag; CBitmapButton...
Ngày tải lên: 23/08/2012, 13:21
Web Client Programming with Perl-Chapter 7: Graphical Examples with Perl/Tk- P1
... in order. Now we can use another function called traverse(), which operates on this data structure and lets us specify what function to call for each piece of information it contains. Keeping ... module with Perl. You can get Tk from any CPAN archive (http://www.perl.com/CPAN/). The Tk extension provides an easy way to draw a window, put widgets into it (such as buttons, check boxes, ... a few examples of Tk-based web clients, which go beyond the command-line interface that we've been using so far in this book:[1] xword, a dictionary client track, a graphical version...
Ngày tải lên: 07/11/2013, 09:15
Web Client Programming with Perl-Chapter 7: Graphical Examples with Perl/Tk- P2
... "CHINA", "COLOMBIA", "CONGO", "COOK ISLANDS", "COSTA RICA", "COTE D'IVOIRE", "CROATIA", "CYPRUS", "CZECH ... REPUBLIC", "DENMARK", Chapter 7: Graphical Examples with Perl/Tk- P2 The do_search( ) function will take an optional $url argument, to give it an alternative place to connect ... clean up, and then we can do our lookup. If we care about this $tag, then we compress all spaces in the current text string (makes the display a little bit nicer) and call the function specified...
Ngày tải lên: 07/11/2013, 09:15
Web Client Programming with Perl-Chapter 7: Graphical Examples with Perl/Tk- P3
... Package tracking client Chapter 7: Graphical Examples with Perl/Tk- P3 Our destinations list is an almost exact copy of the list you'd see on the web page. For ease in using, we placed ... 'top_left_arrow'); -yscrollcommand => ['set', $scroll], -exportselection => 0); $scroll->configure(-command => ['yview', $listbox]); $scroll->pack(-side => ... typed a letter, it would scroll to the first entry starting with that letter. Or you could put an additional entry, and search for any word starting with those characters: my $response_f =...
Ngày tải lên: 07/11/2013, 09:15
Tài liệu modularizing programming with subprograms pdf
... Works” to the screen. a. Replace the skeleton text with text from LABS/p20proc.pls. b. Compile the code. Make appropriate corrections so code successfully compiles. c. Execute the procedure at the ... functions. You are already familiar with SQL functions. You call the function with actual parameters from within a SQL command, such as SELECT. Example Number Functions ROUND (1896,2) TRUNC (1892,-2) ... SQL clauses. D The select list of a SELECT command D The condition of a WHERE and HAVING clause D The CONNECT BY, START WITH, ORDER BY, and GROUP BY clauses D The VALUES clause of the INSERT command D The...
Ngày tải lên: 10/12/2013, 17:15
Tài liệu Web Client Programming with Perl-Chapter 7: Graphical Examples with Perl/Tk- P4 docx
... selected. my $site = ""; my ($content, @down); my @selected = $list->curselection; $mw->configure(-cursor => 'watch'); $mw->idletasks; foreach $index ... actually ping each site. The code to check a site's status is as follows, where $site is a string containing a standard URL (like http://www.ora.com): $content = head($site); if ($content) ... $history_label->configure(-background => $old_color); } } The function ping_site( ) is called when a new site is added to update its status. It is also called when in automode. It checks the...
Ngày tải lên: 14/12/2013, 13:15
Tài liệu C Sharp part 13 pdf
... declare."); else{ ///check file exists, throw exception if it isn't exist. if (System.IO.File.Exists(this.FullPath)) { ///Create filestream with filemode open and fileaccess ... FileStream(this.FullPath, FileMode.Open, Fi leAccess .Read); ///Create byte array. Byte[] _oByte = new byte[1024]; ///Create UTF8Encoding. UTF8Encoding _oUTF8Encoding = new UTF8Encoding(); ///while filestream ... ///check file path. throw exception if is null or empty. if(this.FullPath == null || this.FullPath.Equals("")) ///throw exception. throw new Exception("Can not get content!...
Ngày tải lên: 15/12/2013, 01:16
Tài liệu C Sharp part6 pdf
... V_1,class yyy V_2) 8: ldc.i4.s 10 9: newobj instance void yyy::.ctor(int32) 10: stloc.0 11: ldc.i4.5 12: newobj instance void yyy::.ctor(int32) 13: stloc.1 14: ldloc.0 15: ldloc.1 16: call ... 25: 26: .class public auto ansi yyy extends [mscorlib]System.Object 27: { 28: .field public int32 i 29: .method public hidebysig specialname static class yyy op_Addition(class yyy x,class yyy ... M c dù chúng ta viết mã trong C# c quá tải toán tử như vậy, nhưng trình biên dịch C# sẽ phải dịch ra ngôn ngữ trung gian IL để th c thi trên môi trường .NET. Đoạn lệnh đã đư c biên dịch ra...
Ngày tải lên: 15/12/2013, 02:15
Tài liệu C Sharp part12 pdf
... { this._sName = name; } } } Mình không c nhiều thời gian nên c c bạn c thể tự tìm hiểu thêm, chú c c đến Enumerator c a AttributeTargets. Sử dụng Attribute tự t ạo tương ... Ví dụ 3! Creating Custom Attributes(tạo một Attributes) * Lớp tạo Attributes PHP Code: /* * Created by SharpDevelop. * NetDevelop Co., Ltd. * Author: Tuan Anh Nguyen Ngoc * Date: ... Ngoc * Date: 11/24/2006 * Contact Information. * - Email: info.netdevelop@gmail.com * - Handheld: +84 905 202 088 */ using System; namespace AdvancedDotnet { /// <summary>...
Ngày tải lên: 15/12/2013, 02:15
Tài liệu Network Programming with Perl pdf
... address with bind Tell system to watch for incoming connections with listen Waits for a connection with accept or select ☞ Ä Ä Ä Ä Slide 49 Comparing packed addresses (cont.) Explanation The structure ... the use of context here disturbs you then you can explicitly call pack_sockaddr_in and unpack_sockaddr_in. ☞ ☞ ☞ ☞ Slide 8 The socket model The Server Creates a generic socket with socket Binds ... Communication protocols There are two protocols that are mainly used TCP is used with a stream socket to provide a reliable, sequenced, flow-controlled channel of communication. UDP is used with...
Ngày tải lên: 21/12/2013, 04:19
Tài liệu Advanced Linux Programming: 1-Advanced UNIX Programming with Linux pdf
... Makefile contains: reciprocal: main.o reciprocal.o g++ $(CFLAGS) -o reciprocal main.o reciprocal.o main.o: main .c reciprocal.hpp gcc $(CFLAGS) -c main .c reciprocal.o: reciprocal.cpp reciprocal.hpp g++ ... (“The reciprocal of %d is %g\n”, i, reciprocal (i)); return 0; } Listing 1.2 (reciprocal.cpp) C+ + source file—reciprocal.cpp #include <cassert> #include “reciprocal.hpp” double reciprocal (int ... source code into machine-readable object code that can actually run.The compilers of choice on Linux systems are all part of the GNU Compiler Collection, usually known as GCC. 3 GCC also include...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Object Oriented Programming using C sharp ppt
... o. A car has a current speed and has a certain amount of fuel inside it. Speci c behaviour can also be associated with each object (things that you can do with it) :- a watch can be checked ... source code to execute on a particular machine… • compilation into machine-language object code • direct execution of source code by ‘interpreter’ program • compilation into intermediate object ... while allowing current parts of the system to interact with new object without concern for the speci c properties of the new objects. 1.5 What Exactly is Object Oriented Programming? Activity 8...
Ngày tải lên: 21/02/2014, 06:20