Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

c:forEachÄò»µ½ÖµÔõô½â¾ö

<%@page contentType="text/html;charset=gbk"%>
<%@page import="java.util.*" %>
<%@page import="com.sinly.entity.*"%>
<%@taglib  uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>
<%
Collection <Product> coll=(Collection <Product>)request.getSession(true).getAttribute("products");
%>
<html>
<h1> <%=((Product)coll.iterator().next()).getProductId()%> </h1>
<body>
<table bordercolor="red" border="2" width="70%">
<tr>
<td>ÉÌÆ·Ãû±àºÅ </td>
<td>ÉÌÆ·Ãû³Æ </td>
<td>ÉÌÆ·¼Û¸ñ </td>
</tr>
<tr> <td>1 </td> <td>²âÊÔ </td> <td>1000000 </td>
<c:forEach  var="p"  items="${coll}">
<tr>
<td>1:${p.productId} </td>
<td>2:${p.productName} </td>
<td>3:${p.price} </td>
</tr>
</c:forEach>

</table>
</body>
</html>
ÆäÖÐ <h1>±êÇ©¿ÉÒÔÄõ½IDÖµ£¬²âÊÔsize()Ò²ÓÐÖµ
ÏëÎÊÏ£¬ÎªÊ²Ã´ÏÂÃæµÄc±êǩȡ²»µ½Öµ
ÔÚÏߵȴ𰸣¡
<c:forEach  var


Ïà¹ØÎÊ´ð£º

ѧϰÌÖÂÛ C/C++ QQȺ - C/C++ / ·Ç¼¼ÊõÇø

QQȺ 29152388
ÓÑÇéUP

°ï¶¥

up

°ïup

up Ö§³Ö£¡

up jf

...ÄѵÀÓзÖ..?

up up up
Ï£ÍûÓеüӷ֣¬¹þ¹þ¡£

Ö§³Ö£¬ÎÒ¼ÓÁË£¬Ï£ÍûÂ¥Ö÷ÄܼÓÎÒ£¬¹²Í¬Ñ§Ï°¹þ

¼ÓÁË¡£

¶¥ÉÏ£¬Ã¿ÌìÊÕ»ñÒ»µã£¬Ö§³Ö ......

ΪʲôCдDLLÎļþC¡¢PBÄܵ÷ÓÃVB²»Äܵ÷ÓÃ

ΪʲôCдµÄDLLÎļþC¡¢PBÄܵ÷ÓÃVB²»Äܵ÷Óã¿
VBÀïΪʲôÓеÄDLLÖ±½Óͨ¹ýÒýÓÿÉÒÔʹÓã¿ÓеÄÐèҪͨ¹ýdeclareÉêÃ÷Íⲿº¯Êý£¿ÕâЩDLLÓÐʲô²î±ð£¿

1¡¢ÎªÊ²Ã´PBÄÜͨ¹ýDECLAREÉùÃ÷¶øVB²»ÐУ¿
2¡¢Èç¹ûÕâ¸ödllÖÐµÄ ......

Ò»¸ö·Ç³£¼òµ¥µÄC³ÌÐòµÄÔËÐнá¹û

#include <stdio.h>
main()
{
int a,b,sum;
a=1;b=2;
sum=a+b;
printf("sum is %d\n");
}


½á¹ûÊÇ£º2367460

Ϊʲô£¿
printf("sum is %d\n", ......

C#µ÷Óà C DLLÎÊÌ⣬¶®µÄÀ´ÇÀ·ÖÁË

//C ½Ó¿Ú
extern "C"
{
  TESSDLL_API int __cdecl GetTessText(const char *imagefile, char *text);  
}
//ÎÒÔÚC#ÖÐÉùÃ÷
//µ÷ÓÃC DLL Öеĺ¯Êý
[DllImport("OCRapi.dll&quo ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ