This commit is contained in:
Robert Jelic
2025-02-10 07:12:35 +01:00
parent 78cfbc7510
commit 5c15cf28fa
2427 changed files with 1005260 additions and 0 deletions

21
node_modules/shiki/samples/cpp.sample generated vendored Normal file
View File

@@ -0,0 +1,21 @@
// Working of implicit type-conversion
#include <iostream>
using namespace std;
int main() {
int num_int;
double num_double = 9.99;
// implicit conversion
// assigning a double value to an int variable
num_int = num_double;
cout << "num_int = " << num_int << endl;
cout << "num_double = " << num_double << endl;
return 0;
}
// From https://www.programiz.com/cpp-programming/type-conversion