5,436 Posted Topics
Re: I learned long ago to be adept at computer languages. Don't get stuck with just one as the next day you'll have a task or job with another language. The first formal computer language I learned was Fortran which gave me the basics about data types, logic and more. You … | |
Re: Any professor or teacher that thinks this is OK needs to move forward many decades. # Never store clear text passwords in a database # So many articles out there on this such as https://medium.com/maclaurin-group/what-is-clear-text-passwords-and-why-you-shouldnt-store-them-e61c604b1fb7 If I were grading this, it would get an instant fail. | |
Re: As I follow the code, at line 35 both x and answer are undefined so this comparison would be true and why the comparison is true. | |
Re: I can't find your question! | |
Re: I don't see any questions or where you are stuck. What this looks like is homework or an assignment. Please check the following: > Do provide evidence of having done some work yourself if posting questions from school or work assignments - https://www.daniweb.com/welcome/rules | |
Re: You can use either in Python but I'd start with Python standards like https://docs.ckan.org/en/ckan-2.7.3/contributing/python.html OR use what your company or school's standard is. No reason to lose a grade point over this. Finally, triple single quotes anyone? | |
Re: 2 issues. 1. The function to_dhms is typed as void yet you try something in line 44. 2. The value result in line 44 appears to be undeclared. Where is this declared? Remember that the assignment is as follows so no one can fix this for you without doing your … | |
Re: Wouldn't this vary depending on your market? Tell more. Also, what are you doing now? | |
Re: I read your post and think it's time to go back to what worked. REMOVE THAT DRIVE and hope W10 boots and fixes itself. Now what to do with that other drive? Put it into some USB case so you can drag out the files you want from it. Now … | |
Re: That is the entire exercise that I see at https://www.chegg.com/homework-help/questions-and-answers/practice-problem-c-programming-answer-better-explanations-thanks-file-lab2excc-include-inc-q31245952 If I answer your question, I've done your homework. So let's find a tutorial about how to call functions. https://www.tutorialspoint.com/cprogramming/c_functions.htm looks good. | |
Re: Question: What do you mean by "closed"? There are so many vb.net "read an excel file" examples on the web now that I have to guess why you added this word. | |
Re: Today I would not write this but use OpenCV or other libraries. Example at https://cppsecrets.com/users/204211510411798104971091085153504964103109971051084699111109/C00-OpenCV-to-rotate-an-image.php Remember you didn't reveal enough to propose a solution. Also, we never used float to locate the image center. | |
Re: Let's see where you are stuck. https://www.daniweb.com/welcome/rules does note that for homework and more you show your work. | |
Re: Today I would not write this but use OpenCV or other libraries. Example at https://cppsecrets.com/users/204211510411798104971091085153504964103109971051084699111109/C00-OpenCV-to-rotate-an-image.php Remember you didn't reveal enough to propose a solution. Also, we never used float to locate the image center. | |
Re: Now I see it. Why are there TWO main()? See lines 7 and 26. | |
Re: That's a real issue. Most folk only have to deal with their own machines. Are you trying to start a repair shop? | |
Re: Here's the one detail that matters: Which system can you make and maintain your site in? | |
Re: Is this an Apple laptop? I have declined to discuss what can happen if it is stolen, your liability, etc. what happens if you take it to an Apple repair shop. | |
Re: Please use Daniweb's text for this. I usually copy and paste the code into a compiler to see what's going on but here you want me to type that in. Also, you didn't tell what was wrong so again I have to work harder. Do this post again but with … | |
Re: I see line 1 should be easy enough. Are you stopped there or somewhere else? In other words, convert it line by line. Or understand what the program does and create it anew. Lastly, did you research this to see if online conversion works for you? -> RESEARCH? See https://www.google.com/search?&q=online+python+to+c+code+converter | |
Re: What is the question here? | |
Re: Seems it's been kicked around with methods such as buying likes and followers to working to become "internet famous." I won't do either as it's not something I need to do. Can you share why you need this? | |
Re: 1. Which standard? The one in the product documentation. Don't guess. 2. Auto MDX? My choice would be mass produced cables, the straight ones. 3. "Cat6 are cables." Odd statement but I'll take it you were in a hurry and meant to write "The cables I have are CAT6." | |
| |
Re: I like what I'm reading at https://outfunnel.com/chief-revenue-officer/ As to two-weeks, that can be an eternity (too long) for some and too short for others. You'll have to read your company for signs how fast they need answers. My bet is they want it today. I'm not laughing. | |
Re: Given your discussion tags, please read https://docwiki.embarcadero.com/RapidSQL/171/en/Database_Triggers_Wizard_(SQL_Server) | |
Re: Just so you know, this has both ENCODE and DECODE at one of my favorite sites: 1. Encode in over 150 languages -> https://www.rosettacode.org/wiki/Roman_numerals/Encode 2. Decode in over 123 languages -> https://www.rosettacode.org/wiki/Roman_numerals/Decode In your case, the correct way is what you decide as long as it works. What else could … | |
Re: Per https://www.php.net/manual/en/migration71.other-changes.php I'd want to know what the strings hold so I can diagnose. | |
Re: According to https://www.geeksforgeeks.org/stack-data-structure-introduction-program/ there are two ways. I tend to not overthink this sort of work so "best" would be what method works and I can maintain for years to come. | |
Re: Frankly and I might upset some here, the days of MP3 sites looks to have passed. Fewer and fewer I know collect MP3s, organize them and load them into their players. What I see is a lot of Spotify and similar app users. And thus my suggestion. **-> Consider apps … | |
Re: It looks to be a logic error. Try this and compare to your code: #include <iostream> #include <cstdlib> #include <time.h> using namespace std; int main() { srand(static_cast<int>(time(0))); int secret = rand() % 10 + 1; int guess; cout << "Guess a number between 1 and 10." << endl; guess = … | |
Re: https://www.tutorialspoint.com/cplusplus/cpp_passing_arrays_to_functions.htm seems to talk about this. | |
Re: I doubt that it's connected but I still see that bug with the spinning circle. 1. Go to https://www.daniweb.com/articles/latest/articles 2. Press the End keyboard button.  | |
Re: It appears line 18 returned null which is a correct response according to https://docs.microsoft.com/en-us/dotnet/api/microsoft.win32.registrykey.opensubkey?view=net-5.0 You'll have to test for that condition. | |
Re: What does this C# plug into? That's unclear. Sometimes I find a person call a method or function a "plugin" so let's clear that up now. That asked, I see some nice examples that could lead to your solution but can't tell what you want as to the plugin at: … | |
Re: Frankly this example code is a fine example of poor coding practices. The variables declared in lines 5 and 6 don't convey what they are going to be used for or what they mean. This is unmaintable code and should be marked down at least a full grade for this … | |
Re: One suggestion. Just like we do with dollars and cents, you should change your time to just full minutes to save constantly juggling hours and minutes. | |
Re: I'll guess you really meant the following as you didn't indicate where to store in the arrays phy, math and chem. Try this: #include<iostream> #include<conio.h> using namespace std; struct marks{ int phy[10]; int math[10]; int chem[10]; }; int main(){ struct marks m; int i,n; cout<<"Enter the number of students : … | |
Re: In your case I'd follow tutorials about this. Here's a really nice one as it's about 10 minutes of your time. **http://thepythoncorner.com/dev/how-to-create-a-windows-service-in-python/** | |
Re: Small world. I had such a discussion with a person new to port scanning and they had run this scan on their PC, scanning their own PC. The result was all ports were not blocked. Also a nod to https://serverfault.com/questions/672938/is-there-a-way-to-see-what-is-actually-filtering-tcp-port-communication I don't see why I need to point out the … | |
Re: The problem is not one the seller worries about in the USA due to laws here. Since there are about 195 countries in the world I'll stick to the USA for the moment and copy from the web about merchant liability here. > Generally, the bank is more likely to … | |
Re: First, what you have above is incomplete yet it is, at the assembly level an if else construct. Now if you wanted to you could add another jump after line 4 to mimic an if statement in another way. Only one of the two jumps would execute but this is … | |
Re: Tried it, no video ad shows for me. I'm using Opera with the usual defaults. | |
Re: It's been a while since I looked for yet another calculator as what came on my phone is fine. https://github.com/xxczaki/awesome-calculators is an example where you see a curated list of such things. https://search.muz.li/inspiration/calculator-design/ really blows the mind as you see OTHER calculators for such things as Love, area and more. | |
Re: This could be a very long discussion but it's your EULA so write it as best you can, have it reviewed by other team members and see what they think. Let me share a story about work I did for a company. They wanted to own my code but they … | |
Re: From our Community Rules: > Do provide evidence of having done some work yourself if posting questions from school or work assignments That out of the way, what is stopping you from completing this work? | |
Re: It appears you have to work hard to install VS2005. There are many other pages about this you can find with a search but try: https://stackoverflow.com/questions/45361556/installing-visual-studio-2005-on-windows-10 As to debug, it looks deeper than I'll write here but do read https://weblogs.asp.net/dixin/debugging-classic-asp-with-visual-studio |
The End.