Skip to content

Instantly share code, notes, and snippets.

Avatar

Kenny Kerr kennykerr

View GitHub Profile
View StreamSocket.cpp
#include "pch.h"
#include <conio.h>
using namespace Modern;
using namespace Windows::Foundation;
using namespace Windows::Networking;
using namespace Windows::Networking::Sockets;
int main()
View SyndicationClient.cpp
#include "pch.h"
#include <conio.h>
using namespace Modern;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::Web::Syndication;
int main()
View StreamSocketTask.cpp
#include "Precompiled.h"
#include <modern\async.h>
using namespace Modern;
using namespace Windows::Networking;
using namespace Windows::Networking::Sockets;
int main()
{
try
View SyndicationClientTask.cpp
#include "Precompiled.h"
#include <modern\async.h>
using namespace Modern;
using namespace Windows::Foundation;
using namespace Windows::Web::Syndication;
int main()
{
Initialize();
View SyndicationClientAwait.cpp
#include "Precompiled.h"
#include <modern\async.h>
using namespace Modern;
using namespace Windows::Foundation;
using namespace Windows::Web::Syndication;
std::future<void> Sample()
{
Uri uri(L"http://kennykerr.ca/feed");
View XamlApp.cpp
#include "pch.h"
using namespace Modern;
using namespace Windows::ApplicationModel::Activation;
using namespace Windows::UI;
using namespace Windows::UI::Xaml;
using namespace Windows::UI::Xaml::Controls;
using namespace Windows::UI::Xaml::Media;
View ClassyTypes.cpp
#include "pch.h"
using namespace Modern;
using namespace Windows::Foundation;
int main()
{
Initialize();
// IUriRuntimeClassFactory::CreateUri
View CoreApp.cpp
#include "pch.h"
using namespace Modern;
using namespace Windows::ApplicationModel::Core;
using namespace Windows::UI::Core;
using namespace Windows::UI::Popups;
struct View : IFrameworkViewT<View>
{
View DeviceEnumeration.cpp
#include "pch.h"
#include <conio.h>
using namespace Modern;
using namespace Windows::Devices::Enumeration;
int main()
{
Initialize();
View Words.cpp
#include <cctype>
#include <chrono>
#include <map>
#include <unordered_map>
#include <string>
#include <ppl.h>
#include <windows.h>
#include <wrl.h>
namespace wrl = Microsoft::WRL::Wrappers;