Click here to Skip to main content
14,924,426 members

Comments by TX6430 (Top 15 by date)

TX6430 11-Apr-21 6:30am View
   
Please check the link as this page contains exactly what you were looking for

// Declaring friend function using friend keyword
friend Distance operator+(Distance&, Distance&);

Keep learning,
Cheers
TX6430 23-Feb-21 18:49pm View
   
Another possibility is that your program "maynotrun.exe" will have some user permission set to "deny execute" and this user will not be able to start this program by double click. However, using "run as" on the same "maynotrun.exe" will execute it, if another user will have an "execute" permission... Perhaps this is useful in this case, Cheers,
TX6430 15-Nov-20 8:04am View
   
Thanks for your feedback
Glad I could help ...
TX6430 14-Nov-20 15:40pm View
   
Hi,
Using Python 3 in a Jupyter Notebook I modified your code as follows

x = 7
a = 12
sestdiena = x//a
sestdienaa = x%a
print(sestdiena, str(sestdienaa) + "/" + str(a))
print("Sestdien piepildīja" + str(sestdiena) + "kastītes, nepilnajā kastītē bija" + str(sestdienaa) + " olas .")

and in this case the result is:

0 7/12
Sestdien piepildīja0kastītes, nepilnajā kastītē bija7 olas .

There is no error ...

To practice Python, I suggest that you install Anaconda and use Jupyter Notebooks as it is an interactive environment, or use an online Python snippet tool such as this one

https://paiza.io/projects/l6x0MkNrSGtCjY46G_QZnA?language=python3

Both environments are really helpful when learning Python
Hope that this helps ...
Cheers
TX6430 14-Nov-20 4:33am View
   
Hi, Concatenating refers to using + operator to "attach" string variables such as s = s1 + s2. Another hint is that Python has implicit typing of variables. When creating a variable, Python compiler understands its type automatically and remembers that. We humans cannot see this immediately in the code and have to remember this. Variables such as
a = 2
b = "xyz"
have different types, in this case integer and string ...
Does this help to see the problem ?
TX6430 1-Jun-20 6:43am View
   
This is a bit off-topic, but I "still" use a Fujitsu Siemens offline laptop with Windows 2000 to collect/play music tracks :-), this rather by coincidence, or a habit ... BR
TX6430 15-May-18 11:53am View
   
Ooops ... sorry. I will keep it in mind ... In the meantime I found a reference to ADMS specification (http://www.w3.org/TR/vocab-adms/) , as I was curious about ADMS part, but I have no further insights ...
BR
TX6430 18-Oct-17 7:27am View
   
Indeed, the complexity metrics of this code reaches 360, while a "usable" complexity level should be lower than 50 I think ...
TX6430 14-Jun-17 10:04am View
   
Use case question: may the text before * also be red ?
TX6430 6-Jan-17 6:26am View
   
Ha ha ... this is a virtual solution thus using delegation,
valid approach, clear and simple ...
TX6430 22-Mar-16 6:07am View
   
Deleted
perhaps an #include is missing for getpid() and getppid() such as #include <unistd.h> ??
TX6430 2-Mar-16 7:49am View
   
and also, logon on the local machine with impersonation credentials and try browsing to the target folder on the remote machine. If this is not successful, than permissions needs to be added to the folder on the remote machine ...
TX6430 2-Mar-16 7:44am View
   
Please logon on the remote machine and check if the folder there has a RW permissions for the domain user used in impersonation
TX6430 30-Jul-15 11:41am View
   
This question has several parts which you can try to solve separately for example
- install SQL server latest Express Edition and use a Winform to send / extract data froù SQL server
- next try to do something similar but through IIS 7 asp.net
- etc
Going in steps through your scenario will help to understand how to do all parts ...
TX6430 14-Apr-15 2:38am View
   
Sounds good, thank you for providig feedback ...