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

Did you read prior discussions on that topic? http://www.cplusplus.com/forum/beginner/4488/ for example.
And more at https://www.google.com/search?q=c%2B%2B+and+puzzle+about+parameters+and+argument+definitions&ie=utf-8&oe=utf-8

One of the best lessons you can learn is to research like this.

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

I could not find the measurement you want to measure. Try using a standard like we read from http://www.virtualmachinery.com/jhawkmetricsclass.htm

Or supply a link to the metric you want to measure, or your assignment from class. Your top post didn't make any sense either.

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

Back to Trend and ask if they have a plugin for your website. You left out model details, what web server you use and more. But you need to just ask Trend if they have it ready to be put up on a site.

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

Something else to try. Beware it will take some CPU load but google up fxsound.com. I don't need to but if you can't get an amp, and need just a little more, try it.

Stefce commented: HUH this is powerful ! :D +2
rproffitt 2,701 https://5calls.org Moderator

No. All the posts I read about this are spams and shills. Your best utility is the backup copy of the PST. This can be automated today very easily but if you see a reply with any pstrepair.com or similar, it's spam that will be a ripoff.

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

I see tutorials with https://www.google.com/search?q=utorials+based+on+parrallell+arrays&ie=utf-8&oe=utf-8#q=tutorials+based+on+parallel+arrays+c%2B%2B

Anyhow your post is too close to "Will you fix my code?"

Avoid that and tell what line of code is causing trouble for you.

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

This doesn't look like your code. It looks to be from 7 years ago at https://www.daniweb.com/programming/software-development/threads/186020/help-using-dynamic-memory-allocation-and-pointers

Rather than passing this off as your work, why not share that up front?

Then tell the forum what is eluding you. Your post sounds as if you want others to do your work for you.

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

You'll have to tell more to continue. "Modems" in laptops have been dial up modems and nothing to do with broadband connections.

In fact, so few folk have a modem in their laptops that I found it interesting you lead with that. But with this reply it's clear you may have been mislead by the error messages so, start over. For broadband the modem is not in your laptop. We use WiFi or Ethernet to connect to the broadband internet connection. I know folk are still learning about this stuff but you need to keep learning or head to a repair counter.

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

PS. I can't tell what step is eluding you but if it's the random word from a text file check priors like this:
https://www.google.com/#q=vb+net+read+random+word+from+text+file

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

Just one. VB6 had its day. Now that VB.net has a free to use version, move up to a version that everyone has access to.

hefaz commented: Thanks, Ok. +2
rproffitt 2,701 https://5calls.org Moderator

Avoid goto. Forget it exists. Try loops that don't exit till the input is right.

mabdullah4 commented: Same result when I use any Loop.Anyway solved problem by using cin.ignore(); +0
rproffitt 2,701 https://5calls.org Moderator

Did you try disabling all add ins?
https://www.google.com/#q=manage+excel+add+ins

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

Glad you're not doing the life to death tracing.

But rather than looking at it via a blackbox approach why not grab the source for each app in question and see what files they use and how they add, create or destroy them?

Example? https://www.google.com/#q=google+android+contacts+source+code finds the source is there.

AssertNull commented: Good link +3
rproffitt 2,701 https://5calls.org Moderator

That's a Widget. Other ideas are at https://www.google.com/search?q=Animate+icons+on+home+screen&ie=utf-8&oe=utf-8#q=animate+icons+on+home+screen+android

I guess you could create a launcher and then you would control it all. I'm unsure if many would invest that much time but sure, possible. Figure an average Android programmer a few months for a new launcher.

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

Looks incomplete.

  1. The mysqli_select_db() function is used to change the default database for the connection.
  2. $myconnection looks undefined at line 8.

Read the example on how to use mysqli_select_db() at http://www.w3schools.com/php/func_mysqli_select_db.asp

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

Try this with an alternative OS like a Live Linux OS. No install required. Run it off some USB or DVD.

I don't see a model number so try the usual and use the Fn key to turn the WiFi off and back on. Do you see the notification when you do that?

Gribouillis commented: agree on the live linux trick +14
rproffitt 2,701 https://5calls.org Moderator

Your code at lines 15 and 16 in the function switchImage. That's why it be so.

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

I gave this a -1. You dumped code without crafting a nice post title as well as left this to imagination what help is required.

Try harder next time.

PS. Why does this look like code from 2013 posts like http://stackoverflow.com/questions/27591379/cant-upload-and-store-the-image-to-the-database-by-using-php ?

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

Line 23 looks off. randImg are numeric so without me testing it, try

if (randImg1 == randImg2 == randImg3 && images[randImg3] == "strawberry.jpg") {
rproffitt 2,701 https://5calls.org Moderator

You omitted the make and model of this PC. But the error looks to be common when the BIOS is set to secure boot. I can't be specific as there is no PC detail so go find out how to change the BIOS to CSM or Legacy (look, this is not a standard and why make, model is required.)

Now you may be able to boot your W7 DVD and then fail as the HDD needs to be erased. Do not format that HDD, just remove all partitions. For that I use GPARTED.

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

A quick read says line 15 and 16 would indeed set both to the same image.

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

That's the spec of your application. But you didn't show the code you've made so far and tell what's not working for you.

I'm guessing you only asked for the answer, rather than for help with solving a problem. Giving the completed code is not going to advance your coding skills.

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

You may want to start again and build on a working example like http://www.tutorialrepublic.com/codelab.php?topic=bootstrap&file=typeahead-with-local-dataset

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

I wonder what you've done to work this issue. Here you make a post, title and dumped code. That's pretty short and may not tell us if the connection or the data didn't make it to the server.

Anyhow. Take your $query from line 28 and manually try it with your SQL command line. Does that work?

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

Just a comment. Take more time in crafting your post titles.

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

Since it's an Apple, back to Apple to see if they have updated drivers and such. W10 is, here, different enough that I'm checking drivers on all the PCs that I upgraded. Since yours is an Apple, well you get the drivers from Apple.

And just so it's written, who said Task Manager tells all?

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

OK, line 6's printf output is "b is 10" and has a trailing \n os that's 8.
Line 7 printf output is "a is 8" with a trailing \n so that's 7.

printf() returns the number of characters it printed so all looks right here.

CodyOebel commented: AHhhhhhh the number of characters returned ... I seee +3
rproffitt 2,701 https://5calls.org Moderator

Well that's annoying. I don't run .EXEs from others without a clean pass like
https://www.virustotal.com/en/file/fb8f90b15bd06f3f549c0ffa296621681d7b9cd822da80616b14bef5631a78a3/analysis/1461550967/

You may want to ask your compliler source what's up.

Antivirus Result Update
Antiy-AVL Trojan/Win32.Diple 20160425
K7AntiVirus Trojan ( 004b907f1 ) 20160424
K7GW Trojan ( 004b907f1 ) 20160423
Qihoo-360 HEUR/QVM20.1.0000.Malware.Gen 20160425
TheHacker Trojan/Generik.NTTPLRZ 20160424

Gribouillis commented: good idea +14
rproffitt 2,701 https://5calls.org Moderator

Before I answer, you haven't asked a new question as we read from https://www.google.com/search?q=Documentation+or+in-code+comments&ie=utf-8&oe=utf-8

So my answer is that you do what the person is paying you to do. Heresy!

And the higher you up SEI, CMM and so on, the less you see of the code. As you move to a system like SEI Level 5, you put in a change request and that generates the code. Example? The Space Shuttle was SEI Level 5 with an exception for the backup computer. To some this never really happened and some will write "Burn the witch!" over use of such magic.

What I find is I have to use a variable approach to each project. I'll do what the client demands even if I disagree. They are paying the bills so let's give them what they want.

So what do I use? I think I like a method I read in "The HP Way" years ago. We produce The User's Manual first. This describes what it does and how the user uses it. Now we have a fine end goal and can map out how to get there. There are thoughts that you document the code before you write code but my view is you do that if paid well and they accept the years it will take.

This reply is pretty much a chip off the visible ice berg of the question you posed.

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

Converting from say seconds in some variable to minutes and seconds is a classic beginner's programming exercise.

Think about how you do this in your head now. Now some can translate that directly to code but for beginners you may have them write down the process step by step. You have them do this since they won't learn by you giving them the code. Again you never give them the code.

Why? It's so they learn how to break down the problem to discrete steps that you can write code from. If the step can't be translated into code you help them along by telling them to break that step down into smaller steps.

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

Let me read your article "tags". I see " development game games gaming project " but you left off the language. Remember that reply about you having to put in the bulk of the effort?

Collision detection is a very done topic. I double checked with https://www.google.com/#q=collision%20detection%20javascript

Doing this from scratch means you have to read a lot and start small. Frankly I'd look into a 2d game engine but this is not something you do without investing months of work.

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

I think folk are downvoting because you are dumping code and not much else. Try something. Tell what line or function is giving you trouble.

Also, duplicate posts like yours at https://www.daniweb.com/programming/game-development/threads/504035/how-to-add-a-score-and-collision-detection-for-my-catching-game- can get you a downvote.

Maybe start on a smaller app that only changes the score when folk click a button. That way you build you skills and figure out how to keep score.

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

That's a start of the effort. But since there are open source such systems, why create yet another one? I see this is your first post so either you are very new and don't use google to find existing systems or was hoping for something else. What do you need now? What have you done to create this or find one?

ddanbe commented: For the effort :) +0
rproffitt 2,701 https://5calls.org Moderator

And that's the rub. Companies that put out the one to many want to make revenue for their SDK and products. If you want to avoid that, you have to develop your own.

However you will discover that finding who this is via a fingerprint search will take longer and longer as your fingerprint database grows. You are walking into a time trap here. I can't know if you've seen such one to many searches before.

Here's my thought. You would taint your reputation as they wait minutes or longer for a match to be found.

Back to that obvious search. Since you didn't find a company giving it up for free, then you get to build your own.

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

@OP. I left out an obvious path here. It may not please those that don't write a lot of code but it is a path I follow when I need modules or source without license fees. Here it is: https://www.google.com/#q=open+source+fingerprint+matching

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

The error was clear, and in fact you did use it uninitialized. See line 71 up to 74? You shouldn't use this until you put something in there.

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

I read the page at http://www.secugen.com/download/sdkrequest.htm so there are free SDKs there. Did you get them?

savedlema commented: thanks..see my reply please +2
rproffitt 2,701 https://5calls.org Moderator

There are priors to this question. That is, it's not a new question with maybe too many priors.
https://www.google.com/search?q=how+to+use+Visual+studio+c%2Fc%2B%2B+compiler+in+eclipse&ie=utf-8&oe=utf-8 is what I used to find those priors.

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

Did you try to use AnalogX's uninstaller? It seems to be at
C:\Program Files (x86)\AnalogX\CookieWall\cookieu.exe

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

I can see where folk get lost on such an endeavor. To me that would be no less than 3 apps. But one of them might be used by all 3 platforms. If you created an email client on a web page then you hit all platforms with one app.

I see from your past posts you know a little about web site creation so maybe that's what's first.

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

I heard a debate that Facebook somehow tapped into human consciousness. Then again, now I'm hearing that is for old people.

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

OK, you've picked the x86 Android simulator so there are priors as to Android Studio using the CPU.
https://www.google.com/#q=limit+android+studio+cpu+usage

Hmm, now let me be sure my Java is current and I'll launch Android Studio and open a project.
http://i.imgur.com/NopLauD.png?1 is what happened and if you are seeing high CPU use with just the IDE and a project open, I think folk have priors on that. Here, I'm not seeing the issue.

AssertNull commented: Thanks for the links and the help! +0
rproffitt 2,701 https://5calls.org Moderator

I took a quick look at Godaddy's website builder. It does tables.
How ? https://www.godaddy.com/help/adding-tables-and-forms-7685

And I took a look on how to send the email with that form data.
How ? https://www.godaddy.com/help/specifying-email-address-in-a-form-5217

Finally I looked for how to add a checkbox with the Godaddy website builder.
Try https://www.godaddy.com/help/adding-form-elements-3035

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

I don't write as much assembler today. Background? I wrote my own assembler back in the 80's and 90's but today I use the assembler code to get to C and then I'm in a higher level language. I know there are C compilers for MIPS and you may get much more help on C than assembler.

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

Well that's clearer but as you discover, some may stick around. Now that more is known you still have, as a company an IT lead and your team to manage such a mess.

Sorry if I was unclear. Some of the policies are registry changes so you have to research each one and undo later. Some as the one I noted cease since it's something that only work when there is a PDC.

So change it to a workstation and deal with the mess as it is. Frankly the cost of the hours by your staff or IT is usually high enough that you just wipe and load your new standard load.

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

A parting note. Just the links for easy reference.
https://wiki.videolan.org/C_Sharp/ and https://www.google.com/#q=use+vlc+player+in+c%23

Since that's been done for many years, should be fine.

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

I wish you could reveal what it is we want to close. I tried your script with a fiddle (online edit and test) but it went nowhere. Since we can't close a window, then it must be something else that is popping up. Once we know what that is, then we can go over its controls.

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

In the top question I took it that you wanted to play it in a browser streamed from a web site. So I used the links you gave later to see what happens on a clean as I can make it Windows 10 laptop (which is my guinea pig machine here.) I see I made a mistake in item 4 after I cleaned off all Apple software (quicktime and iTunes) so the second test should have read 3GP asks what to do with the file.

Now let's say you have a C# app and you want to play a video that is online. Keeping in mind we don't have any say in the machine state, the web browser tests still tell us a lot here.

In VS2008 and later there is a WebBrowser object that I've used and can control in C#. This inherits all the playback issues I alluded to from the start but did play the file from the web if it's supported in the web browser.

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

OK, bog standard Windows 10. Firefox and VLC Player not installed. Will check if Flash was installed.
1. MP4 played.
2. FLV asked what to do with it.
3. MKV asks what to do.
4. 3GP asks to activate QuickTime.
5. Tutorial played.

OK, let's make sure iTunes and Flash is gone and retest.

OK, no more shockwave, Air or Apple software. Reboot and

  1. MP4 played.
  2. FLV asked what to do with it.
  3. MKV asks what to do.
  4. 3GP asks to activate QuickTime.
  5. Tutorial played.

So remembering that MP4 is a container you only need to test the results on a clean or your target machines.

Hope that helped.

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

I think you're getting it. i gets whatever is in the set of things you after the "in" keyword. It can be numbers, a list of things, and so on. No i++ here.