BlinCT
BlinCTOct. 22, 2020, 1:46 p.m.

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.

#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.

#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.

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.

#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;
P
PusherOct. 2, 2020, 7:18 a.m.

Repeater {
    id: elements
    delegate: Switch {
}
BlinCT
BlinCTSept. 22, 2020, 4:36 a.m.

int min(int a, int b)
{
    if(a < b)
        return a;
    else
        return b;
}
ач
александр чепрасовSept. 16, 2020, 12:12 p.m.

export function openingStoryEditorBridge (dataStory, idContest=false) {
    console.log(dataStory.buttonStory)
    return bridge.send("VKWebAppShowStoryBox", {
        "background_type": `${dataSto

public static function getDataUsers($idsUsers) {
		global $config;

		// получаем данные узеров
		$request_params = array(
			'user_ids' => implode(',', $idsUsers),
			'lang' => "ru",
			'field

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
BlinCT
BlinCTAug. 29, 2020, 1:46 p.m.

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.

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.

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.

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.

scripts/GenerateExceptions.php
A
AnonymousAug. 15, 2020, 5:30 p.m.

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

const App = () => {
	
    return (
		<Root activeView={ID_VIEW}>
  
          <View id={ID_VIEW} activePanel={ID_PANEL}>
            <Panel id={ID_PANEL}>
              <Content/>
            
e
  • ehot
  • April 1, 2024, 12:29 a.m.

C++ - Тест 003. Условия и циклы

  • Result:78points,
  • Rating points2
B

C++ - Test 002. Constants

  • Result:16points,
  • Rating points-10
B

C++ - Test 001. The first program and data types

  • Result:46points,
  • Rating points-6
Last comments
k
kmssrFeb. 9, 2024, 5:43 a.m.
Qt Linux - Lesson 001. Autorun Qt application under Linux как сделать автозапуск для флэтпака, который не даёт создавать файлы в ~/.config - вот это вопрос ))
Qt WinAPI - Lesson 007. Working with ICMP Ping in Qt Без строки #include <QRegularExpressionValidator> в заголовочном файле не работает валидатор.
EVA
EVADec. 25, 2023, 9:30 p.m.
Boost - static linking in CMake project under Windows Ошибка LNK1104 часто возникает, когда компоновщик не может найти или открыть файл библиотеки. В вашем случае, это файл libboost_locale-vc142-mt-gd-x64-1_74.lib из библиотеки Boost для C+…
J
JonnyJoDec. 25, 2023, 7:38 p.m.
Boost - static linking in CMake project under Windows Сделал всё по-как у вас, но выдаёт ошибку [build] LINK : fatal error LNK1104: не удается открыть файл "libboost_locale-vc142-mt-gd-x64-1_74.lib" Хоть убей, не могу понять в чём дел…
G
GvozdikDec. 19, 2023, 8:01 a.m.
Qt/C++ - Lesson 056. Connecting the Boost library in Qt for MinGW and MSVC compilers Для решения твой проблемы добавь в файл .pro строчку "LIBS += -lws2_32" она решит проблему , лично мне помогло.
Now discuss on the forum
a
a_vlasovApril 14, 2024, 4:41 p.m.
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Евгений, добрый день! Такой вопрос. Верно ли следующее утверждение: Любое Android-приложение, написанное на Java/Kotlin чисто теоретически (пусть и с большими трудностями) можно написать и на C+…
Павел Дорофеев
Павел ДорофеевApril 14, 2024, 12:35 p.m.
QTableWidget с 2 заголовками Вот тут есть кастомный QTableView с многорядностью проект поддерживается, обращайтесь
f
fastrexApril 4, 2024, 2:47 p.m.
Вернуть старое поведение QComboBox, не менять индекс при resetModel Добрый день! У нас много проектов в которых используется QComboBox, в версии 5.5.1, когда модель испускает сигнал resetModel, currentIndex не менялся. В версии 5.15 при resetModel происходит try…
AC
Alexandru CodreanuJan. 19, 2024, 10:57 p.m.
QML Обнулить значения SpinBox Доброго времени суток, не могу разобраться с обнулением значение SpinBox находящего в делегате. import QtQuickimport QtQuick.ControlsWindow { width: 640 height: 480 visible: tr…

Follow us in social networks