- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 6
- Posts with Downvotes
- 4
- Downvoting Members
- 3
6 Posted Topics
[CODE]#include <iostream> #include <fstream> using namespace std; char a[11][11]; bool free(int x, int y) { if (x < 1 && x > 10) { return false; } if (y < 1 && y > 10) { return false; } for (int i = -1; i < 1; i++) { for … | |
[CODE]a.cpp: In function ‘int main()’: a.cpp:39: error: no matching function for call to ‘find(int&, int)’ [/CODE] [CODE]#include <iostream> #include <fstream> using namespace std; int minutes, seconds; char temp; int array_l; bool* sees; int* a; int saade; int main() { ifstream sisf("raadio.sis"); ofstream valf("raadio.val"); /* * How many songs? */ sisf … | |
[CODE]import time import subprocess from PyQt4 import QtGui, QtCore[/CODE] ............. This function is not working! [CODE]@button.clicked.connect def connectClicked(): button.setEnabled(False) process = subprocess.Popen("command", shell=True, stderr=subprocess.PIPE, stdout=subprocess.PIPE) time.sleep(5) # 5 sek (?) button.setEnabled(True) [/CODE] ................ | |
Re: [CODE]line_edit = QtGui.QLineEdit()[/CODE] [CODE]str(label_edit.displayText())[/CODE] | |
Input 2x+x Return: 3x Input: +2x-1y+3x+2 Return: 5x-y+2 | |
[CODE]# -*- coding: utf-8 -*- p = [1, 2, 0, -1, 3, 4, 5] smaller = 0 bigger = 0 i = 0 while i < len(p): if p[i] >= p: bigger += 1 print bigger i += 1[/CODE] #bigger than -1 is (1, 2, 0, 3, 4, 5) #bigger … |
The End.