5,331 Posted Topics
Re: First, asking us to analyze over 250 lines of code is just disrespectful. Please indicate what errors you are getting, and where they are coming from at the least. | |
Re: RTFM? The C Builder documentation should cover what you need to do for a new installation. | |
Re: Davy, you are so totally not getting PHP. It is C++ for server-side web development. Treat it as such (you do know C++, right?) and it will quickly become a breeze to work with! I had to remediate about 10K lines of PHP/HTML/JavaScript code at Nokia as a principal engineer … ![]() | |
Re: Good question! I am not enough an expert with InnoDB to say whether or not it supports row-level locking on reads, or does by default. I know that MySQL itself has a ton of configuration options to set that can impact this. In any case, check into that. If your … | |
Re: Simple two-dimensional matrix. First column is the ticket price. Second is the number of tickets were sold at that price. To compute the income, iterate through the matrix, row by row, multiplying the price by number of tickets. Got it? If not, go back to your basic maths. | |
Re: find has some nice options, like restricting the search to either folders or files, and case sensitivity. Let's say you are just looking for jpeg file: find root-dirname -type f -iname '*.jpg' You will get a list of jpeg files (including directories they are in) starting in the "root-dirname", such … | |
Re: A 1.6 GHz Atom processor running a 32-bit OS is not going to get much better, performance-wise. It is probably already doing its best. | |
| |
Re: Dear Aleš_1, you are a new member of these forums, so we will give you a bit of slack. I have over 15 years Linux experience, but just saying "WiFi" in a post is not particularly useful to help you. Many Linux distributions (you don't mention which yours is) don't … | |
Re: In this code: class Gallery_model extends CI_Model { public function get_picture($pic_unique_id) { $query = $this->db->get_where('galleries_pictures',array('pic_id'=> $pic_unique_id)); return $query->result(); } } So, show where you are creating and initializing Gallery_model. Also show the full structure and definition of CI_Model and Gallery_model. Seems that you aren't initializing the db member variable properly. | |
Re: There is this search tool called Google. It found these: https://support.microsoft.com/en-us/help/2928422/internet-explorer-10-proxy-setting-in-a-group-policy-object-is-corrupted http://thesolving.com/server-room/how-to-force-proxy-settings-via-group-policy-on-windows-server-2012/ My search terms were "Windows Server 2012 Proxy group policy settings". | |
Re: Another issue is your use of "\n" << endl; for end-of-lines. Leave out the "\n" the endl will deal with that for you. Common beginner mistake with C++ string output. Remember that endl will also flush the output stream. You only need the extra new-line if you want your output … | |
Re: How old is this system? It sounds like a motherboard problem, such as bad capacitors, bad solder joints, etc. | |
Re: Time to read the f***ing manual! You can find the PC BIOS specs online, as well as DOS interrupts. I presume you are running DOS on your system? Or in a virtual machine? | |
Re: Sometimes you need an external bluetooth device that you put into discovery mode so that the PC hardware has a signal to latch onto. However, as rproffitt pointed out, are you SURE this has bluetooth? | |
Re: What cereal said. Use mysqli instead in any case. The mysql interface has been deprecated for a LONG time! ![]() | |
Re: Each day you should create a new table with an auto-increment column, otherwise you will have to change your algorithm and use something else for the SN. There are other ways around this problem, but they are too complex to go into here. I've had to deal with them in … ![]() | |
Re: And WHAT THE FARK IS ZAKAT? Sorry for my French, but my ignorance of Middle-Eastern acronyms is appallingly bad... | |
Re: And anyone who does a join on 5 tables deserves what they get - likely zero results! | |
Re: We don't do your homework. Linear is trivial - do it on paper first. Binary search is not hard either. Both subjects are covered in detail in most CS text books. | |
Re: So, the question is whether this user folder is a system directory, or something in the database? These are very different things. If a system directory for the user, then select the image from MySQL into PHP, and then simply write it as a file to the appropriate user directory. | |
Re: Actuallly, https://en.wikipedia.org/wiki/Lexical_analysis does have links to C/C++ lexers as well as java ones. Lexical analysis is the process of turning a program into symbolic tokens and creating a structure (usually some sort of tree structure) that a parser/compiler can use to create byte code and binary (executable) program code. | |
Re: Not asking for much are you? You figure out what game you want to code, and then you write the code. Post code and such here when you have run into problems. Sorry, but we don't do your work (or homework) for you! | |
Re: Make a backup copy, install directly, and see how it works. If you have a problem with it, then you still have the original to import from. ![]() | |
Re: Sounds like it has a serious hardware or software problem. If not still under warranty, they should just replace the unit. | |
Re: Ouch! Not sure what you can do as the system is remote. Have you run chkdsk on the system to see if there are file system problems? You can do that without rebooting, or on reboot if you wish. Anyway, a reboot may be necessary. Given the user directory is … | |
Re: You need to post your errors and where they are coming from if you want any reasonable help. Asking for people to analyze 250+ lines of code is not usually received well. In any case I don't have time as I am currently out of the country until after the … | |
Re: How are you supposed to modify the title? Manually? Automatically? And why can't you use a file to assist in the processing? IE, name pairs of "old name" + "new name". Also, is this a homework project? | |
Re: You can also use it to encode hex characters as in \x1e. Example: `printf("This is 0x1e as output: \x1e\n");` Note the \n at the end. That's so the new-line is output also. Makes for easier reading. | |
Re: 25 % 2 == 1. The modulus is the remainder after the division, so 25 / 2 == 12 with a remainder of 1. So, if i % 2 == 1, it is odd. If 0, then it is even. The bit-wise operation, if the language supports that, is a … | |
Re: What rproffitt said. Also, this is an indication that either the file system is munged, or the disc has too many bad sectors. Back up the data and get a new thumb drive, as advised. | |
Re: Have you tried restarting the server? Did your system crash while SqlServer was running? You also might run a disk check to see if you have disc / file system problems. | |
Re: First, comment each line with what you are intending it to do. Next, I havent been doing serious x86 assembler programming in 20 years so I need your comments in order to understand your intentions. | |
Re: A perfect example of how to NOT get help on Daniweb... | |
Re: What the Reverend Jim said. Also, have you checked the HDMI cable? What if you connect via VGA (I assume your system has a VGA connector)? | |
Re: There is always the speed of light to consider, plus switching time in the necessary optical cable repeaters. That's about 135ms to traverse the world without repeaters, routers, switches, etc. From Amsterdam to NYC you still are looking a 20ms just to cover the distance. There there are all of … | |
Re: How to open and read a file in assembly language? Is it compiled, or source? If source, just use a regular text editor. If compiled, you need to get a decompiler and turn it into text first. | |
Re: Sorry, but this is invalid code. i is not initialized before you use it in the switch statement. It will contain random values. | |
Re: This is one of the most common real-world problems you will encounter in computer programming. There are a number of approaches. There is simple but slow, and more complex but fast. Which depends upon your needs. If you are needing parse a million of these strings in a short period, … | |
Re: You need to read up on sed and Linux/Unix regular expressions. The dot (.) has a special meaning - ie, any character. You need to preface each with an escape back slash (in a shell, two back slashes) to tell the tool to consider only a dot. Also, forward slashes … | |
![]() | Re: Basic programming stuff. Show your code and I'll show you where you are in error. |
Re: Probably an LED back-lit LCD display of at least 1920x1200 resolution (higher resolutions are now available such as 4K displays). I'm not sure that in your case any particular technology is preferable, though you might want to check them out at a computer store near you. | |
Re: You don't show the message in your post, so helping is difficult. Since a lot of system tools depend upon Java these days, it should be installed on your system. You need to do a thorough system virus/malware scan, preferable using multiple A/V tools. | |
Re: It looks like you have two subnets, 10.0.0.0 and 10.0.1.0. Is this correct? | |
Re: 1) The x and y members of Point2D are protected, and since Line2D doesn't inherit from Point2D, or has been friended by the Point2D class, this is expected. 2 and 3) setLength() in Line2D has no return type in the .cpp file. Even if it returns void, you still need … | |
![]() | Re: All you show is the XML file. Please show your code (php and laravel) and errors you are getting. Also, read the terms of use for this site. We don't do your work/homework for you. |
Re: Please read this site's terms of use. We don't do your homework for you. Make an honest effort, then show your code and errors/problems you are getting and then we can help. | |
Re: Just posting all this code isn't too helpful. Please also post the errors you are getting. |
The End.