5,331 Posted Topics

Member Avatar for toxicandy

Some channels are defaults (6 and 11 typically) so as more people connect over those channels, the performance drops. When both are in use you should be able to select the channel your adapter will connect with for that specific SSID. You may not get better speeds, but you may …

Member Avatar for rubberman
0
353
Member Avatar for WmRobt

Some applications, such as Firefox, remember where they were last opened, and if at that time you had 2 displays, that might explain your experience. Go to the icon bar (usually at the bottom of the screen, right click on the application icon, and select "Move". That should let you …

Member Avatar for WmRobt
0
255
Member Avatar for PratikSagar

This is possible, but not simple or trivial. Try some Internet searching for tools that can extract text from photo images. I'm sure they exist - some commercial, and some (possibly) open source (free).

Member Avatar for JamesCherrill
0
328
Member Avatar for lewashby

1. Make the disc have a standard Linux file system such as ext3 or ext4. 2. Have the PI system mount the disc file system in a local directory such as /mnt/backup 3. Have the PI export the file system (/mnt/backup if as above) as an NFS share. 4. On …

Member Avatar for rereus
0
326
Member Avatar for Viny_1

Good start Viny. Also, remember the KISS principle - complex code is fragile and difficult to understand or debug. Let each function do one thing perfectly.

Member Avatar for Reverend Jim
1
309
Member Avatar for Violet_82

First, erase the boot/partition sector - with linux: dd if=/dev/zero of=/dev/sdX count=1 This will erase the boot/partition sector. Then use fdisk to create a new partition for whatever file system type you want. Then format that with the file system desired as in: mkfs -t fs-type /dev/sdX1 The fs-type option …

Member Avatar for Reverend Jim
0
2K
Member Avatar for João_7

The mysql api's in PHP have been deprecated in favor of the mysqli api's. You seriously need to change your code if you are running PHP 5.0 or later. If you are running earlier versions of PHP then you are operating out of the Dark Ages!

Member Avatar for rubberman
0
341
Member Avatar for icite

There are a ton of javascript tools / api's out there to do just about anything you want. Use PHP on the server and HTML/JS on the client. Use PHP to build up the output strings with HTML and JS and then send them in a single message to the …

Member Avatar for jkon
0
344
Member Avatar for deboararo

1. Design 2. Code 3. Debug 4. Re-design 5. Re-code 6. Debug 7. Goto #4 until stuff works as you wish and any idiot can understand the design.

Member Avatar for rubberman
0
89
Member Avatar for Federico_1
Member Avatar for ZER09

Just because a process is "sleeping" doesn't mean it isn't running. It is just waiting for a timer or wakeup event to happen.

Member Avatar for ZER09
0
155
Member Avatar for chrisschristou

In Java you first have to import (similar to #include) the package that defines the method. So no, there is no function prototype AFAIK in Java.

Member Avatar for JamesCherrill
0
1K
Member Avatar for Asmaa_7

Forget strtok. It is useful for some stuff, but it DOES modify the input string. Write your own parser that walks through the string and extracts the numbers as needed. I do this sort of thing all the time - one of my jobs is to write parsers for customer …

Member Avatar for ddanbe
0
293
Member Avatar for Vessy

Quicksort (or qsort in C nomenclature) is an array-based sorting algorithm and a standard tool for every C/C++ compiler known. I used to use it for sorting linked lists, but the first thing you have to do is put the list elements in an array, create a compare() function, and …

Member Avatar for rubberman
0
346
Member Avatar for Curious Gorge

Are these sorted arrays? If so, can't you use bsearch to find the position needed? And if you need to insert a new element, then use a modified bsearch algorithm that will return the insert position in a passed pointer or reference variable (depending upon whether you want a C …

Member Avatar for rubberman
0
617
Member Avatar for Musab_1

Also, don't ask us to do your homework for you. Make an effort, post your code and errors/problems you are having, and then we can help you much more effectively.

Member Avatar for rubberman
0
177
Member Avatar for AntonyRayan

Connect with and login to master, get the userids and passwords for beta and gamma (comma?), then connect with and login separately to each client database.

Member Avatar for rubberman
0
219
Member Avatar for Dave34343

Given the missing system files, I think your system has been infected with some trojan/virus/malware. What is your normal A/V program? And is it active?

Member Avatar for rproffitt
0
443
Member Avatar for Wendy_4

Since an external display works fine, it is not likely a driver or system problem, other than the fact that the display is probably failing. The controller also handles external displays, so it isn't the video controller.

Member Avatar for Wendy_4
1
219
Member Avatar for davewylie
Member Avatar for Jamie-Rhys

This is what internet search engines are for. There are plugins for excel that can "pretty print" your data, but I don't personally know what they are. Others here may be more knowlegable than I am about that.

Member Avatar for rubberman
0
429
Member Avatar for Sandeep_16

Show what you have done. This is a common CS problem and whether you want the consumers in the same process, other processes on the same host, or other processes on other hosts, will change how you deal with the problem. There are tools to do this, such as MPI …

Member Avatar for JamesCherrill
0
238
Member Avatar for opawix

Posting links like that here is frowned upon as we have no way to know if it will infect our system with a trojan. Please post the requirements, code, and such here directly.

Member Avatar for diafol
0
277
Member Avatar for Zeenat_1

Sorry, but according to the terms of usage for Daniweb (which you agreed to when you signed up) we don't do your homework for you. You need to get started on this, and when you hit a wall with your design and code, then post that with your questions here.

Member Avatar for rubberman
0
38
Member Avatar for DANIELJB
Re: c++

First, map each grade to a number, such as F == 0 D == 3, D+ == 4, D- == 2 C == 6, C+ == 7, C- == 5 B == 9, B+ == 10, B- == 8 A == 12, A+ == 13, A- == 11 Then, finding …

Member Avatar for rubberman
0
96
Member Avatar for shashigowda

Here are a some links that may help: http://code.tutsplus.com/tutorials/how-to-send-text-messages-with-php--net-17693 https://www.clickatell.com/developers/scripts/php-library/ http://www.nowsms.com/doc/submitting-sms-messages/send-sms-text-message-with-php I found these with a simple DuckDuckGo (Google without the ads) search: Sending SMS messages from PHP There were a bunch more that came back with in the results.

Member Avatar for rubberman
0
338
Member Avatar for DANIELJB

Please be more specific. Linux uses networks just like any operating system, to communicate with other computers, and even itself (localhost).

Member Avatar for rubberman
-1
95
Member Avatar for ALosh99

How are you generating your random numbers? Show your code please. Assuming you have assigned a random number (usually using the rand() function if C or C++) to randomnumber1 and randomnumber2, then your computation should be correct. You initialize your random number generator with a seed value - often the …

Member Avatar for ALosh99
0
261
Member Avatar for toxicandy

In this code, as tinstaafl mentions, you may be geting the -1 index of word in the else branch. You need a test for isMobile being less than 0. if(i != 0){ if( word[i] > word[i - 1] ){ if(counter == 0){ counter++; isMobile = i; }else if ( word[i] …

Member Avatar for rubberman
0
272
Member Avatar for Aeonix

HTTPS / ssh encrypt the data stream. There are some issues with that, depending upon the hash and encryption algorithms your particular implementation is using. However, they are mostly pretty secure. As for blocking specific implementations of the game code / data stream, that is up to the implementors. They …

Member Avatar for ryantroop
0
457
Member Avatar for toxicandy

try `int dir[]` in the function definition (the declaration is in the header - the definition is in the source file by standard convention). Another thing, you will be making a copy of the array this way. If the array is big, It is better to use a pointer to …

Member Avatar for rubberman
0
475
Member Avatar for lewashby
Member Avatar for jamesbradley
Member Avatar for miruuu

We don't do your homework for you. Try to solve the homework problem and if you are still having difficulties then post your code here.

Member Avatar for rubberman
0
178
Member Avatar for Ben_15
Member Avatar for rubberman
0
328
Member Avatar for danibootstrap

It seems your code has defined the function pointer that returns scal has no matching version that takes a `void*` argument. Post the function declarations that may be relevant.

Member Avatar for rubberman
0
297
Member Avatar for Raj_14
Re: Help

What the others said. Describe the problem and its symptoms/errors.

Member Avatar for rubberman
0
108
Member Avatar for Enri_1

It depends upon the browser. For example, Firefox will allow you to specify in the configuration pages that opening a shortcut or new link will open a new tab or window.

Member Avatar for kamalsaber
0
159
Member Avatar for Acurapassion

1. The mysql_connect() function returns a resource if the connection succeeded, or boolean false if not. 2. Use the mysqli api's for MySQL connectivity - the mysql functions are deprecated for more current PHP versions. Your updated version is more correct. Your problem regarding the "access denied" error is in …

Member Avatar for cereal
0
529
Member Avatar for Yatin_2

I listen to audio on my Linux system all the time. High def stuff without problems. I use VLC as my media player, and my system runs pulse audio and alsa sound libraries. I do have a good pair of Bose speakers... Windows never sounded so good.

Member Avatar for Itsdigger
-2
343
Member Avatar for Centorpe

What? Besides the fact that this is a terrible piece of code? You are mixing doubles, integers, and floating point values. You need to cast everything to a double to compare them, otherwise the math co-processor will mis-interpret what you want.

Member Avatar for Centorpe
0
218
Member Avatar for Sean Francis
Member Avatar for Sean Francis
2
279
Member Avatar for Zzz_1

You are accessing the array as a 1 dimentional one, but you have defined it as a 2 dimensional array. Your readarray() method is only assigning numbers to array[1][0...9], so your sum loop is wrong.

Member Avatar for gemsvidhi
0
609
Member Avatar for SimonIoa

It depends upon the table definition. If a_id is unique, then you need to alter the table structure so that a_id is no longer unique and the primary key is composed of a_id and to_user_id. Then, you can have multiple rows to the same a_id, but each a_id can only …

Member Avatar for SimonIoa
0
249
Member Avatar for ALosh99

Your code isn't complete the X and Y Diffusion functions do nothing, and you never call them from your base code. Think about what you are doing, and make sure that the code reflects that thinking, algorithmically speaking.

Member Avatar for ALosh99
0
619
Member Avatar for aalekh

The thing about arrays that are dynamically updated (new or changed entries) is that to keep it sorted is expensive. Myself I have resorted usually to using an insertion sort algorithm where when you insert or modify an entry that will change the order it should be in, you do …

Member Avatar for rubberman
0
2K
Member Avatar for dhooley

Make some effort to code this yourself first. As a bit of advice, use PHP as the object-oriented (C++ like) language that it is. Create your classes with the member variables and methods you need. Build up strings with the html and javascript you want the client to process, and …

Member Avatar for diafol
0
771
Member Avatar for rantnna

Sorry, but we don't do your work for you. Make an effort to code this in the language of your preference and then we can help.

Member Avatar for 2teez
0
379
Member Avatar for OsaMasw

When it crashed, did you get a traceback of the crash? Java (and Dalvik) will provide a nice stack trace to show you where the problem actually occurred. Since you say it only happens when closing the application, then I suspect you have munged something in your code that on …

Member Avatar for OsaMasw
0
652
Member Avatar for damijay

I have to assume you are running VMware and VirtualBox? In either case, I haven't seen this error. It may be that your OS image that your are trying to install is corrupted. Try another.

Member Avatar for rubberman
0
1K

The End.