Skip to content

Instantly share code, notes, and snippets.

View SofijaErkin's full-sized avatar
🎯
Focusing

Vittore Marcas SofijaErkin

🎯
Focusing
View GitHub Profile
@SofijaErkin
SofijaErkin / A_best_setup_c++11_debugger_vscode_mac.md
Last active June 1, 2022 04:27
A best way to Setup C++11 debugger with Visual Studio Code on mac

A best setup C++11 debugger with VSCode (mac)

(ONLY FOR ONE SINGLE C/C++ FILE)

This is a set of files about setting up C++11 debugger with Visual Studio Code

on mac.

Notice:

@SofijaErkin
SofijaErkin / problems_during_setup_c++11_debug_vscode_mac.md
Last active January 19, 2022 02:25
Problems occur during settings up C++11 Debugger with VSCode on mac

Problems occur during settings up C++11 Debugger with VSCode on mac

1.Source

1.1Output

1.1.1DEBUG CONSOLE

1.1.1.1(OUTPUT)Debug Not Function
@SofijaErkin
SofijaErkin / debug_problem.md
Last active January 19, 2022 02:35
Setup problemes follow the official documentation of VSCode on Mac Or CodeLLDB problemes

Workspace envirnment

Platform

Laptop: macOS 10.12

CPU: Intel

clang: 9.0.0

llvm-gcc: 4.2.1

APP

VSCode 1.63.2

clang-format: v1.9.0

Code Runner: v0.11.6

@SofijaErkin
SofijaErkin / tutorial.md
Created January 20, 2022 11:32 — forked from UnaNancyOwen/tutorial.md
How to write CMakeLists

CMakeLists Tutorial

ここでは、基本的な設定スクリプト(CMakeLists.txt)の書き方を紹介します。
(主にVisual C++向けに説明します。)

Basic Uses

CMakeでC++のプロジェクトを生成するための最小限必要のスクリプトを説明します。

  • cmake_minimum_required
    CMakeの最小要求バージョンを設定します。
@SofijaErkin
SofijaErkin / A_seperated_multicxx_vscode_manually_mac.md
Last active March 21, 2022 23:14
A seperated multiple C/C++ files build, compile and debug with VSCode on mac

Seperated Multiple C/C++ Manually VScode(mac)

This is a setup for multiple C/C++ files under different folder to build,

compile and debug with VSCode on mac.

Amazing Notice:

Please double check the filename of the VSCode configuration file.

@SofijaErkin
SofijaErkin / a_plan_to_email_hadid_bella.md
Last active August 4, 2023 06:26
A plan to email hadid bella for against depression
@SofijaErkin
SofijaErkin / A_multicxxs_same_folder_vscode_mac.md
Last active March 21, 2022 03:11
A multiple C/C++ files under same folder build, compile, debug with VSCode on mac

Multiple C/C++ Same Folder Manually VSCode(mac)

This is a setup for multiple C/C++ files under same folder to build,

compile and debug with VSCode on mac.

Amazing Notice:

Please double check the filename of the VSCode configuration file.

@SofijaErkin
SofijaErkin / launch_pk_attach_launchjson_vscode_manually.md
Created January 25, 2022 03:07
What differs between Launch and Attach in VSCode configuration launch.json?
@SofijaErkin
SofijaErkin / pension_modernization.md
Last active October 30, 2023 01:37
Tired of sickness, pension, medical? Now It's time to pension modernization.

Multiple source files in C

This Gist presents an introduction to a few different ways of working with multiple source files in C, including:

  1. Simple .c source files and .h header files compiled into a .exe
  2. First compiling into .o object files, and then linking together
  3. Makefiles
  4. Statically linked libraries
  5. Dynamically linked libraries

The concepts are demonstrated using gcc (tdm64-1) 5.1.0 on Windows 8.1, using 3 C source files (linkedlist.c, listprimes.c and main.c) and 2 header files (linkedlist.h and listprimes.h), all of which are included at the end. It is assumed that all the source files are saved in a single directory, and any terminal commands are entered in a terminal window open in that same directory.