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

It sounds like the app didn't compile or was not distributed. Since this appears to be a common issue, read priors about this error at https://www.google.com/search?client=opera&q=mpiexec+was+unable+to+launch+the+specified+application+as+it+could+not+access+or+execute+an+executable

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

That's a poor explanation of what may be someone's homework. One could fulfill this by printing the arrow then the random value.

Besides that, where's your code and where are you stuck?

I rarely see anyone write your code for you. Maybe some psuedocode but no more unless it's to fix a stubborn line that just eludes us.

PS. I see your topic title mentions "assembly" but for which CPU? I think I've written assembly code for over 20 processors over the years. Not that it will help here but there are now virtual assembler systems as well as real ones. CALL OUT WHICH SYSTEM YOU ARE TARGETING. Some use serial ports for text i/o or on x86 make BIOS calls and then for the really adventurous there's assembly on an Android platform.

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

This works, but you have to specify each cell in the row.

Noted elsewhere:

Conditional Formatting is the same as adding one or more formulas to each cell in which you use it

Example from https://www.c-sharpcorner.com/UploadFile/f0e144/excel-apply-conditional-formatting-in-VB-Net/
I'd say that's a pretty specific prior as they note we have to apply the conditional format to each cell plus they show changing the font color.

FranAust commented: This will definitely work, maybe someone knows another way? +0
rproffitt 2,701 https://5calls.org Moderator

As to the generation of the sheet, for a very long time folk would have a blank sheet with the needed format then copy that to use in the new sheet.

In VB.NET that would be one line of code. A copy command.

Also back in Excel there are xltx (Excel template) and xltm (Excel macro-enabled template; same as xltx but may contain macros and scripts) files that we call on when we need repeatitive formats.

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

As to the make clean that part looks fine. As to the make, I can't proceed. I would have to have the project up in Kdevelop then explore all the settings and options for the project to find where there is a difference. I don't know of any automated way to discover the differences.

For example Kdevelop may list libraries required but your gcc make file may omit same. Also there may be gcc compile flags that differ.
"This is the way" we'd have to figure out what's different. Think of it was a Waldo hunt but for programmers.

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

Aha, I think I see your real question now. It's something like: Why does (blank) work in Kdevelop but not gcc?

I would be guessing that the settings, paths and libraries differ from one system to the other. As I don't use your noted library I can't do the detective work for you. Sorry but I missed the short version of your question such as "How do I use (blank) but with a gcc command line compile? My bet is there will be a make file in your future.

Frankly for whatever you are doing why not use Kdevelop, get it done and move to the next project?

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

Welcome to Daniweb.

To me this sounds like you are ready for Python Tutorials. I see these are now plentiful at https://www.google.com/search?&q=python+tutorials

Along the way you'll learn enough to write what you need.

rproffitt 2,701 https://5calls.org Moderator
  1. You need a header with declaration of the function foo. You can't just change the function or method on its own and get by.
  2. I see priors on the error "undefined reference to `dwg_read_file'." in a simple google so read those two.
  3. "GNU LibreDWG has a development and general discussion mailing list: " which means it's best to join that and ask those that use this library I haven't used.
rproffitt 2,701 https://5calls.org Moderator

Sorry vbforum, if I'm entering data into a sheet that would, to me say I'm using Excel so the conditional formatting there is what we use.

If you are using VB.NET CODE then you didn't supply much indication or the code you are using to call up Excel etc.

How about creating the spreadsheet in Excel with the conditional formatting then that sheet is what you call up from VB.NET?

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

May want to edit your tags as the question/topic seems to be about Excel and not VBA or VB.NET.

So I went to Google this and put in this question:

How do I apply conditional formatting to an entire row based on one cell?

The answer came back as this: https://trumpexcel.com/highlight-rows-based-on-cell-value/
At step 8, you would choose FONT rather than FILL.

PS. Since there are more than a few steps to this and your posting tabs look incorrect I'm replying with a link instead. I may be guessing you wanted this in VB code or a macro instead of conditional formatting.

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

No way I'm opening that. Try posting like other folk and tell us what is stopping you.

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

There are priors about this. Here's where it likely started.

I copied my project folder from my windows environment pc to my MacBook pro

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

What happened to https://stackoverflow.com/questions/59450218/multiplayer-turn-based-number-matching-problem-in-nodejs ?

As to button disables, anothere way is to not bother and not repond to the button press. Always a design choice but sometimes a design choice is because a) the coder can't find a way or b) it's a game and it works fine with just leaving the button enabled. The game logic handles the button action etc.

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

If you want to have others do assignments like this then it's posted as a for-hire post along with payment rates.

Copy pasting homework is not going to get folk to help you out. What may work is to share where you are stuck such as:
"Here's my code but the incorrect answers didn't reset to zero as I though on lines 55 to 76. Can anyone see why?"

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

If I were building today I'd look at PCMR https://www.reddit.com/r/PCMasterRace/wiki/builds for the basic machine (there's Intel and AMD builds.) Then because you want to play UHD 4K video I'd tweak those up to say at least the RTX 2060. Why?
https://www.reddit.com/r/nvidia/comments/9qeu7f/gtx_1060_6gb_watching_4k_movies/

Another thing is that I'd never build such with a HDD boot drive. Stick with 240 or more GB SSD.

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

Since this is not homework, why not use the web and go get a working app with source code?

https://www.google.com/search?client=opera&q=Phone+book+project+using+linked+list seems to find them.

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

While I think you meant line 23, usually you get more than "syntax error" so share that.

Next I checked for matching braces and that looked OK.
The ECHOs at 25 and 27 would be simplified to echo foo (simple) so to see if there's a syntax error inside the while.

Line 25 and 27 do need some fine tooth comb looking at as on 25 you echo ' and on line 27 you echo " so you need to really pick over those lines.

rproffitt 2,701 https://5calls.org Moderator
  1. No more robocalls.
  2. A CyberTrk. May have to wait.
  3. A good shawarma for lunch.
  4. A new Daniweb home/top page.
Fabrizio_4 commented: Hello. +0
rproffitt 2,701 https://5calls.org Moderator

Your request is unclear and you didn't share your code so far with what error you received.

If this is a request to write your app for you be sure to publish the full specification and payment rates.

Bishop_1 commented: ok. i want search a data or same data using DataGuidViwer and print that searching data. pls help me to send this code.. Vb.net +0
rproffitt 2,701 https://5calls.org Moderator

Generic answer: Iterate over the table shown and total up what you want then display as you wish.

There are thousands of discussions about picking up what's in that table so that can't be the issue or block.

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

If this was mine I'd step back to see what this code does and then write it in the language and methods of my choice. As I read through your code dump it doesn't look terribly complex and may be as simple as

  1. Present a menu.
  2. Get a response.
  3. Set some variables according to the response.
  4. Present another menu and repeat at step 2.

As you are the new author you get to write the code. Unless this is a for hire situation in which you need to write a real RFQ with all the usual data.

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

While you didn't show your work, no manager would limit themselves to C++. Today if I were to do this I'd not code up this in C++ but create a web page with the usual server backend maybe with MySQL, Python and such. This way the system would scale and not require deploying the app to the machines.

It would also let tablets, phones and more use the restaurant system. So this can't be a good example of how such systems are made today and again, no manager I know codes their restaurant system in C++.

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

I'm not absolutely sure that line 6 with ZXC is a unicode string. It might need to be prefixed with the letter u as this example:
ZXC = u"m’a réveillé"

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

What is stopping you? Also, why do this since C++ compilers are good to go on almost every OS.

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

You seem to have forgetten to share code, links and more. Pretty much like you went to the Ford repair shop but you own a Tesla but didn't bring the car?

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

That's nearly 100 lines of code, and I don't see "last" or "text" so you'll have to point out what text you are asking about along with the line number.

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

I need some help in understanding how bad RAM affects the performance of good RAM.

In a classic PC design the RAM shares a lot of signals. Data and address buses for example. Since a bad stick "sits" on those signal lines a bad stick can stop the PC dead. There's not much mystery here. So moving on.

  1. It's well accepted we should not mix make, models, and in some cases the build lot of memory sticks.
  2. Stick to what is documented by Crucial, HP (maker) for these sticks. Just because it fits does not mean it's compatible.
  3. I no longer try to save or test suspect bad sticks as over the years I've run into sticks that burn up the motherboard or CPU. So at the office and shop we toss bad RAM quickly. Not worth the risk. Let those that think such is worth keeping to well, to each their own.
  4. When we suspect RAM, all the sticks come out and we test one at a time.
  5. When all the sticks come out we take that moment to be sure they are all the same make and model as well as inspect for issues like scorch marks.
rproffitt 2,701 https://5calls.org Moderator

No real need to do that. However you can alert it to be removed and editing is limited to the first 30 minutes (from memory.)

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

Light bulbs work differently so it's not a good analogy. Maybe a chain is a better one as one bad link and the chain fails to do its job.

I've purposely not started a lesson on computer architecture here.

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

Your college jobs office.
https://www.google.com/search?q=freelance+jobs+near+me
etc.

YOU must get out there. These jobs rarely land in your lap unless you were a Rockefeller or Trump.

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

file contains this:
Doe Suzie,100,95,85,100,70,65,100,95,70,96

That looks like a CSV file to me. But everyone starts somewhere. That is, the file extension might be .DAT or .CSV but does not matter as we get to read a line, parse it and so on. Your idea of taking the line without parsing is well, you can see how that's working out. Time to read how it's done and implement it for your code.

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

Just so you know, I didn't write a word about your idea to use a stream directly to your variables. That looks broken from the get go.
Why not get a line, parse it like https://www.geeksforgeeks.org/csv-file-management-using-c/ ?

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

"its basically not puting anything in my instream after a certain point"

So it works for a few lines? Or breaks on the first attempt?

I have to repeat that VS is very nice about letting us set breaks so we don't have to wait till your loop at line 31 completes. We can pause it after 34 and look at what it picks up, what the value of loop is etc.

Then again, why not use a csvreader as there are many fine ones out there today.

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

So why not break on line 34 and see how it's working out? I will not start a project in VS just for this as you have it and only need to use what VS gives you to see where it breaks down.

Also, isn't there a cvsreader class in VS? Haven't used it in years but also there's a snippet at https://www.daniweb.com/programming/software-development/code/217438/complete-csv-reader to read CSV from the stream.

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

You have over 100 lines of uncommented code. There may be files involved. Why not use a nice IDE you can debug in? I'm running into students that attempt to use the command line and come back worse for wear.

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

For line 28, try another way such as noted at http://www.cplusplus.com/reference/istream/istream/getline/

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

Time to fix your profile by adding your blog and more so folk can find and know more about you.

As to the browser title, that's something specific to your site and how to fix can change depending on your choice of site creation. You neglected to share your blog in your profile and the image is so fuzzy I can't make it out to check out its code.

Many sites use the title tag as noted at https://www.w3schools.com/tags/tag_title.asp

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

@rodney, your choice for no server so there will be consequences. As to the page being static I disagree. You pass along what you want via the URL (a common thing to do), parse that and generate or respond to that. Not at all static. Just coding to fit your requirements.

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

As to the work of freelance, IT or such. It relates because there are many skills to pick up beyond the tech. Sometimes a new grad doesn't get that.

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

Because obj1 and obj2 do not refer to the same object. Here's a nice tutorial where "Method 1" calls this out.
https://www.geeksforgeeks.org/java-equals-compareto-equalsignorecase-and-compare/

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

Can you clear up which line that you feel should show an image and does not?

I might guess the line with Grass.jpg but as others replied "There is a lot of code without any explanation." I have to agree. I'd also want to know if this code is from https://marcusman.com as well is that yours and so on.

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

Since the base C++ as we know it libraries are not about the GUI you have to decide which OS and library you want to use. Or if you are on Windows you can go get the free community version of Visual Studio and start a graphical C++ app.

Then again you wrote you want to write from scratch so does that mean no libraries, no Visual Studio? If so, we'll see you in a few years with your app finally seeing the light of day.

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

So you think Minority Report is the future or marketing?

Reverend Jim commented: My arms are tired just thinking of it. +14
rproffitt 2,701 https://5calls.org Moderator

Welcome. Always nice to see where folk are from. Sunny San Diego, USA here.

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

Too vague a question. But let's try this. Forget the IP for a moment and if you want to know the unique PC or device, look up it's MAC address which for most setups is static.

Now if some newbie IT staff thinks this is a solid solution to tracking a PC or device I turn on MAC randomization and see them lose the rest of their hair.

-> Again, what are you trying to measure or find out?

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

Yes. The programmer reads the code, and either writes the new app or tries to convert it line by line.

Said programmer would have to work at it but once in a while you find one that is looking for a cheap fast exit.

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

I see I was unclear. If you pose a question and it's not what you are really asking then folk may not answer your unwritten question.

Take a little more time when you create a discussion next time and ask what you really wanted to ask.

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

The topic is "Resizing images without loss of quality" so folk may not guess you meant to ask something else.

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

You must know by now that "Resizing images without loss of quality" is not possible. Decrease the pixel count and you lose pixels. Increase the pixel count and the new pixels have to be created by code or guessing.

As such I take it you thought there was something that hasn't been kicked around in the last 3 or more decades of computers. Sorry no. There is always loss. Once you know this, you work out how bad you can accept it.

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

Here's the research on that. Pick over priors at https://www.google.com/search?q=Arduino+Accelerometer%3A+detect+braking%2F+deceleration

  1. You have to filter the input (some call this averaging.)
  2. Since we can't be sure of orientation you implement the Pythagorean Theorem (such is on the web and appears to be taught in 9th grade so I won't write more about that.)