rproffitt 2,701 https://5calls.org Moderator

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.

rproffitt 2,701 https://5calls.org Moderator

Let's see where you are stuck. https://www.daniweb.com/welcome/rules does note that for homework and more you show your work.

Lee_761 commented: can you help me? I don't know where to start =( +0
rproffitt 2,701 https://5calls.org Moderator

My advice is to correct your code and post it again.

PS. Your last comment is a bit mangled but about line 26, I can't guess why you wrote that there. You should tell me and then we can discuss.

rproffitt 2,701 https://5calls.org Moderator

PS. Per https://www.daniweb.com/welcome/rules your posts could be taken as illegal activity. Let's avoid that. Also, answer that question about the make of the laptop as it matters.

rproffitt 2,701 https://5calls.org Moderator

Here's the one detail that matters:

Which system can you make and maintain your site in?

rproffitt 2,701 https://5calls.org Moderator

Gazza,

No one can help if you leave out details. I only have what your top post says and as such the only possible answer is to start your journey of learning PC and more repair.

Now if you had a problem with your PC you could tell enough so everyone has a good view of the problem. But if you had a stolen car, why would anyone help? Same with stolen computers and phones.

Your other post at https://www.daniweb.com/community-center/geeks-lounge/threads/536393/bought-a-laptop-after-2-weeks-later-its-locked has me ask one question. You have not answered.

rproffitt 2,701 https://5calls.org Moderator

That's a real issue. Most folk only have to deal with their own machines. Are you trying to start a repair shop?

Gazza2021 commented: I spent everything I had on it and it is clear it was stolen from a company so I know its morally wrong but want to unblock it +0
rproffitt 2,701 https://5calls.org Moderator

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.

rproffitt 2,701 https://5calls.org Moderator

Now I see it. Why are there TWO main()?
See lines 7 and 26.

sasha12 commented: what am I meant to put online 26 +0
rproffitt 2,701 https://5calls.org Moderator

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 workable text.

rproffitt 2,701 https://5calls.org Moderator

Thanks for this.

rproffitt 2,701 https://5calls.org Moderator

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

rproffitt 2,701 https://5calls.org Moderator

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?

rproffitt 2,701 https://5calls.org Moderator

In your profile is this:

One Bpo Shop is a trusted name as a Digital Marketing Agency

Shouldn't you be answering this question rather than asking? Of is this agency new and to be avoided?

rproffitt 2,701 https://5calls.org Moderator

Since no one answered I wonder if you meant you wanted to change to some cloud based system.

rproffitt 2,701 https://5calls.org Moderator
  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."
rproffitt 2,701 https://5calls.org Moderator

OK, what's next?
What did you need help with?

rproffitt 2,701 https://5calls.org Moderator

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.

rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

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 the answer be?

Quest123 commented: Thank you very much. This if of great help. +0
rproffitt 2,701 https://5calls.org Moderator

I see your comment but there is no question yet. Maybe you are asking others to write what looks like homework or an assignment but didn't state that. That's OK, here's the part from the Community Rules about homework:

Do provide evidence of having done some work yourself if posting questions from school or work assignments

Show your work, state where you got stuck and keep what your example small so others can see what the issues are.

Official_2 commented: Noted. Thank you +0
rproffitt 2,701 https://5calls.org Moderator

What is the question here?

Official_2 commented: We should write a java program calculating the monthly combine sales, annual sales and the grand annual sales of the information given +0
rproffitt 2,701 https://5calls.org Moderator

I can't find your question!

rproffitt 2,701 https://5calls.org Moderator

Per https://www.php.net/manual/en/migration71.other-changes.php I'd want to know what the strings hold so I can diagnose.

rproffitt 2,701 https://5calls.org Moderator

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.

rproffitt 2,701 https://5calls.org Moderator

Welcome Krit.

What query?

rproffitt 2,701 https://5calls.org Moderator

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 = 0;

    while (guess != secret) {
        cin >> guess;
        if (guess < secret) {
            cout << "Too low, try again." << endl;
        } else {
            cout << "Too high, try again." << endl;
        }

    }
    cout << "Correct!" << endl;

    return 0;
}
rproffitt 2,701 https://5calls.org Moderator

Again I can't guess your end goals but yes, MySQL does allow such a query.
Example: https://www.quora.com/Can-I-join-tables-from-different-databases

You may want to restate your topic question. I don't mind that your topic question wasn't spot on.

rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

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.

rproffitt 2,701 https://5calls.org Moderator

For Fr@nkyfrank,

The most likely cause is what you did last. Put the old battery back, do the usual CMOS/RTC reset and consider that posting under a 15 year discussion is not a good idea as the discussion is quite old and members may not check it out.

rproffitt 2,701 https://5calls.org Moderator

Thanks RJ.

There are examples of that out there. Here's just one of many:
https://www.autohotkey.com/boards/viewtopic.php?t=32532

rproffitt 2,701 https://5calls.org Moderator

Looks like I'll have to bow out here as I don't know this setup. Maybe it's Visual Studio, C# and such but there's not enough here for me to follow what you are doing.

Sadly I see Microsoft's own Dynamics 365 have been in maintenance since you posted this question.

rproffitt 2,701 https://5calls.org Moderator

When I read this, I think "this looks like a job for AutoHotkey (AHK.)" Such as https://autohotkey.com/board/topic/37947-turn-keyboard-into-mouse/

You can assign these moves as you see fit and I recall AHK allows you to move the mouse pointer to absolute coordinates.

If you ask me which keyboard key to use, I can't answer since it's not me that will be using this.

rproffitt 2,701 https://5calls.org Moderator

My question is still: What does this C# code plug into? Again, some call a method or function a plugin so let's clear this up.

Adm666 commented: im using plugin registration tool and going to set the Step On CREATE. registering it to my Dynamics 365 App; hopefully i made it clear with this +0
rproffitt 2,701 https://5calls.org Moderator

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:
https://www.google.com/search?&q=get+all+lookups+from+a+lookup+field+in+Dynamics+365+CRM+in+C%23

Adm666 commented: i mean i've reached to the point of creating a new contact and filling some fields in it; just i dont know how to fill in lookup fields +2
rproffitt 2,701 https://5calls.org Moderator

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 alone.

As to adding another variable, that would start with an addition to the declaration in line 5. Why isn't this done now?

As to the example output, one would rewrite the internal code around lines 9 to 15. I would be guessing if you were looking for someone to write this for you but here, you write your code for homework and assignments. If you get stuck on some specific point then you ask about that.

rproffitt 2,701 https://5calls.org Moderator

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.

rproffitt 2,701 https://5calls.org Moderator

Small issue here. You didn't ask a question or tell us what the error was on what line.

rproffitt 2,701 https://5calls.org Moderator

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/

rproffitt 2,701 https://5calls.org Moderator

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 futility of the scan they did.

rproffitt 2,701 https://5calls.org Moderator

Hey vesto, your comment was cut off there. As I wrote above the fraud protection is rarely a concern of the retailers due to laws and agreements here (USA). Maybe you need to add what country you are talking about to show why you would need this.

rproffitt 2,701 https://5calls.org Moderator

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 : " << endl;
        cin >>n;
        for(i=0;i<n;i++){
            cout<<"\nEnter Physics marks: " << endl;
            cin >> m.phy[i]; 

            cout<<"\nEnter Maths marks : "<< endl;
            cin >> m.math[i];

            cout<<"\nEnter Chemistry marks : "<< endl;
            cin >> m.chem[i];
        }

        cout<<"\nStudents mark details : \n"<< endl;

        for(i=0;i<n;i++){

            cout<<"\nMarks of Student"<< i+1 <<" : "<< endl;
            cout<<"\nPhysics marks: "<< m.phy[i]<< endl;
            cout<<"\nMaths marks: "<< m.math[i]<< endl;
            cout<<"\nChemistry marks: "<< m.chem[i]<< endl;
            cout<<"\n"<< endl;

        }
        return 0;
    }
rproffitt 2,701 https://5calls.org Moderator

I looked at your profile to see if the bespoke web site was given but your profile didn't mention it.

My advice is to add your website and such into your profile. I see you tagged this with php and sql so that's a start.

rproffitt 2,701 https://5calls.org Moderator

Sorry if this belongs in that other thread:

  1. I click on https://www.daniweb.com/articles/latest/recommended
  2. The Oops screen comes up.
  3. The Continue button link is https://www.daniweb.com/articles/latest/articles

Remember the spinning The End. will not occur in this sequence. Look up to see the sequence to get the spinning The End.

rproffitt 2,701 https://5calls.org Moderator

Ahh, now I see it. Your post title asked about the connection result which as an old MySQL person I took as exactly that.
Nod to https://www.connectionstrings.com/mysql/

If I swap your use of connection for "query" then that changes the question to something else.

While I can't guess your end goal of the query I would change the query to a single query since both appear to be from the same table.

NALB commented: assume that the two queries are from different tables what should i do now? +0
rproffitt 2,701 https://5calls.org Moderator

I don't think that's it either. But it's all of the 2 steps I wrote above. The old(?) thread is at https://www.daniweb.com/community-center/meta-daniweb/threads/535848/the-end-shows-when-reading-latest-daniweb-articles-on-chrome-and-opera

rproffitt 2,701 https://5calls.org Moderator

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 be liable for the fraud for card-present transactions, while the merchant might get stuck with the cost for transactions without a physical card. (Merchants using the older swipe payment terminals and not the newer chip readers also incur more liability.)

This is why merchants don't fret about this much as they only lose the transaction costs rather than the full amount of the sale.

vesto commented: A smart fraud detection technology should be an intelligent solution that automatically identifies vulnerabilities and evaluates the risks while makin +0
rproffitt 2,701 https://5calls.org Moderator

Given the questions, what makes you think you need any of this?

Also, given your profile, I worry that you know all this and well, what is your real question:

Baabroz (The House of Design and IT Education) is a creative and professional training center, where we teach all professional skills for career growth and business development. We are offering some advanced short courses.

  • From your profile.

My advice is to get this question removed as it's not a good look on the Baabroz House of Design and IT Education.

rproffitt 2,701 https://5calls.org Moderator

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.

image_2021-09-18_090120.png