5,331 Posted Topics
Re: As per andy1973's question, there is no ssh in the provided code. The wget command has nothing to do with ssh. | |
Re: This may help: http://stackoverflow.com/questions/7917905/how-to-use-vlc-live-streams-with-html5-video#7955331 Not a simple solution, but it may work for you. | |
Re: Time for you to read the Cisco documentation. I'm sure they cover that in the installation/configuration docs for the switches in question. | |
Re: What was the site? It could be that Google really has no information about the site. This can easily happen with new sites I would think. | |
Re: Create a separate results array, one element less than the array that contains the numbers. Iterate through the array and store the deltas between each pair to the results array. Then you can easily find which pair(s) are closest, as well as there are any other matches. Let's say that … | |
Re: First of all, insert your code example inside code blockes, as in My sample Code: <table class="display" id="example" width="100%" border="1" cellpadding="0" cellspacing="1" bgcolor="#000033" style="border:1px #000066 solid; text-align:center;" > <thead> <tr> <td height="30" width="2%" bgcolor="#1A4779" class="white_bold" >S.No</td> <td bgcolor="#1A4779" width="8%" class="white_bold">Student Name</td> <?php $jjsublist = mysql_query("SELECT * FROM subject,subject_master WHERE subject.standard_id … | |
Re: If you are running SQL Server 2012 on Windows Server 2008, there is a patch you need to install. Don't remember what it is, but you should be able to find it on the MS web site. | |
Re: Which brackets are you talking about? The squiggly brackes such as {...}, or the <?php...?> ones? | |
Re: Why not derive MyClass from MyOtherClass, and make the DoSomething() function virtual? Then, you don't need to implement it in the MyClass class... | |
Re: Well, your last for_each() statement doesn't do anything. Neither does your last std::cout << '\n'; other than output a newline just before you terminate the program. Why not use std::endl instead? Also, what is the output of the statement before the loop where you display the size of the map? … | |
Re: You need to fill the strings ttrack and htrace with dashes after you create them. Then your code to substitute the dash with 'T' or 'H' will work. You also need to display the strings after each round of moveRacers(). Also, your code will not set the correct element in … | |
Re: First, check the cables and connections. I assume it has power. It is possible that a connection is bad, a cable is bad, or the video card is bad. If the video card has another connector, try that. | |
Re: Do we get extra credit for helping you? :-) Write down ALL of the rules to convert Roman to Decimal. Remember though L is 50 and X is 10, whether or not the 10 is added to or subtracted from the 5 depends upon what side of the L it … | |
Re: Build software. Test it, and if it passes systems-level testing, then you release it. This is an important job in the software enginering world. | |
Re: So, where is this function defined? I don't see a definition anywhere in your code. Also, please make clear what your intentions for this are. | |
Re: Accidental double posing? | |
Re: Also you can get MingW which a GCC compiler which works well with Windows. Then, there is Cygwin which is a Linux-like bash shell that runs on Windows and has the full GCC/G++ compiler suite. | |
Re: How old is it? Have you tried cleaning the dust out? Did you spill anything on the keyboard? | |
Re: Is this a web server? Or just a system that is accessible via the internet? | |
Re: I did just that in the deep, dark past when I was studying RSA and public key encryption in general. That was back in the mid-late 1980's. I wrote a program that first seeded an array of 10,000 numbers using the Sieve of Aristostenes. Then, used recursion to determine if … | |
Re: It is saying basicially that the first argument is a type for x and y. Then it assigns to x the value of y, and then increments y. Next it creates a new variable x and assigns the current value of y to that, as well as incrementing the value … | |
Re: Well, since an external display has no problem, I don't think it is the video adapter or chip set. It may be a problem with the connection between the adapter and the screen. Usually on a laptop that is a ribbon cable. It may have a bad or loose connector, … | |
Re: I've purchased refurbs from Dell in the past and had no problems with them. You might want to check what is available on their web site. They come with factory warranty and support, or at least they used to. | |
![]() | Re: So, without any error or other output, there isn't much we can do, other than analyze your code. Also, why are you using pascal? That is just such a dead language (no disrespect to Niklas Wirth intended). And FWIW, I haven't used Pascal in about 35 years... ![]() |
Re: Ok... Not much help here. There a ton of API's that will do that. Please be more specific about what your needs are. | |
Re: Also, don't blow the dust out. Use a vacuum instead. Blowing puts the dust in places where you don't want it, causing problems like this. After vacuuming, then plow with dry air (compressed air cans for this can be found at Office Depot et al, Best Buy, and such), and … | |
Re: So, why are you using mysql arguments (deprecated) instead of mysqli? Also, your argument to mysql_select() is incorrect. I think you should be using $dbcnx instead of $db_database. $db_database is only a name, not a database connection. Also, you are not capturing any database errors that mysql is generating as … | |
Re: Safer, more flexible, most software is free (and open source), and YOU are in control, not the vendor of the operating system! | |
Re: Or a light-weight Linux system, which is basically what a Chromebook is. In any case, they are also much less likely to become infected with malware than a Windows system, plus they are free! | |
Re: First, the partition that you are going to load the OS on has to be flagged as bootable (using fdisk). Next you need to install a bootable OS on that partition. See the source code for unetbootin for some good illustrations on how to do that. It will happily create … | |
Re: Assuming you don't need anything on the device, just reformat it as a raw drive. Then, add a partition, and format that with the file system you want to use. Simple with Linux. More complex (more steps) with Windows. | |
Re: You probably need single quotes around $userid like what you did with main_image. Next question. What is the definition of this table. IE, what types are user_id and main_image? | |
Re: When I need to do this for clients, I will boot from a Linux live DVD with an external usb drive attached which Linux will auto-mount. Then I use the dd command piped through gzip to get the entire drive image and store the image to the external drive. Example: … | |
Re: I haven't gotten that far into your code yet, but WHY are you writing those silly temp_sqrt(int) and similar functions? That just so unnecessary. If you need to compute the square root or a power of some integers, just cast the numbers to floats/doubles as appropriate and do it directly! … | |
Re: 1. Don't hijack a 6 year old (or someone else's) thread. 2. See #1. 3. Don't point to a web site to show your code. Post it in a code block here instead. | |
Re: This, `malloc(sizeof *new);` should be `malloc(sizeof(Node))`. You are only allocating a chunk of memory the size of a pointer - not the size of the Node structure. Fix that and we will go from there. | |
Re: So, have you tried it? Did it work? If not, let us know. Please test these snippits before posting here. If it works, then you are wasting a lot of time. If not, then someone can help you. | |
Re: I find that embedding php inside javascript or html to be very problematic and difficult to debug. I prefer to build up my javascript and html inside of php where adding the variables is trivial. Then the javascript or html that is sent to the client is clean, and performs … | |
Re: And the purpose of this is? Keyloggers can be used to build a remote-control support application (I have done so in the past, and that is what VNC and other RC applications do), or it can be used for nefarious purposes. In any case, it can be a dangerous path … | |
Re: Assuming you are running a 64-bit version of Windows, then remove the 32bit version of the Oracle data access libraries. On Linux, this would not be a problem, but Windows is much more restrictive. | |
Re: First, I would construct a simple string variable with the entire SQL statement, and output that to see what it actually generated. The next thing to realize is that the mysqli...error() functions require an argument which points to the link, such as in your case $insert. IE, the `or die … | |
Re: Things that take up ram in an otherwise under-utilized Windows system: 1. Too many unneeded services or background applications running. 2. File system indexing. 3. Related to #1, too much factory installed cruft that you don't want or need. Included with this is anti-malware software (needed) that has on-access scanning … | |
Re: Agree 110% with @David_W. I get cranky when someones wants me to find a needle in a 1000 line haystack of crufty code. Remember the KISS principle! I have to deal with stuff like this at work, and if the perpetrators of the outrage were still working there, I'd hang … | |
Re: Line 41 is incorrect. It should be `scanf("%d", *n);`. Go from there, and review all your code for incorrect usage of pointers, etc. Another mistake is on line 44. You are allocating n number of movies. I don't think that was your intention (or was it?). Anyway, there are a … | |
Re: When people start using 3 pointer redirections in a function (as you do with your read() function) my eyes roll back in my head and I tell the developer to KISS my ass! That's KISS in Keep It Simple, Stupid! I see that DaniWeb's sanitization software has turned my reference … | |
Re: You probably need to add a "-L <boost-library-path>" and "-l boost_system-mt" to your make file linkage (usually LFLAGS). FWIW, you are also looking for a statically linked boost library. Most are shared libraries, which you should use unless you REALLY need static linkage. Since the library is in your build … | |
Re: Have you tried another vga cable? Or another vga monitor? Did you use the same cable on the PS4? If so, then your computer has a problem with the vga adapter or connector. | |
Re: Try a cold reboot (not a warm restart) and hold down the F2 or Esc key immediately after hitting the power switch/button. | |
Re: Probably not. Windows doesn't play nice with anyone else, even itself. You could install a Linux OS, and it will allow you to do that, boot any OS on the system drives. There may be a means to do what you want, but I don't know how myself. Anyone else … | |
Re: You are passing 5 arguments instead of the 4 that the procedure is defined to use. It looks like the 5th argument is the @studID you are declaring later in the procedure. Why not place that in the argument list? |
The End.