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

I'd skip that work and head straight to a C compliler such as http://users.ece.utexas.edu/~ryerraballi/ConLC3.html

Remember I take it this is not a homework or such assignment (you didn't tell.)

Oremaster10 commented: We are starting to look at projects and I want to make a scoreboard so I was just wondering if its possible. +0
rproffitt 2,701 https://5calls.org Moderator

Seems you can find such with a search. How about a free 5 hour video?

Watch https://www.youtube.com/watch?v=q5ASe_sxRYI

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

That site is not slow so I worry that you are just spamming.

Essam_5 commented: No, I just needed help. I have a weak phone version +0
rproffitt 2,701 https://5calls.org Moderator

I have to think you want single words here? Here you go:

Questions
Reverend Jim commented: Careful. Wouldn't want to put yourself in Jeopardy. +15
rproffitt 2,701 https://5calls.org Moderator

First, VB6 is over 28 years ago and good luck buying a license today as well as installing the system on today's Windows.

I'd move to vb.net and for your data grid I'd look at the DataGridView noted at https://www.dotnetperls.com/datagridview-vbnet

Syed Zubair commented: Amazing!!! Not agreed then why we are using Windows 11 Pro,base system of vb6. I am smiling surprises to read your comments on vb. +0
rproffitt 2,701 https://5calls.org Moderator

As you know this, please make a tutorial here on Daniweb.

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

Mary and I received the Pfizer vaccine. We are in the 65 and older group (not by much) and for us it was just a sore muscle for a week or so.

I have some allergies so I brought along my epinephrine inhaler as a precaution but nothing happened both times.

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

I can't see how any combination of the variables given results in 9213 or such. Maybe your examples were incorrect?

RC_820 commented: must take 1 by 1 number from variable example like this $num1 = 9; $num2 = 2; $num3 = 1; $num4 = 3; and combine $num1.$num2.$num3.$num4 = 9213 and etc +0
rproffitt 2,701 https://5calls.org Moderator

Let's see the code you tried.

newnew1234 commented: #include <iostream> #include <fstream> #include <string> using namespace std; void read (ifstream & in, ofstream & out) { int a[20]; string temp; +0
rproffitt 2,701 https://5calls.org Moderator
A-33 Gaurav commented: Thank you so much, its really helpful +0
rproffitt 2,701 https://5calls.org Moderator

So much was left unwritten here so I'll write about how we go from nowhere to app.

There are many articles about how to design and code but let's try it this way.

  1. Do the work manually.
  2. Write down each step you did in detail.
  3. Now select your language, development system and then.
  4. Using your manual steps, craft code that does each step.

This may look messy but it is a way to get from nowhere to the app that does what you did manually.

Cow cow commented: ok but now i writen code about the scrapped data,but not idea to link together.May I ask for example or any keywords to show me. +0
rproffitt 2,701 https://5calls.org Moderator

No.

A-33 Gaurav commented: Can you tell me which Sorting Algorithms follow 'Greedy' technique? it would be really helpful, Thanks in advance +0
rproffitt 2,701 https://5calls.org Moderator

I think you need a better example. I'm currently logged in on my phone, laptop and another tablet with Chrome. I can only guess there is some Google setting I haven't explored yet.

Rico_2 commented: i mean like i just can one time login +0
RC_820 commented: i mean like this now i login in mozila browser then i open another browser like chrome if i login in chrome yang login in mozila will auto logout +0
rproffitt 2,701 https://5calls.org Moderator

To me an array is a variable. But if you look at example 1 at the link it puts them into an array. Let's say you don't want an array so you can copy each item in the array to another variable as you see fit.

Papa_Don commented: I'm not sure I understand. Here's what I've attempted, but it isn't working: +6
rproffitt 2,701 https://5calls.org Moderator

What are "buckets"?

Besides that, I see example 1 at https://www.dotnetperls.com/split-vbnet seems clear.

Papa_Don commented: I don't know how to post my code here. Help! +0
rproffitt 2,701 https://5calls.org Moderator

This looks like a "do my homework request." Please read https://www.daniweb.com/welcome/rules

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

Some good news is that the SHA 512 looks supported.

I'm reading https://www.php.net/manual/en/function.hash-hmac-algos.php but decline to convert your code.

Arunshree commented: so how can we make this thing work?Except this signing key the rest api post method i written but without this key i cannot able to authenticate +0
rproffitt 2,701 https://5calls.org Moderator

The code as is works fine. Since there is no code to read the file and look for a match, all logins fail.

I see you tagged this as homework. Remember that you get to design and write the missing code.

Also, given that passwords shall NEVER be stored in plain text in a file, this would get a failing grade from me.

More at https://blog.moertel.com/posts/2006-12-15-never-store-passwords-in-a-database.html

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

Please read https://www.daniweb.com/welcome/rules about homework and more.

Lonely_2 commented: Sorry I forgot to read that +0
rproffitt 2,701 https://5calls.org Moderator

As I read https://www.php.net/manual/en/reserved.variables.server.php I see issues with your register.php

Line 3 - Gets the IP.
Line 7 - Appears to get the IP.
Line 9 and 13 appear to do the same (get the IP address.)

Read the manual and look at items that return a name such as 'SERVER_NAME'.

Sourav05 commented: Sir I don't wanna print the 'Server Name'. I want to print the name along with IP which is being sent from 'client.php' in 'register.php' page. +0
rproffitt 2,701 https://5calls.org Moderator

It appears the main method is on lines 49 to 65. Then you appear to start writing code but without declaring the new method.

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

Maybe I should have simply written for you to explain what you meant to ask. The better your question the more likely others will respond.

Muhammad Hassan_1 commented: if compiler print "welcome Student " then he will come to class and print the list given above. +0
rproffitt 2,701 https://5calls.org Moderator

That's an odd post here. Take more time to explain what you meant to ask.

Muhammad Hassan_1 commented: how much time to take? +0
rproffitt 2,701 https://5calls.org Moderator

That's a directory listing. No code and no answer about if you installed the mechanize module.

yorekaa819 commented: I already installed mechanize but when I start the program it said there that theres no module name +0
rproffitt 2,701 https://5calls.org Moderator

Without code to look at, you would be looking for that word (mechanize) in your code.

yorekaa819 commented: How can I do that? +0
rproffitt 2,701 https://5calls.org Moderator

The assignment looks to be what is given after many classes on the subject matter as well as drawing from your prerequisite coursework.

If you need clarification on the assignment that would be from the instructor as I didn't give out the assignment.

As you know supplying for the answer rarely happens. But you can start a discussion on something specific such as what is Python etc. But again you must show some evidence you are working on the subject.

1427_Sharupya commented: he told us not to disturb him. +0
rproffitt 2,701 https://5calls.org Moderator

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

You posted 20 items there. What do you want to discuss?

1427_Sharupya commented: I could not understand this assignment . +0
rproffitt 2,701 https://5calls.org Moderator

So this is "it doesn't work" code/question. I see in the top post at line 58, 59 the error message and ErrorInfo but no mention this was seen along with the ErrorInfo.

Beyond sharing this information you know to insert var_dump where needed to see if all is ready for the $mail->send(); on line 53.

Tutorial at https://www.w3schools.com/php/func_var_var_dump.asp

I can't send this without noting that one person left out they succeeded on their home server but not on the actual host. Details like that are needed.

Mannan_3 commented: I'm sorry, I don't understand what you're trying to say as I am a beginner at PHP. ] +0
rproffitt 2,701 https://5calls.org Moderator

The process/method of sending email varies with each site and host. You'll need to determine the method used for your current host. I can't tell you this. You must get that information from your hosting provider.

-> When you do your first email via code, don't mix it in with all your other code at first. Write a small thing that sends you a test email so you know you got the method/steps correct for your site/host.

Mannan_3 commented: Hi there, I have done this within a separate file and I can confirm that it does work. I just don't know how to integrate it with registration form +0
rproffitt 2,701 https://5calls.org Moderator

You should tell us what's not working. A quick look at the code doesn't tell me what is broken.

Mannan_3 commented: The main issue is that the email doesn't automatically send. The email functionality doesn't work but the registration process does. +0
rproffitt 2,701 https://5calls.org Moderator

Please correct those code submissions. All those extra blank lines distract and show not much care here.

My background does include DSP work which had FFT in various languages but your lack of care has me not write much more than about your code so far.

Also, your program's goals are untold. I see more than a FFT here with what looks to be graphical output. That is a lot more work as for "C" we'd have to pick our graphics library and more. There is no easy conversion. Maybe if we moved to C# or such but hey, you didn't tell enough to start discussing possible development ideas.

shiv.manoj23 commented: I'm sorry about the extra blank spaces however the basic requirement of this code is to read the data from excel sheet calculate FFT and plot graph. +0
rproffitt 2,701 https://5calls.org Moderator

So it's homework/assignment. That said the class should have given you the skills to do this in prior classroom instruction and assignments.

But hey, let's discuss how we store data in a file. Remember there is NO STANDARD here or far too many so I take it you're going to do this in the way/method that you would never do in apps later.

Here goes.

You collect data from the user and write it to a file. Done!

Editing said data?
Read all the data from the file into your arrays and such.
Ask the user for the changes.
Change that array entry.
Write all that data out to that file (overwrites old file.)

Simple but never something you should do IRL except for small use cases.

Nymphalys08 commented: Thank you for your answer, rproffitt. Will look at this. +0
rproffitt 2,701 https://5calls.org Moderator

My advice is to forgo the old data in a file for this app. Use a database.

Nymphalys08 commented: Hi sir rproffitt, we are required to do a file handling.. can you help advice me on this? Thanks +0
rproffitt 2,701 https://5calls.org Moderator

With a specific reference to the search part of this question and where we read line 79 consider:
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.listview.finditemwithtext?view=net-5.0

FindItemWithText(String)
Finds the first ListViewItem that begins with the specified text value

That answers why rod does not find a match to Prod.

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

Must read: https://en.wikipedia.org/wiki/Dragon_Ball_Online

This is not open source from what I can tell. Most likely leaked or stolen code.

Share where the owners gave up the rights to avoid this discussion vanishing.

Sph_1 commented: well as u want .. ty for the help +0
rproffitt 2,701 https://5calls.org Moderator

I received a few comments via email. You claim other servers work. Use what works.

Sph_1 commented: what i mean wiht taht is on compiling like i where compiling character server, chat server , login server ... all worked and auth isnt compiling its +0
rproffitt 2,701 https://5calls.org Moderator

"failing to recompile on visualstudio 2019 with the fatal error C1075 [closed]"

You appear to have what I call in found code. You dumped such here without telling where the source came from so I can check if there are build/compile instructions.

Unlike elsewhere we try to give you a chance to supply the missing information.

Sph_1 commented: thats why i posted this here , soo if i can get help from any experienced C++ dev.. +0
rproffitt 2,701 https://5calls.org Moderator

It appears you never computed the average. Why not simplify this code.

  1. Delete lines 1 to 10.
  2. Delete line 15
  3. Replace line 22 with System.out.println("The average is"+(total/5));
Andrew_70 commented: I would, but he would like me to use the method way so I need those lines. +0
rproffitt 2,701 https://5calls.org Moderator

There appears to be a tutorial about this.
https://www.tutorialspoint.com/c-program-to-demonstrate-fork-and-pipe

To be fair I will let you do your own homework from here on.

naseswar2020 commented: thank you so much +0
rproffitt 2,701 https://5calls.org Moderator

Topic Question is "yes."

As to the question in the topic, while that is yes, it's never recommended as once in a while there is trouble when mixing.

As to the question in your text, you won't know till you try it.

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

A few issues.

  1. JavaDB doesn't appear to be distributed any longer. I'm reading https://blogs.oracle.com/java-platform-group/deferring-to-derby-in-jdk-9 which was in 2015 so I'll write JavaDB is no more.

  2. https://db.apache.org/derby/docs/10.0/manuals/admin/hubprnt09.html gives us a clue that we may want to search for hosting for Tomcat. Such should be able to run Derby as well.

  3. If I search for "Tomcat on the cloud" I find various offerings.

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

vi is not Linux. There are so many text editors that I would not call this a requirement any longer. Maybe 3 decades ago but not now.

But hey, why not learn ed too?

PS: I would never call vi a "word processor.
PPS: About the only hard thing about vi is how to quit and optionally save.
Last PS: vi is a screen-oriented text editor. Read https://en.wikipedia.org/wiki/Vi

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

Please update your profile with company information. I see you may have started with 3 people in 2017.

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

If I were to look into this I would not convert such as this would be a lot of work duplicating what looks to be BITCOIN MINING.

Instead I'd see what BITCOIN LIBRARIES might be out there and then craft around said libraries found with
https://www.google.com/search?&q=php+bitcoin+mining

Creating the functions that we see in your Python code (remember I always think this is your code you wrote and not found code) would be quite the exercise for you.

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

Define better. For many of us that would be Duckduckgo. But some need Google Scholar, Maps etc.

I just read where Duckduckgo has taken a stab at Maps!

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

Accelerationism: the obscure idea inspiring white supremacist killers around the world

Uh, let's not.

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

Did you look at the string functions MID, LEFT and RIGHT?

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

Welcome.

I see your first post as a "Reusable Code Snippet" but that would be for exactly that and not an open discussion.

bruce.hagen commented: Sorry, Did I post question in the wrong section to get an answer. +0
rproffitt 2,701 https://5calls.org Moderator

i tried the DMZ and openedt my forward port

You would do one then the other. Remember I did not do your research about which ports to open. I start with the DMZ so I know if port forwarding will work.

Since your PC works and devices/PCs work on the LAN then it's either your router settings or an ISP that doesn't allow this.

For example there was a client who was on a WISP (wireless ISP) and the way this WISP was setup, no one could run any servers. Also some games would fail.

-> As it stands it seems the server is fine but it's either the router or the ISP. Remember I can't see your work or router so I can't tell you which it is.

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

If it works on your PC, then that's something.
If it works on your LAN then that's something.
If it doesn't work from the Internet then that's something.

Remember that some ISPs block all servers so there's something there.

The issue you are having is where many cut their teeth learning "where is the problem?"

I can't fix it for you, but can guide as to how I figure out where the issue is. Once we find where the issue is then we look for solutions. Sometimes folk just want the solution without finding out where the problem is. That's done by paying tech support or calling in help.

nalb4242 commented: No i want you to help me finding the problem ... +0