26

Re: What means virtual at function declaration in a class?

AleksandrN, thanks you for the information!

27

Re: What means virtual at function declaration in a class?

Hello, AlexGin, you wrote: AG> P.S. With such simple questions - would be more correct to begin, for example with.NET and C# - there all it is easier, rather than in MFC. It is my jamb. When I  to answer in WINAPI, advised the HARDWARE to take any  type MFC or WTL. In MFC to answer it became slightly easier, but it was necessary to advise Delphi, there almost all about what is asked - becomes in some  mice.

28

Re: What means virtual at function declaration in a class?

Hello, Evgeniy Skvortsov, you wrote: ES> It is my jamb. When I  to answer in WINAPI, advised the HARDWARE to take any  type MFC or WTL. ES> In MFC to answer it became slightly easier, but it was necessary to advise Delphi, there almost all about what is asked - becomes in some  mice. ES> yes, in MFC all is slightly easier, than in WINAPI, but nevertheless it is more difficult, than in the modern development environments. So if to adhere to C language ++ in the same modern Qt - all becomes more conveniently and easier, rather than in MFC.

29

Re: What means virtual at function declaration in a class?

Hello, Evgeniy Skvortsov, you wrote: ES> It is my jamb. When I  to answer in WINAPI, advised the HARDWARE to take any  type MFC or WTL. ES> In MFC to answer it became slightly easier, but it was necessary to advise Delphi, there almost all about what is asked - becomes in some  mice. ES> in MFC  it is more difficult, than in Delphi. As the person familiar with Delphi, JBuilder, a Borland C ++ Builder, Visual C# and now with MFC I tell.

30

Re: What means virtual at function declaration in a class?

Hello, RussianFellow, you wrote: RF> In MFC  it is more difficult, than in Delphi. A lie. Many questions in Delfi dare generally without a code line. A bold type , the changed type of window title, filling  etc. In  for this all it is necessary to write the code, and in Delfi - simply to change properties in the designer a mouse. RF> as the person familiar with Delphi, JBuilder, a Borland C ++ Builder, Visual C# and now with MFC I tell. A sign with ? Well well And thus to ask as to process . Thus that I already two times explained.

31

Re: What means virtual at function declaration in a class?

Hello, Carc, you wrote: PD>> Means necessity of learning of language before to start code writing. The C> the First did not withstand a C> Itself wanted similar to answer something ... but recalled itself in far 96-97 with Svanom in , and Svan, Thom Svan, our all became kinder. And still - "a C ++ for teapots"

32

Re: What means virtual at function declaration in a class?

Hello, AleksandrN, you wrote: AN> Houses of the technical book on Leninsk the prospectus, unfortunately, already are not present. How many memories are connected to it... And that bookshop, what near to it, a small building near to the Companion, appeared in 2000 - exists?

33

Re: What means virtual at function declaration in a class?

Hello, Kernan, you wrote: K> It NOT TRUTH! If you learn With ++ properly you will learn it. No if 10 years to learn you will not learn

34

Re: What means virtual at function declaration in a class?

Hello, RussianFellow, you wrote: RF> That means virtual at function declaration in a class? Come in 10 years, colleagues any more so will roughly react, the experience, all such - the fact, with such questions to aksakals precisely help the Author: LaptevVV Date: 08.12 20:58

35

Re: What means virtual at function declaration in a class?

Hello, pilgrim _, you wrote: RF>> That means virtual at function declaration in a class? _> come in 10 years, colleagues any more so will roughly react, the experience, all such - the fact, with such questions to aksakals precisely help the Author: LaptevVV Date: 08.12 20:58 Too surprised

36

Re: What means virtual at function declaration in a class?

Hello, pilgrim _, you wrote: _> to Begin it not about the HARDWARE, it already had 9 years ago 10 summer experience of development the Author: erslgoeirjh Date: 14.05.07, including on a C ++ and on MFC. _> ps: possibly too much forces leaves on search of enemies of the country of Thanks for the interesting link,  had by the way a look there a little in a neighborhood, found a little more the amusing: 2005 the Author: erslgoeirjh Date: 22.12.05 There is pointer CString* - one of function parameters in which string value is returned after its performance. It is necessary to transform this CString* to a line of type THCAR* (or char *). How it correctly to make? 2016 the Author: RussianFellow Date: 28.06 11:55 How to transform CString in char* or in char []? I have such code: CString myString; char s [30]; int i, n;//... n = myString. GetLength (); LPTSTR pzsText = (LPTSTR) (myString. GetBuffer (n)); for (i=0; i <n; i ++) s [i] = pszText [i]; s [n] = '\0 '; I have support of Junikod, therefore this code correctly works. But whether it is impossible to write easier? And that worked for all cases, and not just for support of Junikoda?

37

Re: What means virtual at function declaration in a class?

Hello, RussianFellow, you wrote: RF> That means virtual at function declaration in a class? Simply interesting, you in the abstract specify language With ++?

38

Re: What means virtual at function declaration in a class?

Hello, Marty, you wrote: PD>> Means necessity of learning of language before to start code writing. M> I so understand, a companion, after long years in the politician and other similar forums, solved on a C ++ the list to tear In the politician it is noted. Similar simply operation changes, and there questions set strange.

39

Re: What means virtual at function declaration in a class?

Hello, RussianFellow, you wrote: _>> to Begin it not about the HARDWARE, it already had 9 years ago 10 summer experience of development the Author: erslgoeirjh Date: 14.05.07, including on a C ++ and on MFC. RF> Generally a C ++ - such programming language which learn all life. Yes, there still templates are. And lately the committee quickened, and made so that is not dull even that who knows that such templates.

40

Re: What means virtual at function declaration in a class?

Hello, alzt, you wrote: M>> I so understand, a companion, after long years in the politician and other similar forums, solved on a C ++ the list to tear A> In the politician it is noted. There made type threshold> = 2 on a rating, therefore and it is noted. And by the way - correctly made!

41

Re: What means virtual at function declaration in a class?

Hello, RussianFellow, you wrote: RF> Hello, pilgrim _, you wrote: _>> to Begin it not about the HARDWARE, it already had 9 years ago 10 summer experience of development the Author: erslgoeirjh Date: 14.05.07, including on a C ++ and on MFC. RF> Generally a C ++ - such programming language which learn all life. If later 20 years of learning to ask about the virtual functions and several lives does not suffice.

42

Re: What means virtual at function declaration in a class?

Hello, alzt, you wrote: RF>> That means virtual at function declaration in a class? A> it is simply interesting, you in the abstract specify language With ++? Here the Author: RussianFellow Date: 09.12 15:23

43

Re: What means virtual at function declaration in a class?

Hello, RussianFellow, you wrote: RF> In MFC  it is more difficult, than in Delphi. As the person familiar with Delphi, JBuilder, a Borland C ++ Builder, Visual C# and now with MFC I tell. Creeping line that made? By the way for those tasks which to you should be solved on MFC, is more suitable, very powerful and simple  - WPF. Very much I advise, as C# you already know

44

Re: What means virtual at function declaration in a class?

Hello, Pavel Dvorkin, you wrote: PD> Hello, AleksandrN, you wrote: AN>> Houses of the technical book on Leninsk the prospectus, unfortunately, already are not present. PD>. PD> How many memories are connected to it... PD> And that bookshop, what near to it, a small building near to the Companion, appeared in 2000 - exists? Yes I remember what  there was a Programming on personal computers in the environment of the Turbo-paskal Then appeared XT and AT and what pleasure was to program after -2. The main thing  compilations. On -2 reached on half an hour  5 inches.  life was!

45

Re: What means virtual at function declaration in a class?

Hello, night beast, you wrote: RF>>> That means virtual at function declaration in a class? A>> it is simply interesting, you in the abstract specify language With ++? NB> here the Author: RussianFellow Date: 09.12 15:23 There as such With ++ is not present.

46

Re: What means virtual at function declaration in a class?

RussianFellow: RF> That means virtual at function declaration in a class? I thought earlier that RussianFellow it is same Koljuka, the orthodox active worker known under anybody erslgoeirjh. Now something began to doubt. Very much  questions.

47

Re: What means virtual at function declaration in a class?

48

Re: What means virtual at function declaration in a class?

Hello, alzt, you wrote: A>>> it is simply interesting, you in the abstract specify language With ++? NB>> here the Author: RussianFellow Date: 09.12 15:23 A> There as such With ++ is not present. You think that after high-speed mastering  is ashamed of a C ++ to mention?

49

Re: What means virtual at function declaration in a class?

Hello, RussianFellow, you wrote: RF> That means virtual at function declaration in a class? RF> as I understand, by means of a word virtual polymorphism is provided - ability of the program during the execution to define, how to what class function with a certain name concerns. RF> but it would be desirable to learn more in detail about this keyword. The virtual is the essence which is inherently ideal, but it nobody sees. Why a reality virtual? Why there are virtual machines? Unfortunately Russian  does not contain article about virtuality, but this philosophical concept is perfectly described in the English. Also there are synonyms, such as conditional, imagined, nonexistent, possible, apparent.

50

Re: What means virtual at function declaration in a class?

Hello, anatolym, you wrote: A> If later 20 years of learning to ask about the virtual functions and several lives does not suffice. So it is necessary  to be engaged closely immortality, the classic.