What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-11-13 21:42:16
how to interface c++ in haxe
Im not exactly sure how this works but it do.... Haxe file: @:include("helloWorld.cpp") @:native("cppClass") extern class CppClass { @:native("cppClass::helloFromCpp") static public function helloFromCpp():Void; }... Add solution -
Python 2021-11-13 21:18:15
pyqt open file dialog
import sys from PyQt5.QtWidgets import QApplication, QMainWindow, QWidget, \ QPushButton, QVBoxLayout, QFileDialog # you can copy and run this code class MainWindow(QMainWindow): def __init__(self, parent=None):#-------------- super(Main... Add solution -
-
Java 2021-11-11 21:09:12
Write a program that prints all prime numbers less than 1,000,000
public class Main { public static void main(String[] args) { for (int i = 2; i < 1_000_000; ++i) { boolean isPrime = true; int sqrt = (int)Math.ceil(Math.sqrt(i)); for (int divisor = 2; divisor <= sqrt; ++divisor) { i... Add solution -
Other 2021-11-11 19:23:14
App themeing example in kivyMD
from kivy.uix.screenmanager import Screen from kivymd.app import MDApp from kivymd.uix.button import MDRectangleFlatButton class MainApp(MDApp): def build(self): self.theme_cls.theme_style = "Dark" # "Light" sc... Add solution -
Assembly 2021-11-09 23:03:21
javafx observable collection
import java.util.ArrayList; import java.util.List; //from w ww .j a v a 2 s . c o m import javafx.collections.FXCollections; import javafx.collections.ListChangeListener; import javafx.collections.ObservableList; public class Main { public static vo... Add solution
Best helpers
Blank
+5
Grin
+5
Hwsolutions
+5
Charlemagne
+5
SYJ
+5
A. Pelicker
+5
KMC
+5
Jonjie
+5
37Bons
+5
Highlightman
+5
ElDynamite
+5
Paul Knight
+5
Karl
+5
WYSIWYG
+5
Required
+5
Saylestyler
+5
Deverejones
+5
Zkanoca
+5
Frank Jaeger
+5