5,331 Posted Topics

Member Avatar for Ravi_31

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.

Member Avatar for Ravi_31
0
440
Member Avatar for Sukhdeep_1

RTFM? The C Builder documentation should cover what you need to do for a new installation.

Member Avatar for rproffitt
0
508
Member Avatar for davy_yg

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 …

Member Avatar for Mark_k
0
306
Member Avatar for Dani

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 …

Member Avatar for pty
0
262
Member Avatar for Eugene_8

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.

Member Avatar for rproffitt
0
617
Member Avatar for Reverend Jim

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 …

Member Avatar for rubberman
2
680
Member Avatar for Syberia

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.

Member Avatar for rproffitt
0
282
Member Avatar for Dani
Member Avatar for Aleš_1

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 …

Member Avatar for rubberman
-1
406
Member Avatar for davy_yg

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.

Member Avatar for davy_yg
0
2K
Member Avatar for professor123

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

Member Avatar for professor123
0
644
Member Avatar for irbaaz
Re: C++

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 …

Member Avatar for rubberman
0
279
Member Avatar for Eurgel

How old is this system? It sounds like a motherboard problem, such as bad capacitors, bad solder joints, etc.

Member Avatar for rproffitt
0
597
Member Avatar for komal_5

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?

Member Avatar for rproffitt
0
170
Member Avatar for Amr_3

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?

Member Avatar for rubberman
0
416
Member Avatar for Lloyd_4

What cereal said. Use mysqli instead in any case. The mysql interface has been deprecated for a LONG time!

Member Avatar for diafol
0
270
Member Avatar for amith_ami

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 …

Member Avatar for diafol
1
406
Member Avatar for Qayyum_1

And WHAT THE FARK IS ZAKAT? Sorry for my French, but my ignorance of Middle-Eastern acronyms is appallingly bad...

Member Avatar for neon_2
0
4K
Member Avatar for vitaquous

And anyone who does a join on 5 tables deserves what they get - likely zero results!

Member Avatar for rubberman
0
310
Member Avatar for shubham_8

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.

Member Avatar for rubberman
0
151
Member Avatar for Ahmed_80

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.

Member Avatar for rubberman
0
641
Member Avatar for esra_2

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.

Member Avatar for rubberman
0
156
Member Avatar for Lucas_10

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!

Member Avatar for Lee_15
-2
440
Member Avatar for GBMicros

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.

Member Avatar for steve.durfee
0
333
Member Avatar for joshl_1995

Sounds like it has a serious hardware or software problem. If not still under warranty, they should just replace the unit.

Member Avatar for DMR
0
1K
Member Avatar for Dani

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 …

Member Avatar for Dani
0
530
Member Avatar for zekstein

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 …

Member Avatar for rubberman
0
1K
Member Avatar for shalu_1
Re: c++

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?

Member Avatar for shalu_1
0
182
Member Avatar for Connie_4

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.

Member Avatar for brothman01
0
768
Member Avatar for Siva_13
Member Avatar for Brian_22

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 …

Member Avatar for rubberman
0
541
Member Avatar for phphp
Member Avatar for Ritesh_4

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.

Member Avatar for Reverend Jim
0
377
Member Avatar for Saboor880

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.

Member Avatar for Alec_2
0
462
Member Avatar for Maria_21

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.

Member Avatar for Taywin
0
452
Member Avatar for Ramaah
Member Avatar for Aeonix
-5
632
Member Avatar for parrish

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

Member Avatar for rubberman
0
365
Member Avatar for Aeonix

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 …

Member Avatar for rubberman
0
347
Member Avatar for 绍禹

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.

Member Avatar for rubberman
0
226
Member Avatar for Muhammad_122

Sorry, but this is invalid code. i is not initialized before you use it in the switch statement. It will contain random values.

Member Avatar for rubberman
-1
457
Member Avatar for Thomas_36

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

Member Avatar for rubberman
0
1K
Member Avatar for lewashby

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 …

Member Avatar for rubberman
0
343
Member Avatar for nana_1
Member Avatar for MiketheBook

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.

Member Avatar for rproffitt
0
201
Member Avatar for joanelaine

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.

Member Avatar for joanelaine
0
177
Member Avatar for James_43

It looks like you have two subnets, 10.0.0.0 and 10.0.1.0. Is this correct?

Member Avatar for James_43
0
404
Member Avatar for Prathyaksha

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 …

Member Avatar for rubberman
0
396
Member Avatar for Abhinav_6

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.

Member Avatar for rubberman
0
1K
Member Avatar for RiZz_1

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.

Member Avatar for rubberman
0
164
Member Avatar for EVELYN_2

Just posting all this code isn't too helpful. Please also post the errors you are getting.

Member Avatar for tinstaafl
0
254

The End.