BlinCTOct. 22, 2020, 1:46 p.m.
Untitled
int main(int argc, char** argv) { int line = 0; if (argc > 1) { char* key = "-d"; char* keyArg = argv[1]; if (keyArg == key) { int
M
MaterimelyOct. 14, 2020, 7:38 a.m.
cvad
#include <iostream> using namespace std; int main() { double x, y; cout << "Input x\n"; cin >> x; cout << "Input y\n"; cin >> y; double a = 4-2*x; double b = -5+2*x+y; double
M
MaterimelyOct. 13, 2020, 2:13 p.m.
Untitled
#include <iostream> using namespace std; int main() { double x, y, Ax = 2, Ay = -1, Bx = 2, By = 1, Cx = 3, Cy = -1; cout << "Input x\n"; cin >> x; cout << "Input y\n"; cin >> y;
A
AnonymousOct. 9, 2020, 4:22 a.m.
Untitled
def moveZeroes(self, nums): """ :type nums: List[int] :rtype: None Do not return anything, modify nums in-place instead. """ if len(nums) < 2: return count_ite
M
MaterimelyOct. 8, 2020, 1:46 p.m.
Untitled
#include <iostream> #include <cmath> using namespace std; int main() { setlocale(LC_ALL, "ukr"); double r, u, x, y; cout << "Введiть координати:\nX="; cin >> x; cout << "\nY="; cin >> y;
BlinCTSept. 22, 2020, 4:36 a.m.
ач
александр чепрасовSept. 16, 2020, 12:12 p.m.
Untitled
export function openingStoryEditorBridge (dataStory, idContest=false) { console.log(dataStory.buttonStory) return bridge.send("VKWebAppShowStoryBox", { "background_type": `${dataSto
ач
александр чепрасовSept. 16, 2020, 3:08 a.m.
Запрос к апи ВК
public static function getDataUsers($idsUsers) { global $config; // получаем данные узеров $request_params = array( 'user_ids' => implode(',', $idsUsers), 'lang' => "ru", 'field
ач
александр чепрасовSept. 10, 2020, 4:17 a.m.
bitrix
async function addDeal (data) { const { name, email, telephone, title } = data async function queryBitrix ({ method, dataQuery }) { const url = `https://mentorama.bitrix24.com.br/rest/3/8
BlinCTAug. 29, 2020, 1:46 p.m.
Untitled
Item { id: root anchors.fill: parent StackLayout { width: parent.width currentIndex: coreApp.getCurrentObject().isAttributesFull ? 0 : 1 anchors.fil
A
AnonymousAug. 28, 2020, 7:22 a.m.
Не рабочий
public class Game2 extends ApplicationAdapter { private Skin skin; private Stage stage; private SpriteBatch batch; private WidgetFactory widgetFactory; private TextButton move
A
AnonymousAug. 28, 2020, 7:20 a.m.
Рабочий
public class Game extends ApplicationAdapter { Skin skin; Stage stage; SpriteBatch batch; @Override public void create () { batch = new SpriteBatch(); stag
A
AnonymousAug. 26, 2020, 3:24 p.m.
Untitled
def maxProfit(self, prices): """ :type prices: List[int] :rtype: int """ max_profit = 0 buy_day = None for num, price in enumerate(prices, start=0): if num + 1
A
AnonymousAug. 24, 2020, 7:21 a.m.
A
AnonymousAug. 17, 2020, 5:35 p.m.
Untitled
import bla-bla import bla-bla import bla-bla import bla-bla def __init__(self): set_timezone() def index(request): kjnlknlk
A
AnonymousAug. 16, 2020, 7:43 a.m.
Untitled
mport os title = "Готово" message = "Файл скачан" command = f''' osascript -e 'display notification "{message}" with title "{title}"' ''' os.system(command)
A
AnonymousAug. 15, 2020, 7:16 p.m.
A
AnonymousAug. 15, 2020, 5:30 p.m.
Untitled
A B C D E F G H I J 1 Host Country Winner Runner up Average attendance Teams Matches Goals scored Average goals 2 1930 World Cup Uruguay 1930 Uruguay Uruguay Argentina 32,808 13 18 70 3.9 3
ач
александр чепрасовAug. 13, 2020, 10:19 p.m.
Root
const App = () => { return ( <Root activeView={ID_VIEW}> <View id={ID_VIEW} activePanel={ID_PANEL}> <Panel id={ID_PANEL}> <Content/>
B
- Bogdannn
- March 28, 2024, 5:15 a.m.
C++ - Test 001. The first program and data types
- Result:46points,
- Rating points-6
Last comments
Qt Linux - Lesson 001. Autorun Qt application under Linux как сделать автозапуск для флэтпака, который не даёт создавать файлы в ~/.config - вот это вопрос ))
АК
Qt WinAPI - Lesson 007. Working with ICMP Ping in Qt Без строки #include <QRegularExpressionValidator> в заголовочном файле не работает валидатор.
Анатолий КононенкоFeb. 5, 2024, 12:50 p.m.
EVADec. 25, 2023, 9:30 p.m.
Boost - static linking in CMake project under Windows Сделал всё по-как у вас, но выдаёт ошибку [build] LINK : fatal error LNK1104: не удается открыть файл "libboost_locale-vc142-mt-gd-x64-1_74.lib" Хоть убей, не могу понять в чём дел…
Qt/C++ - Lesson 056. Connecting the Boost library in Qt for MinGW and MSVC compilers Для решения твой проблемы добавь в файл .pro строчку "LIBS += -lws2_32" она решит проблему , лично мне помогло.
Now discuss on the forum
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Евгений, добрый день! Такой вопрос. Верно ли следующее утверждение: Любое Android-приложение, написанное на Java/Kotlin чисто теоретически (пусть и с большими трудностями) можно написать и на C+…
Павел ДорофеевApril 14, 2024, 12:35 p.m.
Вернуть старое поведение QComboBox, не менять индекс при resetModel Добрый день! У нас много проектов в которых используется QComboBox, в версии 5.5.1, когда модель испускает сигнал resetModel, currentIndex не менялся. В версии 5.15 при resetModel происходит try…
Как получить в массив значения из связанной модели? Спасибо, разобрался:))
AC
QML Обнулить значения SpinBox Доброго времени суток, не могу разобраться с обнулением значение SpinBox находящего в делегате. import QtQuickimport QtQuick.ControlsWindow { width: 640 height: 480 visible: tr…
Alexandru CodreanuJan. 19, 2024, 10:57 p.m.