5,331 Posted Topics

Member Avatar for surfingturtle

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 …

Member Avatar for surfingturtle
0
163
Member Avatar for Ahmed_78

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?

Member Avatar for Ahmed_78
0
111
Member Avatar for DavidB

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 …

Member Avatar for rubberman
0
495
Member Avatar for davy_yg

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?

Member Avatar for rubberman
0
123
Member Avatar for Ami Abdul

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).

Member Avatar for AssertNull
-2
216
Member Avatar for johans22

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 …

Member Avatar for rubberman
0
268
Member Avatar for Croco_1

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 …

Member Avatar for tinstaafl
0
425
Member Avatar for Goger030

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.

Member Avatar for Harry_10
0
351
Member Avatar for Saluki

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 …

Member Avatar for pritaeas
0
500
Member Avatar for johans22
Re: bits

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?

Member Avatar for AssertNull
0
260
Member Avatar for Adrian_11

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!

Member Avatar for stultuske
-2
213
Member Avatar for Khang_1

You need to learn about date computation. Read this: https://en.wikipedia.org/wiki/Julian_day

Member Avatar for rubberman
0
156
Member Avatar for v1shwa

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 …

Member Avatar for Tomaski
0
441
Member Avatar for glao

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 …

Member Avatar for glao
0
494
Member Avatar for ANVESH_2

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?

Member Avatar for ANVESH_2
0
997
Member Avatar for Baran_1

@Baran_1: CodeBlocks is a development UI that uses GCC under the covers to compile stuff. What compiler version are you running?

Member Avatar for rubberman
0
5K
Member Avatar for sudip_1

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 …

Member Avatar for rubberman
0
91
Member Avatar for lewashby

Also, check out Clonezilla. That is a standard Linux tool to clone drives and systems.

Member Avatar for rubberman
0
494
Member Avatar for joshl_1995

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 …

Member Avatar for joshl_1995
0
364
Member Avatar for lewashby
Member Avatar for Reverend Jim
0
452
Member Avatar for MiketheBook
Member Avatar for can-mohan

You are never calling the member a() and b() functions to initialize the variables, so they contain random data.

Member Avatar for AssertNull
0
469
Member Avatar for AntonyRayan

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

Member Avatar for cereal
0
580
Member Avatar for Waqas_4

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.

Member Avatar for rubberman
0
324
Member Avatar for Prokopis

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).

Member Avatar for rubberman
0
142
Member Avatar for Christine_5

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.

Member Avatar for rubberman
0
194
Member Avatar for windcaid

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.

Member Avatar for rubberman
0
307
Member Avatar for Ishtiaq_1

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.

Member Avatar for Ishtiaq_1
0
1K
Member Avatar for hell hansen

Please describe precisely what each field represents so we can tell if you are missing something.

Member Avatar for diafol
0
563
Member Avatar for Jeeva_1

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.

Member Avatar for rubberman
0
201
Member Avatar for Lovenia eve

This isn't simple. Please tell us exactly what you want to accomplish. FWIW, backtracking is usually a recursive algorithm. Wikipedia may help.

Member Avatar for rubberman
0
112
Member Avatar for Bronwyn_1

Show your database schema (structure) and code, as well as specific issues/errors you are getting if you want some help.

Member Avatar for Bronwyn_1
0
259
Member Avatar for Douglas_5

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.

Member Avatar for Douglas_5
0
819
Member Avatar for gyno

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.

Member Avatar for Atli
0
189
Member Avatar for Vsrkprasad
Member Avatar for rproffitt
0
1K
Member Avatar for HenCa

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.

Member Avatar for rubberman
0
288
Member Avatar for Scot_2

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.

Member Avatar for rubberman
0
261
Member Avatar for Niranjan_2

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 …

Member Avatar for rubberman
1
263
Member Avatar for zachattack05

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 …

Member Avatar for rproffitt
0
588
Member Avatar for Mr.M
Member Avatar for AssertNull
0
972
Member Avatar for Michael_57

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

Member Avatar for Reverend Jim
0
175
Member Avatar for Zent

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 …

Member Avatar for rubberman
0
182
Member Avatar for FirstName

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).

Member Avatar for rubberman
0
331
Member Avatar for A.M.H

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 …

Member Avatar for jwenting
0
309
Member Avatar for lewashby

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 …

Member Avatar for rubberman
0
327
Member Avatar for JacobBrown

VLC supports multiple playlists. You can export a current playlist to a file, and then reload that later via Media->Open File.

Member Avatar for phong_3
0
465
Member Avatar for AntonyRayan

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 …

Member Avatar for diafol
0
182
Member Avatar for lisaab

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 …

Member Avatar for Werf
0
304
Member Avatar for _1_14

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.

Member Avatar for _1_14
0
218
Member Avatar for PulsarScript

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. …

Member Avatar for JamesCherrill
0
391

The End.