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

I'm going to disagree. Everday new Windows users are not getting machines ready and setup to install their apps and files on that other partition and drive. Asking most to learn this is a pain. Too many folk today just want to use the machines. They do not want to deal with this.

This is not a failure of the makers or those that deploy Windows. Backups of what you can't lose is part of "Windows" life.

If you want to change how this works, take another look at ChromeOS and Chromebooks. You can send a Chromebook into a grinder and user files are not destroyed even if the user never did a backup.

-> Windows is based on ideas from decades ago. Maybe 3 decades ago? Maybe older.

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

When I read your post I didn't find the array "name" or MyObject.MyMethod in the supplied code. So that's a dead end to me. Some will say "Instructions unclear."

So I took a guess you just needed the shortest primer on passing an array to a method.

Clarity, in my view is needed in your problem statement. If you write you are having an issue with MyObject.MyMethod then I better see that in the (broken?) code shared.

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

This appears to be either you want others to code for you or you need a short tutorial on passing the array to your method.
Here's the shortest tutorial I could find. http://www.mathcs.emory.edu/~cheung/Courses/170/Syllabus/09/array-param.html

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

About logged in or not. I've looked at it both ways. In either case I would be confused about what this place is about. This definitely needs some (new?) user testing.

Just for kicks I went to Dazah.com and the location looks busted to me. I had some matches with 0 miles to their location but they appear to be in other countries. If this is to be a pivot to matching, why not let us put in our location? I see the Update location but that still can be broken due to VPN or other reasons.

Back to the "get" what this place is. I'm not feeling that home page is doing the job. Good looking and a current design but not engaging as far as I can tell. My thoughts don't matter here. I think the traffic and new member sign ups will tell the story.

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

When I check out a site for any issues I start with two reports. Here's the links I'm using today. These tend to change over time as we find better tests but here is now and what I'm using to see what's up.

  1. https://gtmetrix.com/
  2. https://validator.w3.org/

Some folk balk at the idea you should clean up what these report. For me it's like Lint but for the web.

roycpo commented: I am also using this websites for checking my website loading speed and get the perfect result each time. +0
rproffitt 2,701 https://5calls.org Moderator
  1. I read the entire newsletter so I'd read this as well.
  2. While I may not be that interesting to others, yes to both.
  3. Advice for others or a lesson you learned that you wish others had shared.
happygeek commented: Thanks! +0
rproffitt 2,701 https://5calls.org Moderator

It's been a week so I bit my tongue to see what folk would write. Not much happened so here goes.

The homepage when I look at it does not showcase what DaniWeb has to offer. It's pretty, it has the new look but to a newby I don't see how they would get what this place is. The stream that I see makes no sense at all. It's a shame there are no user preferences.

As to the item about "by design." Your choice. To me this is broken. Seems like a simple thing but why it does that is a mystery to me. It's just another nail in the coffin for the home page.

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

Good question. It appears "data" extends to the printed data so name tags with full name may be a problem. That is, if the employee wants to share, it would be fine. But if the employer forces this badge to be in plain sight, my bet is it's a problem.

Public servants however will get treated differently. A police officer for example might not have their full name but their last name and a badge number.

So much to read on the web about this but it would be best to ask those that set the rules.

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

Looks like one circle to me.

If you want 3 circles you have some drawcircle() function and for the myCircle() call drawcircle() 3 times with what variables you see fit to move it about.

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

What use "for" in this simple case? From https://www.pythonforbeginners.com/files/reading-and-writing-files-in-python

Maybe it's just 3 lines of code. Example:

file = open(“testfile.txt”, “r”) 
print file.readline(2): 
file.close()
tony75 commented: Thanks +3
rproffitt 2,701 https://5calls.org Moderator

Start with tutorials. Here's one that draws a circle. https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_canvas_arc

PS. Added with edit. From what I see in your code you define a function but never call it. So it never happened.

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

You have the bona fide official emulator now. I wish it was easier.

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

Sorry that I don't have a tutorial on this one. While I do work on Android apps in AS and use the emulator I did have to be patient as the system finished setting up.

All of us at the office use this one. Good, bad or indifferent we use it. I went so far as to install Intel's accelerators to the emulator and it's very usable. The only thing that I wish it could do is better Bluetooth emualation. That is, if your PC has a Bluetooth system the emulator doesn't use it so you have an emulator with something missing. Our apps use SPP (serial port profile) on Android so 99% of the time we have a real Android target over USB.

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

I use the Android Developer system and only had to setup the emulator one time using some menu in Android Studio. Once you get it setup in AS you should be good to go. I have no tutorial on this handy.

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

It does here. I seem to install this about 4 times a year and each time I get an emulator. Maybe you need a clue on how to start it.
https://developer.android.com/studio/run/emulator-commandline is just one of many pages about this one.

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

I don't know if this will work for you. It's rather large and has more than just the emulator. I use the emulator in Android Studio. Maybe someone has it "all on its own" but I haven't searched for that. If I was to search I think it would be this one: https://www.google.com/search?q=run+avd+emulator+without+android+studio

I do want to comment that miscreants have hijacked common searches so you look for a thing and end up at other sites, malware sites or worse.

I have favorite apps like VLC Player but when folk tell me they looked for such they got malware. PITR.

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

This appears at first to be a question about Citrix MCS (Machine Creation Service.) For an overview I read https://www.citrix.com/content/dam/citrix/en_us/documents/reference-material/citrix-virtual-apps-and-desktops-machine-creation-service-deployment-on-oracle-cloud-infrastructure-bare-metal-instances-with-microsoft-hyper-v.pdf

I've had encounters with Citrix on and off over the years but only during the product selection process. The deployment is something else and nothing I felt I needed to get into as that would be IT work and I'm more into electronic design, embedded software and other things.

Your second question looks to be how to move content from one forum to another. That is one of those "how to move a database" questions which would require you to have access to the existing database then write some translator or map from the old to the new database.

However once in a while someone wants to rip content off from another site. I hope you didn't ask that.

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

It's more a maybe. Since you didn't supply which OS I can't give you a fully positive signal.

Just in case you could glean some other tidbits read https://www.cnet.com/forums/post/3ef4c495-10ec-4348-8dc1-1322367b0f7f/ where I upgrade an old beast step by step, testing each configuation along with benchmarks, Speccy and power usage reports.

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

That's not how it works. The OS and the GPU sets the maximum version of DirectX. To prove this I wrote about some old iron from 2009 which was a HP D4999T running W10 Pro. It runs the current latest DirectX yet the old spec sheet for the machine from memory writes about DX9.

With the new 1050 Ti and next the GTX 1060, the DX version on this machine is now DirectX 12.

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

@Reverend Jim,

Windows 10 deliverery optimization has changed again. May want to check it out. Here's the screen where it shares among the local area network PCs.
devop.PNG
Not that I am saying it works, but they did change it again.

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

@hamza. While you may have an idea of your design, what you posted has many missing parts.

For example you lead with "code in a data structure" which sounds odd to me. I usually put my c++ code into the files that are to be compiled. So maybe it's just the wrong words.

Next you note it's "online" so what does this look like? Say a browser pointing to your servers running this c++ code? Wouldn't that be a lot of work where you really should have a high level design such as "web and SQL services along with my code to make an online voting system"? It's doubtful you would create all this in just c++.

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

Now it's starting to sound like an assignment. Can we see what book, class this is? Usually the preceding chapters build up to this sort of assignment.

Forget loops for a moment. What would you write to test any of the above now?

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

That explaination doesn't work for me either. Nested loops are over in the tutorial at https://www.tutorialspoint.com/cplusplus/cpp_nested_loops.htm which covers 3 or more nested loop designs.

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

Never worry about asking questions. I don't want to get into what are bad questions.

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

This could be a side effect of your other changes. Such as different .h files? Why not run the code in some debugger so you can trace the code. OR do the old fashioned print or cout to see where your code goes. Sort of reminds me of Dr. Seuss, "Oh the places your code will go!"

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

"Luke, follow the code." As I read your code it looks to me that there are two input calls being made. Your code appears to do exactly what you wrote.

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

What I'm reading is line 11 gets something, line 12 gets something. That's two "get something"s.

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

"if I use my own..."

This means you either shouldn't do that or dive into how yours differs from the working version.

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

I'm ignoring the code dumps. I'll share how I research how to command line compile using a Google search.

  1. https://www.google.com/search?client=firefox-b-1-ab&q=compiling+from+the+command+line+%22Code+Blocks%22
  2. That's pretty close. I think this link is the one you want: http://forums.codeblocks.org/index.php?topic=11897.0

It appears this and other issues pop up when you try to move to the command line. (In ref to %Program Files or such.)

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

While I did write in x86 PC BIOS assembly it was long ago. This is just me sharing my thoughts on your issue.

First I'd change line 8 to be double in size since you can easily get into a buffer overflow situation. Either that or work your code in lines 20 to 28 to limit input to just 10 characters (a better way.)

Second I don't see and of course could have missed how you count the number of characters the user typed in. You'll need that later when you output your string.

Last the garbage output is usually due to not specifying the correct starting location of the characters, not telling if how many characters (we needed that in my second comment) or the BIOS call needed a ZERO at the last string location to know to stop.

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

Looking at your tagline about dot.net training is this some form of shilling? You've done such questions before and why not reveal your company next?

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

Just me chiming in here. On that other forum I moderate, alert emails have been hit or miss for a lot of members. The ones that don't have issues are on gmail or something other than what Dani noted.

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

I'd consider rewriting this. Use the code format you see at https://www.w3schools.com/sql/func_mysql_case.asp

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

You seem to have done it again. What? Posited a question with good priors. Here's a google about your question.
https://www.google.com/search?client=firefox-b-1&q=apply+Themes+to+an+asp.net+application

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

For those intrepid adventurers. Read https://www.howtogeek.com/398226/now-windows-10-has-c-b-and-d-updates.-what-is-microsoft-smoking/

This is more why my advice is "Don't force it." and "Don't ask for it."

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

That's the paradox of choice. https://en.wikipedia.org/wiki/The_Paradox_of_Choice

Since he's a younger person I'd stick to the 15 inch models. About 1300USD gets you a nice enough gamer. Don't think about 4K gaming. Let's go 1080p and maybe over 60Hz display.

https://www.amazon.com/i7-8750H-Processor-GeForce-Gigabit-Windows/dp/B07F6K21HJ

Not that big on games? Drop to the 1050 Ti model for 700ishUSD.
https://www.amazon.com/i7-8750H-Processor-GeForce-Gigabit-Windows/dp/B07DY11M1F

PS. Due to the paradox of choice, there are many "best"'s.

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

A new question usually is best with a new discussion but let's get into "deploying" your app. In Visual C++ 2008 it was possible to create a standalone .exe so there was no installer required. Then again you could have DLLs and other files that need to be deployed so you use your choice of an installer program. There are so many out there but your app usually determines if you need an installer.

We also need to think of our users. The more entry level the user, the more they need to see Setup.exe. They struggle to make a folder for the app and copy in the .exe.

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

I worry here. That is, your question has been punted about for over a decade. Always check those priors.
https://www.google.com/search?client=firefox-b-1&q=event+handlers+that+can+have+in+Global.asax

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

Good news. Or rather a sip from the fire hose.

There are over 53 examples at https://rosettacode.org/wiki/Arithmetic_evaluation including C++. In the C++ example they used the Boost library and in there you can see how they parsed the expression.

Now that's not ready to use for your question but very close. You can parse out your string up to the equal sign then use the Rosettacode example to get the answer then you parse out whats past your equal sign and see if that compares.

Sandra_18 commented: thank you so much your feedback has been really helpful +0
rproffitt 2,701 https://5calls.org Moderator

Small world. My son is doing the gig thing for the Amazon Whole Foods delivery. You can look at that to see the scale of the apps for the customer facing apps. You might think that such an app is "just one app."

SURPRISE! In the Amazon system you have their web system, their mobile apps which you can see right now. But woah! There are apps for the folk that pick the stock, bag and tag system (another app), then the delivery folk have their app (grubhub too) and then the app all the workers use to pick their shifts.

The more I see of this system the higher the price tag goes. The Amazon system I'm seeing would be in the millions of dollars since there are many apps plus their backend systems.

For the single shop, you may want to look at GrubHub and see if that is your cheap exit.

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

Good question. Sad answers so far. I've yet to find a source that runs say a "lint" on c++ code to tell you if you are using depracated API calls. So just like the decades before you test on the versions of Windows you are targeting.

As to 32 to 64 bit, the 64 bit versions of Windows 7 to 10 do run 32 bit apps. This has been true for over a decade so there's little question there.

I'll share I moved to W10 64 bit for reasons like you asked. My clients seem to be on W10 64 bit exclusively.

cppgangster commented: thank you, for the answer. +3
rproffitt 2,701 https://5calls.org Moderator

This would be the HTML title feature. Read https://www.w3schools.com/tags/tag_title.asp
Now change your html to have what you wanted.

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

You seem to have a wide open field there for E-games in those areas.

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

The thing about quicksort is the sheer number of implementations that you find on the web.
https://rosettacode.org/wiki/Sorting_algorithms/Quicksort shows over 120 implementations for your study.

While creating another quicksort may be educational, it's best to view these as wheels that you pick up and install so you don't lose time creating the real app you wanted to make.

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

What's stopping you from working this assignment? Or are you expecting folk on the Internet to do this for you?

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

So it's moot. Archive it is.

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

Right now, just a few seconds ago I clicked on the message bubble at the top right and it's full of folk I don't know. Yes, I can click on them one by one and archive to clean it up but it's tedious. This is just another reason Jim's method looks like a nice alternative.

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

@Dani. Because Jim's method is superior since it keeps my connections from collecting extras. It's a great work around. If there was a way to edit my connections such as "just for DM", "Casual", "Business", and such then I could see using that but as it stands it's like the home page. No controls of filters.

Speaking of the home page, in two or more weeks of landing there just one time did I click on a card there. It's untapped potential to me. So out of over a hundred home page views I clicked on a card and the other times wondered at the picks and items it was showing.

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

My longest life span product is in Visual Basic 6.0 SP6. With some minor tweaks I was able to keep it running on Windows 10. This app started back on Windows 95 so it's been in service for 23 years. Disparage this old horse all you want but it's getting up there in years.

Fortran and Cobol have seen app lifespans in the 40 plus years. (Oops, make that 50+ years.)

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

I start my research with your question as a start.

Example: https://www.google.com/search?&q=file-processing+modes+with+Python