Everything is done under the command line
First, make sure that the computer is connected to IOT platform.
Then input it on the terminal (this step is to download the compilation tool required for programming, etc)
Sudo apt-Get install
First, we will introduce several common functions:
Compare (str1, str2) -- compare the size of two strings str1 and str2. If it is greater than the return positive number, it is equal to the return 0. If it is less than the return negative number!
Mcisendstring
Is used to play multimedia files
API
Command, which can be played
MPEG, Avi, WAV, MP3,
And so on.
This function has four parameters: The first parameter is the command string to be sent. The string structure is :[
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> # Include " Stdafx. h " # Include Stdio. h > # Include Stdlib. h > # Include Windows. h > DWORD winapi threadwork
I. bitwise operators the C language provides six bitwise operators:
& Bitwise AND| By bit or^ Bitwise OR~ Invert> Right shift
1. bitwise and operation bitwise AND operator "&" are binary operators. Its function is the binary phase corresponding
1. Exception Handling Mode
Except for ioexception and the ioexception-born class, all other classes are in the system namespace.
2. Capture exceptions
Finally blocks clear resources or execute other operations to be performed at the end of the try
Note the following when learning C ++. Absolutely classic .!!
1. Take C ++ as a new language learning (it has nothing to do with C! True .);
2. Read thinking in C ++ instead of C ++.
3. read "The C ++ programming language" and "inside the C ++
C # Two Methods for uploading web files
[From]: http://www.cnblogs.com/guiliangfeng/archive/2009/03/11/1408645.html
In Web programming, we often need to upload some local files to the Web server. After uploading, users can easily browse these
I. Condition statements
1. If statement
If (Boolean) {} else {}
2. Switch statement
Switch (expression ){
Case branch 1:
....
Break;
Case branch 2:
....
Break;
Default:
Break ;}
The expression can be string, Enum, Char, int
Using
System;
Using
System. Collections. Generic;
Using
System. text;
Using
System. net. mail; Namespace Mbacsc. dataaccess{ Public Class Sendmail{ /// /// NET 2.0 send email /// /// Email sending server
In Web programming, we often need to upload some local files to the Web server. After uploading, users can easily browse these files through a browser, which is widely used.
So how does C # implement the file upload function? The following is a
Two methods are provided: one is to open the Excel file directly and then read it row by row, which is slow; the other is to connect through oledb and read the Excel file as a data source.
Method 1: This method of Directly Reading cells is very
I. general conventions
1. Use of curly braces
YesPlace the left curly braces at the end of the previous statement.If (someexpression ){Dosomething ();}
YesAlign the right curly braces with the beginning of the row where the left curly
Introduction
Attributes is a brand new declarative information. We can not only define design-level information (such as help file and URL for documentation) through features, but also run-time information (such as associating XML with class ), we
Upload files here and upload them to the folder and database on the server.
1: Upload to a folder
First, check the ASPX page:
Program
Code :
The following are events triggered by the background and the "File Upload" button:Program
Http://www.cnblogs.com/candywyq/archive/2007/07/24/830021.html
1. Extract substrings from strings The stringbuilder class does not support substrings. Therefore, the string class must be used for extraction.
String
Mystring = "My name is ynn .";
Tested the followingArticle, And an error is found,
CLRProvides differentiated typesEqualityAndIdentityCapability.
L equality : if the two objects are of the same type, and they each have the same and equivalent attributes. (they are
This afternoon, I checked the C #3.0 coding specification and found some obscure codes that I did not understand. These codes are sometimes useful.
Class @ class {public static void @ static (bool @ bool) {if (@ bool) System. console. writeLine
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service