compiler玩具cpp

cpp: SQLite

lib /def:sqlite3.def /machine:ix86 ......
SQLite cpp

Angular 复习与进阶系列 – Angular Compiler (AKA ngc)

前言 在 Get Started 那一篇, 我们有提到过 Angular Compilation. 这篇稍微给点具体画面, 让大家感受一下. 但不会讲细节, 对细节感兴趣的可以看 Medium – How the Angular Compiler Works ......
Angular Compiler AKA ngc

cpp: vector

// NarcissisticInfo.h : //练习案例:水仙花数 100 - 1000 NarcissisticNumber //案例描述:水仙花数是指一个 3 位数,它的每个位上的数字的 3次幂之和等于它本身 //例如:1 ^ 3 + 5 ^ 3 + 3 ^ 3 = 153 //请利用do. ......
vector cpp

python compile函数用法

将文本代码编译成Python可执行代码,这个代码对象可以通过eval()或exec()函数执行。 compile()函数的语法如下: compile(source, filename, mode, flags=0, dont_inherit=False, optimize=-1) 参数说明: sou ......
函数 compile python

Understanding the different flavors of Clang C and C++ compilers in Windows

https://blog.conan.io/2022/10/13/Different-flavors-Clang-compiler-Windows.html This article will explain the different flavors of Clang C and C++ comp ......

cpp: read csv file

// CSVfilemanagement.h : //练习案例:CSV 文件读写 // // 2023年4月5日 涂聚文 Geovin Du edit. // https://www.digitalocean.com/community/tutorials/getline-in-c-plus-plu ......
read file cpp csv

cpp: Narcissistic in C++11

// NarcissisticList.h : //练习案例:水仙花数 100 - 1000 NarcissisticList //案例描述:水仙花数是指一个 3 位数,它的每个位上的数字的 3次幂之和等于它本身 //例如:1 ^ 3 + 5 ^ 3 + 3 ^ 3 = 153 //请利用do... ......
Narcissistic cpp 11 in

cpp: 九九乘法表显示

// CardinalDirection.h : //练习案例:九九乘法表位置 CardinalDirection //案例描述:九九乘法表位置 // //2023年4月5日 涂聚文 Geovin Du edit. // #pragma once #ifndef CARDINALDIRECTION_ ......
乘法表 乘法 cpp

CPP基础语法

C++基础语法 基本数据类型的大小 不同编译器的内置类型大小不同,比如指针类型,同是x86-64的CPU,g++的指针大小为8,visual的指针大小为4,minGW指针大小为8 C++标准只保证基本数据类型有一个最小大小: 图源 记录几个常用类型的大小,都基于x86-64处理器架构 | | g++ ......
语法 基础 CPP

CPP内存管理

从内核到C++应用 整个系统的不同层级有着不同的内存管理器。 linux内核: 伙伴系统(以页为单位进行管理)、slab分配器(定制化的内存管理器)。 malloc\free库函数:使用系统调用mmap、sbrk,以及bins管理多个空闲链表(内存池)。有合并空闲块的操作。有两种方式管理内存: 如果 ......
内存 CPP

.Net Standard-Missing compiler member error Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create

最近在玩dynamic 的时候出现无法生成的情况 . "missing compiler member error Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create" 解决方案: 缺少Nuget包: Microsoft.CSharp ......

cpp: random

// RandomlySampled.h : 此文件包含 "RandomlySampled" 类。十个常用排序算法 C++ 11 // 2023年4月9日 涂聚文 Geovin Du edit. #pragma once #ifndef RANDOMLYSAMPLED_H #define RANDO ......
random cpp

cpp degbug - win gnu

$ tree -a . ├── .cache │ └── clangd │ └── index │ └── hello.cpp.48B5401E85030568.idx ├── .ccls ├── .ccls-cache │ ├── @C@@Users@dev@Desktop@gnuwin@test ......
degbug cpp win gnu

cpp: CLion 2022.3.2 run 运行中文乱码解决方式

按住 Ctrl+Shift+Alt+/ (不够快捷的快捷键...)选中Registry... 然后取消run.processes.with.pty CLion 2022.3.2 ......
乱码 方式 CLion 2022 cpp

cpp shared_future

#include <chrono> #include <ctime> #include <future> #include <iomainp> #include <iostream> #include <sstream> #include <uuid/uuid.h> std::string get_ ......
shared_future shared future cpp

cpp: sort Algorithmic

// TenSortAlgorithms.h : 此文件包含 "TenSortAlgotrthms" 类。十个常用排序算法 C++ 14 // 2023年4月5日 涂聚文 Geovin Du edit. #ifndef TENSORTALGORITHMS_H #define TENSORTALGOR ......
Algorithmic sort cpp

cpp generate random array then sort by quick sort

#include <chrono> #include <ctime>#include <iomainp> #include <iostream> #include <random> #include <sstream> std::string get_time_now() { std::chrono ......
sort generate random array quick

yaml-cpp YAML格式处理库的介绍和使用(面向业务编程-文件格式处理)

yaml-cpp YAML格式处理库的介绍和使用(面向业务编程-文件格式处理) YAML格式介绍 YAML的格式介绍,有关ini、json和xml或许很多人已经很了解了,但是关于YAML,还有许多人不了解。YAML被设计成更适合人类阅读(我想正因为如此,所以相对来说更灵活,就导致到使用的时候很多人会 ......
格式 yaml-cpp 业务 文件 yaml

cpp: Sorting a List of Objects with Custom Comparator or Lambda Function

PigInfo.h #ifndef PIGINFO_H #define PIGINFO_H #include <iostream> #include<string.h> #include<math.h> using namespace std; /* 实体类 https://learn.micros ......
Comparator Function Sorting Objects Custom

cpp: create class

PigInfo.h #ifndef PIGINFO_H #define PIGINFO_H #include <iostream> #include<string.h> #include<math.h> using namespace std; /* 实体类 https://learn.micros ......
create class cpp

关于c/cpp内存存储中常量与指针的类型

辨析 下面两种类型 char* a = "abc"; //① char b[] = "123"; //② 123\0 char arr[14] = "ABC"; //③ strcat(arr, a); 上面2与3相同,只是相等一个是预留长度,一个是实体长度,但是好像如果对于2只是声明,没有赋值,那么 ......
常量 指针 内存 类型 cpp

maven compile/install 无法识别第三方引入的jar包

有的jar包在互联网上并没有,而是自己本地私有的,lib引入后idea正常编译,但是maven无法识别。可以将依赖工程打jar包后直接扔到本工程的 WEB-INF/lib 下。 (可以直接将编译后的class下的几个文件夹压缩成zip,然后直接修改名称为 xxx.jar) ......
第三方 compile install maven jar

Chisel3 使用 DPI-C,发现在 Chisel 环境下 printf 没问题,但是 set_pc 死活传不到 cpp 环境

大概率是因为你使用了 SignExt 之类的封装 这类封装只会把 ”值“ 传给 DPI-C,而不会把线连给 DPIC,即,传过去的是调用 set_pc 时的值,而不是引用 这样会造成 CPP 获取不了相应线路的指针 如下图 ......
环境 Chisel 死活 Chisel3 printf

cpp 类、结构体初始化相关

结构体 初始化结构体 // 使用C++11初始化结构体 Person p = { .age = 20, .name = "John" }; 列表初始化 类 C++11标准引入了“默认成员初始化”特性,允许我们在类的声明中给成员变量赋初值,这样就不需要显式地在每个构造函数中初始化成员变量了。 cons ......
结构 cpp

【已解决】configure: error: C++ compiler cannot create executables

1.背景 centos 7 在升级gcc configure 的时候出现的问题 A100-01-$build#../configure --prefix=/usr/local/gcc --enable-threads=posix --disable-checking --disable-multil ......
executables configure compiler cannot create

[Ai] 通过llama.cpp与羊驼聊天的网页界面- 详解 Serge 的启动使用

1. 官方指导是使用如下命令直接运行: $ docker run -d -v weights:/usr/src/app/weights -v datadb:/data/db/ -p 8008:8008 ghcr.io/nsarrazin/serge:latest 随后打开地址 localhost:8 ......
界面 网页 llama Serge cpp

cpp get exact time and precision reach nanoseconds via std::chrono::high_resolution_clock

#include <chrono> #include <ctime> #include <iomapip> #include <iostream> #include <sstream> std::string get_time_now() { std::chrono::time_point<std: ......

cpp 文件打开模式

模式|文件流|说明| -|-|- ios::in| fstream ifstream| 读取、不存在报错 ios::out| ofstream fstream | 输出、清空、创建 ios::app| ofstream fstream |追加、创建 ios::ate|ifstream| 读取、移动到 ......
模式 文件 cpp

后端基础——rom,ram,memory compiler

一,memory基础 1,导览 Memory用来存储和读写的大量的二进制数据。按功能上分类,基本可以分为两大类:只读存储器(ROM)和随机存取存储器(RAM)。ROM只能读,不能写;RAM既能读又能写。RAM具有易失性。断电以后,RAM中保存的数据将全部丢失;而ROM中的数据则可以长久保存。 RAM ......
compiler 基础 memory rom ram
共380篇  :12/13页 首页上一页12下一页尾页