logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

【c语言】输入字符串,检查是否是回文(回文是指正反序相同,如,LeveL),若是则输出“Yes”,否则输出“No”。

#include <stdio.h>#include <string.h>void main(){int i,n;char str[80];gets(str);n = strlen(str);for(i = 0;i<n/2;i ++ ){//比到一半就不比了if(str[i] != str[n-1...

【c语言】将字符串中的前导*号全部移到字符串的尾部

//例如:输入的字符串为"****lbqlzch**a",移到后的字符串的内容为"lbqlzch**a****"#include <stdio.h>void main(){char c[81],*p;int n=0,i=0;p=c;gets(c);while(*p=='*'){n++; //统计字符串中前导*号的个数p++;...

request.getSession().getServletContext().getRealPath("/");

request.getSession().getServletContext()是获取的servlet容器对象,相当于tomcat容器了。getRealPath("/") 获取实际路径,项目发布时,在容器中的实际路径。D:\apache-tomcat-8.5.23\apache-tomcat-8.0.52\wtpwebapps\Springmvc_day01\(Springmvc_day...

Referenced file contains errors (project-aware://maven_demo1/org/springframework/beans/factory/xml/s

在配置文件出现如下错误Referenced file contains errors (project-aware://maven_demo1/org/springframework/beans/factory/xml/spring-beans-4.0.xsd). For more information, right click on the message in the Problems Vi

c语言输出各种三角形的代码

1.演示图实现代码:#include <stdio.h>int main(){for(int i=0;i<=5;i++){for(int j=0;j<=i;j++){printf("*");}printf("\n");}}2.演示图:实现代码#include <stdio.h&gt

request.getSession().getServletContext().getRealPath("/");

request.getSession().getServletContext()是获取的servlet容器对象,相当于tomcat容器了。getRealPath("/") 获取实际路径,项目发布时,在容器中的实际路径。D:\apache-tomcat-8.5.23\apache-tomcat-8.0.52\wtpwebapps\Springmvc_day01\(Springmvc_day...

【c语言】删去一个数组中所有相同的数,使之只剩一个,然后打印出此一维数组并且打印出数组个数

1.第一种:使用一维数组删除数组中相同的数#include <stdio.h>#define N 19int fun(int a[],int n){int i,j=1;for(i=1;i<n;i++){if(a[j-1]!=a[i])a[j++]=a[i];}return j;}void main(){in...

SpringBoot集成MinIO

对象存储服务OSS(Object Storage Service)是一种海量、安全、低成本、高可靠的云存储服务,适合存放任意类型的文件。容量和处理能力弹性扩展,多种存储类型供选择,全面优化存储成本。今天我这里主要讲解SpringBoot如何集成MinIO。

文章图片
#spring boot#java#spring
css-弹性布局弹布局(Flex布局)

在网页制作过程中,布局是我们最重要的一个环节。可以说布局的好坏直接影响到整个网页的成败!布局成,则事半功倍;布局败,则事倍功半。随着移动互联的到来,响应式网站风靡。这也就兴起了一种新兴的布局方式——弹性布局。取代我们之前“display+float+position”的布局形式,采用全新的弹性布局,会让你的网站如丝般顺滑!今天,就让我们一起来学习一下弹性布局,让我们用5个div玩转弹性布局吧~弹性

request.getSession().getServletContext().getRealPath("/");

request.getSession().getServletContext()是获取的servlet容器对象,相当于tomcat容器了。getRealPath("/") 获取实际路径,项目发布时,在容器中的实际路径。D:\apache-tomcat-8.5.23\apache-tomcat-8.0.52\wtpwebapps\Springmvc_day01\(Springmvc_day...

    共 15 条
  • 1
  • 2
  • 请选择