GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cmake_learn/main.cpp at main · CodingPlatelets/cmake_learn

Expand file tree

/

main.cpp

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
49 lines (41 loc) · 1.2 KB
/

main.cpp

Copy path

File metadata and controls

49 lines (41 loc) · 1.2 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* @LastEditors: platelets [email protected]
* @Date: 2022-11-20 01:06:53
* @LastEditTime: 2022-11-20 16:05:09
* Copyright (c) 2022 by platelets email: [email protected], All Rights Reserved.
*/
#include <BASConfig.h>
#include <GLFW/glfw3.h>
#include <adder.h>
#include <cstdio>
#include <iostream>
#include "Poco/DigestStream.h"
#include "Poco/MD5Engine.h"
int main([[maybe_unused]] int argc, char* argv[]) {
std::cout << "Hello cmake" << std::endl;
std::cout << add(123.4, 245.2) << "\n";
int number = 1;
Poco::MD5Engine md5;
Poco::DigestOutputStream ds(md5);
ds << "abcdefghijklmnopqrstuvwxyz";
ds.close();
std::cout << Poco::DigestEngine::digestToHex(md5.digest()) << std::endl;
// fmt::print(stdout, "Your code is {} \n", number);
std::cout << argv[0] << " Version " << BAS_VERSION_MAJOR << "."
<< BAS_VERSION_MINOR << '\n';
GLFWwindow* window;
if (!glfwInit()) {
fprintf(stderr, "Failed to initialize GLFW\n");
exit(EXIT_FAILURE);
}
window = glfwCreateWindow(300, 300, "Gears", nullptr, nullptr);
// Main loop
while (!glfwWindowShouldClose(window)) {
// Swap buffers
glfwSwapBuffers(window);
glfwPollEvents();
}
// Terminate GLFW
glfwTerminate();
return 0;
}
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.