5,331 Posted Topics
Re: Several things. One, what is the OS and compiler you are using? Two, please post the output you are getting. Three, what don't you understand about that output? That said, it is crappy code, but should work OK. That said, all of the cout function calls do not have an … | |
Re: Why do you need to convert it? Simple VB6 code like this should work in VB.net. If you have already tried, what errors are you getting? | |
Re: My advice is to not try and do a direct translation from Fortran to C++, but to first analyze what the code does, and then re-implement that in C++. There are tools, such as Enterprise Architect that can reverse engineer code into UML models, state machines, etc. which can help … | |
Re: Do you mean as in a print screen capability? All versions of Win7 should be able to capture a screen up to the full resolution of the display. What precisely is your problem? And what screen capture program are you using? | |
Re: No one uses Pascal any more (mostly) unless they are using Niklas Wirth's (the author of Pascal and Modula) text books. I think the latest editions have migrated to Java (not sure about that). | |
Re: How you code this depends upon how the lights are integrated into the system. If directly connected to I/O ports of the computer, then you would use io-in and io-out instructions to read or set their states (on or off). If other such as serial ports, the problem is a … | |
Re: Sounds like you are lacking the fundamentals of the language. Remember that C++ is an advanced version of the C language, and iterations are generally for() and while() loops with some rational terminator (like when you get to the end of the list). Study the language a bit (there are … | |
Re: Microsoft is trying to migrate everyone from Win7 to Win10 and this may be part of the problem. Try to limit your updates to security updates only. This requires changing your update settings. | |
Re: There has been an ongoing in-depth analysis of TrueCrypt from the security perspective and so far it appears to be pretty clean. I think ongoing support will be re-established once the analysis is complete. It is available, but just not being actively updated until the survey/analysis is complete. At least … | |
Re: Time to learn about bit fields. Not difficult, but we don't do your homework for you. Also, what do you mean by "changes on the fly"? What is changing the bits? An interrupt routine? Other code? Another thread? | |
Re: What JamesCherrill is saying - do the work and when you are still having problems, show the work (code) to us for review. We DO NOT do your homework for you! | |
Re: You need to learn about date computation. Read this: https://en.wikipedia.org/wiki/Julian_day | |
Re: A lot of people (including my group at Panasonic) use CSV files to cache data that will be uploaded to the database. You can also use XML files, but they are more verbose, and a lot of databases will require a translater program on the front-end. Most will allow direct … | |
Re: Persuant to my comment about recursive exceptions, that tool found that a lot of C++ compilers in the early 1990's had major exception handling issues! I had written a solid recursive fib function in C years before for a contract I had with the Mellon Bank to balance their S&P … | |
Re: Honestly, in 35 years of C and C++ software development professionally, I have never seen such an error. What compiler (and version) are you using? | |
Re: @Baran_1: CodeBlocks is a development UI that uses GCC under the covers to compile stuff. What compiler version are you running? | |
Re: That is called a compiler + linker. Most compilers will invoke the linker to create the executable file (.exe for Windows). For Windows, there is Visual Studio (there is a free version), as well as other ones you can use. There are more than I would want to touch on … | |
Re: Also, check out Clonezilla. That is a standard Linux tool to clone drives and systems. | |
Re: My first custom build was almost 10 years ago - an Intel workstation/server MB socketed for dual processors, 8GB RAM, 350GB system drive, nVidia graphics card, 4 1TB data drives. It still works for my daily development tasks and only has had a couple of disc failures that I was … | |
Re: https://support.symantec.com/en_US/article.HOWTO42122.html | |
Re: You are never calling the member a() and b() functions to initialize the variables, so they contain random data. | |
Re: Date and time output formatting can easily be done with a format string in the query. Check the MySQL online documentation for your version for details: www.mysql.com | |
Re: Asking people to analyze over 400 lines of code is disrespectful IMO. Eliminate the unnecessary cruft such as many of your getter/setter methods for this class that do no touch the $url member. | |
Re: Standard data queries - SQL Advanced Oracle programming - PL/SQL Do note that PL/SQL is a derivative of the ADA programming language. It also gives you access to Oracle's built-in Java virtual machine, so you can also use it with Java programs (I have done this in the past). | |
Re: These are not trivial needs, but common in data analytics. You need to do your homework. There are tools such as SPSS, SAS and other statistical/analytic programs. | |
Re: What rproffitt said. You can boot your win10 system with a Linux live disc (as long as it is uefi compatible - Ubuntu or Mint work well) and use that to mount the failing Windows discs and copy the data to the target Windows disc. | |
Re: The principal user of a computer should (under most circumstances) be a member of the Administrator group for that PC (only) so they can do these things without a lot of futzing around. | |
Re: Please describe precisely what each field represents so we can tell if you are missing something. ![]() | |
Re: What rproffitt said. Some routers turn that on automatically. Others require configuration to enable that. There are other solutions, but nothing that you would likely be able to employ. | |
Re: This isn't simple. Please tell us exactly what you want to accomplish. FWIW, backtracking is usually a recursive algorithm. Wikipedia may help. | |
Re: Show your database schema (structure) and code, as well as specific issues/errors you are getting if you want some help. | |
Re: I suspect your sound will be fine. Dolby is primarily a noise reduction and sound enhancement technology, although that may have changed over the years. | |
Re: Also, remember there are two MySQL api's for PHP. One is the mysql api (deprecated and no longer supported), and the newer mysqli api which is the currently supported one. You will find documentation for them on the PHP web site documentation pages. | |
Re: @rproffitt - unless you set the compiler switch to treat all warnings as errors... :-) | |
Re: Also, there are gcc options such as -static to generate static libraries with GCC which will be passed to AR appropriately. That may be simpler for you. | |
Re: I'm having a similar problem with my Dell D630 (old system) laptop due to age issues with the display card and system board/bus. I was able to reduce the problem by switching the BIOS to use the internal video adapter instead of the nVidia one. | |
Re: The main question is whether or not there is a tool chain for you to compile code for this DSP. I am not familiar with it so I can't recommend any web sites, but the chip/board vendor should either have a tool chain to build code under Linux, api's that … | |
Re: Assuming you store the salted password in the database, why not use that to zip the files? If the user wants to access that data, then since they have been authenticated by the login process, you can just use that salted hash to unzip the file and give them access … | |
Re: Knowing more fully what you are trying to acccomplish would be useful. | |
Re: If you are rounding up then your results should be 2.90, 3.50, and 0.80. IE, the first term is incorrect. There are standard algorithms for this which you can probably find in Wikipedia, such as this page: https://en.wikipedia.org/wiki/Rounding | |
Re: Floating point math on digital chips is notoriously difficult, and you need to throw away the last bits at the least. My good friend and college buddy Bruce Ravenel designed the architecture of the Intel 8087 math co-processor (https://en.wikipedia.org/wiki/Intel_8086) which was the first implementation of the IEEE floating point standard … | |
Re: Every major distribution has a section of documentation called How-Tos or FAQs. They also have user forums which are great for getting questions answered like you will have. Then there are the Linux Forums (www.linuxforums.org) which is full of helpful posts on most distributions plus other stuff (networking, programming-scripting, etc). | |
![]() | Re: It depends. If the embedded system is not real-time constrained, then any such can use cloud resources for database, heavy duty application processing, etc. If they are real-time constrained, then the question is whether that is "soft" or "hard" real-time. Hard real-time is not a suitable situation to use cloud … |
Re: You can move your photos, videos, audio tracks etc. to the SD card, and as mentioned, some apps can be moved to the card as well. Some will not allowed being moved. Myself, I have been using Android since it first came out and never had an issue moving apps … | |
Re: VLC supports multiple playlists. You can export a current playlist to a file, and then reload that later via Media->Open File. | |
Re: Are you using PHP on the server? If so, then you can load the data in the server, build the web page into a string variable, and then display it all with one output to the client. Remember, PHP is basically C++ for web servers. Most people misuse it terribly … ![]() | |
Re: I use gmail and have my phone automatically sync with my gmail contact list. I can add a contact from my workstation and it will show up on my phone pretty much instantaneously. Ditto the other way around, in that changes made on my phone contact list also show up … | |
Re: So, what exactly is your problem? Have you considered writing a stored procedure in the database that can take the relevant data and do those inserts within the scope of a single transaction? That is a LOT safer than doing the inserts directly in your web code. | |
Re: A syntax error has nothing to do with the data. If the println() function on line 128 is failing, then you did something wrong in the code before that line. You need to run this in the debugger and single step through the function until you find the root cause. … |
The End.