• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu

Обсуждения

#include <iostream> using namespace std; class A{ public: void f1(); }; class B : public A{ public: virtual void f1(); } int main() { A * obj = new B; obj.f1(); } Ques: can we write virtual before an overridden function from the base class?? if yes which f1() should it call base class f1() or derived class f1()???
c++
0 голосов
1 ответ
24th Sep 2016, 10:52 AM
Amit
Amit - avatar
Hey there, I don't know why, but when I import tkinter on IDLE like this: from tkinter import * And I say: window = Tk() Even known I use python 3.2.5, which should be able to use Tkinter, the python shell raises a ValueError that says that Tk() is not defined. I am very sure I use python 3.2.5 and tutorials from the Python Foundation say that is what I have to do. But it still doesn't work. Does anyone have an idea of how to solve this problem? Thank you!
pythontkinter
0 голосов
3 ответов
1st Apr 2017, 10:52 AM
MisterMM23
< Предыдущий1...89Следующий >
Актуальное сегодня
I need help
1 Votes
a phone or a laptop
0 Votes
Java IDE for building a game.
0 Votes
Best programming languages to get a job fast ?
0 Votes
Where is code bit
0 Votes
How to make a selection on a calculator in Python
0 Votes
Conducción de calor o Q=−kAdTdxQ = -k A \frac{dT}{dx}Q=−kAdxdT o Pared 2 m², espesor 0.1 m, k = 50 W/m°C, ΔT = 30°C → Q ≈ 30,0
0 Votes
Certificates
0 Votes
Regarding platform
1 Votes
Inquiry for img code
0 Votes