- VC++ Directories > Include Directories =
$(SolutionDir)$ (SolutionName)\Include - VC++ Directories > Library Directories =
$(SolutionDir)$ (SolutionName)\Lib-
$(SolutionDir)$ (SolutionName)\Lib\x64 for x64 -
$(SolutionDir)$ (SolutionName)\Lib\x86 for x86
-
- C/C++ > Code Generation > Runtime Library = Multi-threaded DLL (/MD)
- Linker > System > SubSystem = Windows (/SUBSYSTEM:WINDOWS)
- Linker > Input > Additional Dependencies = SDL2.lib;SDL2main.lib;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:100000000C948E030C94B6030C94B6030C94B603B4 | |
:100010000C94B6030C94B6030C94B6030C94B6037C | |
:100020000C94B6030C94B6030C9475070C94E40777 | |
:100030000C94B6030C94B6030C94B6030C94B6035C | |
:100040000C94B6030C94B6030C94B6030C94B6034C | |
:100050000C94B6030C94B6030C94B6030C94160AD5 | |
:100060000C94B6030C94B6030C94B6030C94B6032C | |
:100070000C94B6030C94B6030C94B6030C94B6031C | |
:100080000C94B6030C94B6030C94B6030C94B6030C | |
:100090000C94B6030C94B6030C94B6030C94B603FC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
// | |
// Copyright (C) 2019 Pharap (@Pharap) | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "PokittoLua.h" | |
#include <Pokitto.h> | |
#include <cstdint> | |
int Pokitto_Display_getWidth(lua_State * state) | |
{ | |
lua_pushinteger(state, Pokitto::Display::getWidth()); | |
return 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <type_traits> | |
#include <iostream> | |
int func(void) { return 42; } | |
int main(void) | |
{ | |
auto fp0 = func; | |
auto fp1 = *func; | |
auto fp2 = *******func; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace StackOverflowProgram | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Main(args); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
public class Base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// cpp files require these includes | |
// ino files do not | |
#include <Arduino.h> | |
#include <Serial.h> | |
// cpp files require this predeclaration | |
// ino files do not | |
void sendMessage(void); | |
void setup(void) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copyright 2018 Pharap | |
Redistribution and use in source and binary forms, with or | |
without modification, are permitted provided that the following | |
conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above | |
copyright notice, this list of conditions and the following disclaimer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
namespace AngleGenerator | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
double Tau = Math.PI * 2; |