用循环输出等腰三角形时,前面的空格不见了,本人用“.”代替时,又可以正确输出,求各位高手这是为什么呢?能用什么方法改善呢?谢谢!
代码部分
public class sterne
{
public static void main(String[] args)
{
for(int i=1;i<=4;i++)
{
for(int j=1;j<=4-……继续阅读 »
9年前 (2016-06-02) 1253浏览
0个赞
[b][color=#FF0000]在MyEclipse里面运行listPerson.jsp出现下面提示错误:[/b][/color]
[color=#FF0000]An error occurred at line: 42 in the jsp file: /listPerson.jsp
com.mysql.jdbc.Driver cannot be re……继续阅读 »
9年前 (2016-06-02) 2093浏览
0个赞
Error creating bean with name “org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0”: BeanPostProcessor before instantiation of bean faile……继续阅读 »
9年前 (2016-06-02) 5804浏览
0个赞
今天将jdk”1.6卸载了,装了jdk1.8,使用新装的MyEclipse 2015打开原有的项目后,json文件就各种报错
解决方案
……继续阅读 »
9年前 (2016-06-02) 1241浏览
0个赞
map映射文件
<mapper namespace=”spring4.mapper.CustomerAccountMapper” >
<resultMap id=”BaseResultMap” type=”spring4.po.CustomerAccount” >……继续阅读 »
9年前 (2016-06-02) 2168浏览
0个赞
服务端用多线程,客服端的socket与服务端连接后,服务端就开一个线程,群聊的实现:一个客服端发一条消息到服务端,服务端需要把这条消息发送给全部连接者,问一下用socket流可以办到吗,udp传输呢
解决方案
10
用netty 试试
30
看看这个博客,http://www.cnblogs.com/xmcx1995/p/5793879.html
……继续阅读 »
9年前 (2016-06-02) 1157浏览
0个赞
本人想通过-(void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection这个方法在摄像头进行预览视图的时候捕获……继续阅读 »
9年前 (2016-06-02) 1737浏览
0个赞
问一下SPRING参数配置:
<dubbo:registry address=”${zookeeper.address}” id=”reg_center” default=”true”/>
或像这样:
<bean id=”securityManager……继续阅读 »
9年前 (2016-06-02) 1464浏览
0个赞
报的错
org.springframework.beans.factory.BeanCreationException: Error creating bean with name “userController”: Injection of resource dependencies failed; nested excepti……继续阅读 »
9年前 (2016-06-02) 1401浏览
0个赞