c_cpp 由fiddle.jyt.io创建的要点

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了c_cpp 由fiddle.jyt.io创建的要点相关的知识,希望对你有一定的参考价值。

// Jyt is a REPL for C++
// You can write code interactively

// Highlight some code and press alt-enter to execute it
// For example:
auto x = "hello world";

// Now you can query the value in the terminal on the right
// e.g. "x"

// You can also update the value
// x = "hello again";

// The terminal on the right is meant for evaluating expressions.

// This window is on the otherhand for definitions. E.g.:
int foo(int x) {
  return x;
}

// And you can include libraries
#include<iostream>

int main(std::string x) {
  std::cout << x << " " << foo(42) << std::endl;
  return 0;
}

auto result = main(x);

// Press the "play" button to load this file and interact in the terminal.
// As C++ does not allow to redefine symbols, pressing "play" multiple times might cause errors.
// You can restart the whole enviroment by pressing the "reload" button.

以上是关于c_cpp 由fiddle.jyt.io创建的要点的主要内容,如果未能解决你的问题,请参考以下文章

c_cpp 由jweinst12创建的RowdyNavyblueStructures - https://repl.it/@jweinst12/RowdyNavyblueStructures

c_cpp Reactionwanguage由jweinst12创建 - https://repl.it/@jweinst12/ReactionLanguage

c_cpp 添加由链接列表表示的两个数字

c_cpp 由n个元素旋转数组

c_cpp Ç由相对路径获得绝对路径的.c

c_cpp MIDI控制器由jardous