上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 120 下一页
摘要: 1.Install libpq-dev sudo apt install libpq-dev locate libpq-fe.h /usr/include/postgresql/libpq-fe.h 2.create table t1 create table t1(id bigserial not 阅读全文
posted @ 2023-11-10 23:24 FredGrit 阅读(73) 评论(0) 推荐(0)
摘要: 1.Install libpq-dev sudo apt install libpq-dev locate libpq-fe.h /usr/include/postgresql/libpq-fe.h 2.main.cpp #include <chrono> #include <fstream> #i 阅读全文
posted @ 2023-11-09 22:06 FredGrit 阅读(104) 评论(0) 推荐(0)
摘要: //create table t1 CREATE TABLE `t1` (`id` bigint NOT NULL AUTO_INCREMENT,`author` varchar(40) NOT NULL,`comment` varchar(40) NOT NULL,`content` varcha 阅读全文
posted @ 2023-10-31 00:59 FredGrit 阅读(20) 评论(0) 推荐(0)
摘要: //create table t1; create table t1(id bigserial not null primary key,author varchar(40) not null,comment varchar(40) not null,content varchar(40) not 阅读全文
posted @ 2023-10-24 23:15 FredGrit 阅读(36) 评论(0) 推荐(0)
摘要: alter table table_name alter column column_name new_type CREATE TABLE public.t2 ( id serial primary key, name character varying(40) NOT NULL, author c 阅读全文
posted @ 2023-10-22 19:35 FredGrit 阅读(32) 评论(0) 推荐(0)
摘要: //settings.json { "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/**", "/usr/include/c++/13", "/usr/include/x86_64-linux-g 阅读全文
posted @ 2023-10-19 22:15 FredGrit 阅读(82) 评论(0) 推荐(0)
摘要: sudo apt update; sudo apt upgrade; sudo apt install postgresql postgresql-contrib; sudo systemctl start postgresql.service https://www.digitalocean.co 阅读全文
posted @ 2023-10-16 20:55 FredGrit 阅读(22) 评论(0) 推荐(0)
摘要: cannot open source file "stddef.h" (dependency of "chrono"). Please run the 'Select IntelliSense Configuration...' command to locate your system heade 阅读全文
posted @ 2023-09-17 01:36 FredGrit 阅读(1712) 评论(0) 推荐(1)
摘要: #include <iostream> void ignore_exceptions() { for(int i=-10;i<10;i++) { std::cout<<"i:"<<i<<", 100/i="<<100/i<<std::endl; } std::cout<<"Finished in " 阅读全文
posted @ 2023-09-15 18:20 FredGrit 阅读(26) 评论(0) 推荐(0)
摘要: sudo apt install libmysqlcppconn-dev #include <algorithm> #include <atomic> #include <barrier> #include <bitset> #include <chrono> #include <ctime> #i 阅读全文
posted @ 2023-09-11 01:28 FredGrit 阅读(29) 评论(0) 推荐(0)
上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 120 下一页