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

I can't guess exactly what you want to do so look at tutorials about C# and placing a bitmap on the form with a search like this:
https://www.google.com/search?&q=c%23+bitmap+place+on+form+tutorial

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

I see you're back with similar/same attempts to make the camera do more than what's in the API.

Again, you are using the stock camera web features and want more. To do that it looks like (again) you have to go get a third party addon.

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

Ignoring the poor formatting, can you share what isn't c++ in this 100+ lines of code. Asking for help with a few lines is fine but you went over 100 and didn't reveal where the problem(s) is/are.

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

https://asmtutor.com/#lesson9 looks to be exactly what you are looking for. NASM is used there.

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

There are some suppositions we need here. Are you assuming this is on some PC with a classic BIOS? If so there are prior examples we can use.

But if this is some custom SBC (single board computer) it may not have such a BIOS. Fill in the blanks so we can begin.

ama_ni commented: yeah, classic bios +0
rproffitt 2,701 https://5calls.org Moderator

PS. Your other comment was:

i understand , im new at programming and it's a project for an exam so the problem is idon't have enough time to learn python and recreate the program

Everyone starts somewhere but I'm going to try to help you past the hurdles if you can point them out.

When converting like this you can try line by line or understand what the old app did and write it from the beginning. Either method would be acceptable on small programs like this. Since this is for an exam, it must be your work and not ours.

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

As you commented, you wish to do this yourself. To that end, did you write something small that would ask the user for the number of days?

Or where are you stuck?

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

It appears a lot of new members are not trying at all. Your code is badly formatted with extra blank lines and more bad formatting.

If I ignore this it looks like basic ask some questions, get input and so on. Why not start with a tutorial or two about these areas?

https://www.w3schools.com/python/ref_func_input.asp to start!

yahon23837 commented: but thank you for the link tho. and im trying to do it myself :D +0
rproffitt 2,701 https://5calls.org Moderator

Where are you stuck?
Where's your attempt?

Also, it appears to a well done sub-function (the palindrome check) such as https://www.javatpoint.com/palindrome-program-in-java

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

Where's your attempt to solve this word and coding assignment?
Where are you stuck?

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

That's an odd question there with "how can the code" as title.

Your title didn't ask a question and the post's body just seems to copy out what methods and functions may do.

What's the question here as well as your attempt at code and what issues are you trying to solve?

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

Reusable Code Snippet means ready for others to use. Even your title calls that out.

Change your post type and elaborate what your question is.

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

There are more than one lock here. This looks like homework to me so I won't solve it for you but give you a hint. Rearrange the items you listed by grouping what goes together. Example, the first link of T1, T4 belongs with T4, T1. Remember I take it this is homework.

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

This code would be marked down many grades for:

  1. Poor formatting. It's neither the One True Brace or the K&R style.
  2. Misspelling. For homework, you lose points. In real life your app is rejected entirely with one exception which I'll link to.

Read https://www.reddit.com/r/fo76/comments/k30yuw/your_the_dumbass_note/

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

Can you be more specific? That's a topic I find priors on so can you write what more you need?

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

Why? I see zero reasons for an app beyond what comes with every smart phone today, (a web browser.)

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

I haven't seen any Microsoft Access use in over a decade. Python is hot but back to nearly your question.

  1. Practice, practice, practice. (Same answer to "How to I get to Carnigie Hall?")
  2. Consider new systems like Tabnine.
  3. And of course research. Sometimes I find folk won't Google it.
rproffitt 2,701 https://5calls.org Moderator

It just dawned on me that you might be the professor of this class. Is there a link to this assignment for me to look at?

PS. Let's hope OP or an assignment detail shows up.

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

What? Is this what management and teachers hand out now? Incredible!

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

Have to write you didn't put any effort into your question. So little effort I can't tell what your question is!

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

Explain the "End" as when we end in most programs, the stack is no longer relevant.

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

The Reusable Code Snippet is for when you want to share your "Reusable Code Snippet." I look forward to your code in a future posting.

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

If you did have issues you need to expand and take time to write about them. As it stands your code looked like a good start to getting receipts.

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

See GOOGLER.

https://ostechnix.com/how-to-google-search-from-commandline-using-googler/

Display results starting from nth result
The following example will fetch the results starting from the 5th result for the keyword ostechnix:

  • $ googler -s 5 ostechnix
rproffitt 2,701 https://5calls.org Moderator

I wish I could help here as I did use VB6 and MySQL for over a decade but as the OS moved on I found it harder and harder to setup VB6 to work on Windows 10 and now, we have ended that app and the last users are told, we no longer support this platform.

Time to move off VB6 is the message.

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

Because this is an assignment, you should try ANY encryption. Unless there was specification such as SHA-256 or better.

For now, use the standard library. Tutorial at http://www.cplusplus.com/forum/windows/128374/
Or make something up. Be quick about it because you don't have to be that well encrypted because, deadlines and homework.

Mark_118 commented: Okay thank you for the help, I appreciate it +0
rproffitt 2,701 https://5calls.org Moderator

So you want some value to be system wide? That sounds like the old setter and getter concept. Remember this app is your design but hey, here's a nice tutorial.

https://www.w3schools.com/cpp/cpp_encapsulation.asp

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

That seems like a lot to design and implement in 12 hours. You may want to ask for an extension on this project.

Maybe you are stuck at something specific. Tell what that is so we can discuss that issue.

Mark_118 commented: Hi, the deadline was extended to 24 hours from now. Its not that I'm stuck, I just have no sufficient knowledge in coding +0
rproffitt 2,701 https://5calls.org Moderator

I'm left to guess you need to find tutorials about this. Here's a very nice one:
https://www.geeksforgeeks.org/order-constructor-destructor-call-c/

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

Given the lack of details why not?

#include <stdio.h>

int main()
{
    int loops;
    loops = 1 + 2;
    printf("loops is now = %i !", loops);
    return 0;
}
Reverend Jim commented: Hah! +15
rproffitt 2,701 https://5calls.org Moderator

Can you tell us more? What help do you need?

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

Which OPM? "OpenShift Container Platform"?

For now the thought is that you limit what they can do with permissions. That is they are more than able to delete their own files so no problem there. But today's Linux won't kill the OS if they do some command line to delete everything from the command line.

Please tell what OPM is and what scope of control you are seeking.

https://forums.linuxmint.com/viewtopic.php?t=291532 kicks around permissions as well.

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

Neat example. Thanks for sharing. Just a tip. You may want to make this a Code Snippet and write a little paragraph about its use.

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

Something like this?

function sleep(ms) {
  return new Promise(resolve => setTimeout(resolve, ms));
}

async function demo() {
  console.log('Sometimes Science Is More Art Than Science, Morty.');
  console.log('And away we go.');

  // Sleep in loop
  for (let i = 3; i < 666; i+=i) {
    await sleep(i*1000);
    console.log('Are we there yet? ',i);
    }
}

demo();
rproffitt 2,701 https://5calls.org Moderator

I think you need to expand your question. Here's a tutorial about truncate and drop table:
https://www.w3schools.com/sql/sql_ref_drop_table.asp

But then your tag includes phpMyAdmin so I would be guessing if this is about phpMyAdmin , PHP or something else entirely.

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

I don't see such here but out on the web with this search:
https://www.google.com/search?&q=c%2B%2B+program+electricity+billing+system+open+source

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

This sounds like you need a tutorial. https://www.w3schools.com/php/php_mysql_insert.asp has examples.

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

This appears to be either homework or you wanting a quotation. Always tell. For homework, few write such for you since you would miss out on your skill building.

Tell us where you are stuck, show your code and we can discuss possible ideas.

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

All too easy. Perhaps you are not as strong as the Emperor thought.

  • Darth Vader, “The Empire Strikes Back”
  1. Using the VB.net IDE put two text boxes on a form.
  2. For the OnChange event for the first box use the StrReverse method:
    Read https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.strings.strreverse?view=net-5.0
  3. The code might be one line long but I can't tell what you called the second textbox name
    Maybe SecondTextBox.Text = StrReverse(FirstTextBox.Text)

Surely this can't be an assignment or homework. It's an one liner.

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

Forget rank for now. Improve your products. Example at https://www.amazon.com/Smooth-Makeup-Foundation-Concealer-Coverage/dp/B08333RLJP/ref=sr_1_1?dchild=1&keywords=miss%2Brose%2Bmakeup&qid=1622217464&sr=8-1&th=1

Seems your product development team has work ahead of them!

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

This is either homework or work. I can't tell from what you wrote. In either case share what's stopping you so we can discuss that. If this is something you need to have done, consider Upwork or Fiverr.

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

This was marked as solved yet I don't see the solution.

To me Line 90 seems to set the status to Received regardless of the checkbox value.

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

Seems similar/same to your post at https://www.daniweb.com/programming/game-development/threads/535405/help-for-my-code

A server migration or something else may have had you think your post was missing.

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

I found no community there. Just a site selling the usual made in the middle kingdom. What's been presented as eco-friendly isn't so much as you look closer at not only the manufacturing but delivery and disposal of many products.

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

From what I've heard, a campaign uses all of these.

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

The networking did work or you couldn't have created this discussion.

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

I think I've worked on a Toshiba C855D series and the tool I used to get inside was a standard Philips screwdriver. Now it would be debateable what you would do inside if you don't do such work but hey, I'd invest a dollar and replace the CMOS/Clock battery and repeat step 1.

I don't think you can work this issue without some investment such as a new charger but some folk want a sure fix. OK, sure fix. Take it to a repair shop but considering that such a shop visit here starts at $150 USD and this machine is 9 years old my advice is to try what you can for cheap then shop for replacements if the cheap ideas don't pay off.

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

So you get paid about 3 USD a hour. I can't imagine being able to buy food and pay your rent.

Such low pay seems to always lead to social unrest such as https://9to5mac.com/2020/12/14/iphone-assembly-suspended-india/

Sorry to read that you think this is OK.

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

At 9 years old, not unexpected to see the end. Try the usual but keep in mind I didn't check if the battery is easily unplugged.

  1. Unplug charger and battery then press and hold the power button for 60 seconds. Release, slip in battery, apply power, wait and few minutes and try again.
  2. Replace the CMOS/Clock battery and repeat step 1.
Eerol_1 commented: I havent seen any sign of it turning on and i dont have the tools to get to the motherboard of my toshiba. Any other ideas? +0
rproffitt 2,701 https://5calls.org Moderator

This just in. File under "We can't get people to work for us."?
Original found at https://imgur.com/gallery/LQ7UOMH
part_1.jpg
part_2.jpg