Hi all;;; please can anyone help me , when i opend my java program i wrote it previously ,,,i see the red line in the editor and code dosent exist ????and the error that appear : illegal character: \u000. I am very sad for this because my program ia too long and i can't write it again .... please i want help to recovery my code......!!!!!!

Member Avatar
Member Avatar
+0 forum 7

I'm getting these types of errors: identifier "gm" is undefined or expected a ';' How do I fix these errors? #include <iostream> #include <cstdlib> //srand #include <ctime> //time #include <cmath> #include <string> using namespace std; int G_master; int m_secret; int m_choice; int m_win, m_prev_delta; int Number_guess; int Card_guess; int delta; int endchk; class G_master public: int m_secret; int m_guess; int m_win; int m_prev_delta; void setup(); void hello() { cout << "Hello\n"; } void listen(); void respond(); void menu(); int endchk(); void prompt(); void cleanup(); void conversation(); }; int main() { G_master gm; gm.conversation(); return 0; } void G_master::conversation() { setup(); …

Member Avatar
Member Avatar
+0 forum 23

I am working with two seperate files which contain similar code - One throws a parse error for an identical line, the other does not. I do not understand why this would be. **The error on the file that will not run is**: Parse error: syntax error, unexpected '2' (T_LNUMBER) Here is a code snippet that works without the parse error: `if (($indx % 2) == 1) {$rowClass = $trOdd; } else { $rowClass = $trEven; } echo '<tr '.$rowClass.'>';` Here is a code snippet that does not work and has the parse error: `if (($indx % 2) == 1) …

Member Avatar
Member Avatar
+0 forum 3

When there should be a error it does not show. I can not seem to get the erorrs to work in the correct order How can I improve my file upload errors to work in correct order? public function upload() { $name = $_FILES['userfile']['name']; $tmp_name = $_FILES['userfile']['tmp_name']; $type = $_FILES['userfile']['type']; $size = $_FILES['userfile']['size']; $error = $_FILES['userfile']['error']; for($i = 0; $i < count($tmp_name); $i++) { $dir = FCPATH . "upload/"; if (is_dir($dir)) { if (!empty($name[$i]) && is_file($name[$i])) { // Allowed file extension types $allowed = array( 'jpg', 'jpeg', 'gif', 'png' ); if (in_array(utf8_strtolower(utf8_substr(strrchr($name[$i], '.'), 1)), $allowed)) { $this->error['warning'] = 'Incorrect File …

Member Avatar
Member Avatar
+0 forum 2

I can't get it to compile. I've tried so many things. The errors |29|error: expected unqualified-id before '{' token| |266|error: expected '}' at end of input| |266|error: expected unqualified-id at end of input| ||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===| Here is the code` #include <iostream> using namespace std; template <class T> // // ADD STATEMENT BELOW TO DECLARE A CLASS NAMED DynStack. class DynStack { private: // // STATEMENT BELOW TO DECLARE A struct NAMED StackNode. struct StackNode; T value; StackNode *next; { T value; StackNode *next; // Constructor StackNode(T val, StackNode *nextP) { …

Member Avatar
Member Avatar
+0 forum 2

Hi I try run this program(TestLib1.asm) [Click Here](https://github.com/mysteriouspants/SlopBukkit/blob/master/CS118/examples/ch05/TestLib1.asm) in my Visual Studio 2012 pro but I got errors I think the erros not in code I think in my Visual Studio 2012 configuration! Anyone know how can I fix it Error3 error LNK2005: _main@0 already defined in proj1.obj Error4 error LNK2019: unresolved external symbol _Clrscr@0 referenced in function _main@0 Error6 error LNK2019: unresolved external symbol _Clrscr@0 referenced in function _main@0 c:\Users\ OutPut '"c:\users\win8\documents\visual studio 2012\Projects\proj\Debug\p roj.exe"' is not recognized as an internal or external command, operable program or batch file. Press any key to continue . . . I apriciate …

Member Avatar
Member Avatar
+0 forum 2

Hello everyone I make weekly backup of data in the server company in an external hard drive, good most of the time I do the backup while working hours so everyone has access to the server, my problem is the following: copying is erroneous it shows me errors and I do not know the cause, I think it is because of sharing data when copying ????? What do you think. ???? thank you very much for your help kind regards

Member Avatar
Member Avatar
+0 forum 1

Bugs are, and always have been, a fact of life for the software developer. However, if Microsoft researcher Andrew Begel has his way, they could be a thing of the past. Last month a paper entitled '[Using Psycho-Physiological Measures to Assess Task Difficulty in Software Development](http://research.microsoft.com/apps/pubs/default.aspx?id=209878)' was published which Begel co-authored. This week, Begel spoke at the annual Microsoft Research Faculty Summit on the subject. Basically what Begel and his research colleagues are saying is that the existing work looking at dealing with programming errors tends to focus on the "post hoc identification of correlations between bug fixes and code" …

Member Avatar
Member Avatar
+1 forum 1

<? $connection = mysql_pconnect("***","***","***"); mysql_select_db("***"); $id = mysql_real_escape_string(strip_tags(stripslashes($_GET['id']))); $getUser = mysql_query("SELECT * FROM user WHERE id='".$id."'"); $gU = mysql_fetch_object($getUser); $Background = $gU->Background; if (empty($Background)) { $Background = ""; } $Hat = $gU->Hat; if (empty($Hat)) { $Hat = ""; } class StackImage { private $image; private $width; private $height; public function __construct($Path) { if(!isset($Path) || !file_exists($Path)) return; $this->image = imagecreatefrompng($Path); imagesavealpha($this->image, true); imagealphablending($this->image, true); $this->width = imagesx($this->image); $this->height = imagesy($this->image); } public function AddLayer($Path) { if(!isset($Path) || !file_exists($Path)) return; $new = imagecreatefrompng($Path); imagesavealpha($new, true); imagealphablending($new, true); imagecopy($this->image, $new, 0, 0, 0, 0, imagesx($new), imagesy($new)); } public function Output($type = "image/png") { …

Member Avatar
Member Avatar
+0 forum 1

the codes running ok on NetBeans, and wih the error messages while I am running the jar file. Any helps with the following code would be very appreciated. Scanner file = null; while(file.hasNext()){ if (file.hasNextInt()) list.add(file.nextInt()); else file.next(); }

Member Avatar
Member Avatar
+0 forum 2

I have this method I'm trying to the return is the student that will be removed and then remove student at pos I tried almost everything I put the return outside the if statment , but I still get error I also tried to substract 1 from the size but I still get error. the error is arrayIndexOutOfBound it said index 4 and size 4 .. what should I do public Student removeStudentAt(int index) { Student stu = list.get(index); if (index < 0 || index > list.size) { return null; } else { list.remove(index); return stu; } } my next …

Member Avatar
Member Avatar
+0 forum 5

Hi All, Some of my webpages in ie showing scripts erros at the bottom left. How to deal with that Thanks in advance

Member Avatar
Member Avatar
+0 forum 9

Hello Today i install mysql on my system and after that when i try to run the server it didn't start from the startup and when i try to run theserver through cmd i found the given error. C:\Program Files\MySQL\MySQL Server 5.6\bin>mysql ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061) C:\Program Files\MySQL\MySQL Server 5.6\bin>mysqld 2013-06-02 08:48:26 0 [Warning] TIMESTAMP with implicit DEFAULT value is depre ted. Please use --explicit_defaults_for_timestamp server option (see documenta on for more details). 2013-06-02 08:48:26 4660 [Warning] Can't create test file C:\Program Files\MyS \MySQL Server 5.6\data\user-PC.lower-test 2013-06-02 08:48:26 4660 [Warning] Can't create test …

Member Avatar
Member Avatar
+0 forum 1

I'm in need of help please. my customer wants this site done buy tomorrow and it was almost finished. until i did something stupid. the problem is that i dont know what. My site is working fine on mobile phones and in Firefox.. but for some reason it will no longer show up in EI. Ive been google all day and have been at it for hours trying to debug. Im sure its something stupid. PLEASE HELP its [Click Here](http://www.martezwarrenministries.org)

Member Avatar
Member Avatar
+0 forum 9

I am making an ABACUS MODEL program which adds counters to pegs. The program compiles fine but when i use the test that was issued to me (as pictured) it appears as though my program does not work as intended. I don't know if anyone will be able to help me solve this but any attempts or suggestions will be very helpful. Not particularly talented with Java. ## Variables: ## **thisPeg** - an integer that refers to any of the pegs in the abacus **peg_array[]** - stores the number of counters present in each of the pegs in the abacus …

Member Avatar
Member Avatar
+0 forum 1

Dropbox’ iOS app is having some serious issues lately. With its recent update to version 1.5, users have been reporting a rash of password errors and black screens upon logging in. The supposed fix, released today (version 1.5.1) has solved the problems for some, though most affected users are reporting that the effort has yet to make the app actually usable. If you’re currently using a working version of Dropbox for iOS, we strongly recommend that you hold off on updating until everything is sorted out. If you’ve already updated, however, there may be some hope: Simply delete the app …

Member Avatar
Member Avatar
+0 forum 1

I am having a problem installing CF 10. I keep getting an HTTP 500 Internal Server Error. Detailed Error Information **Module:** IsapiModule **Notification:** ExecuteRequestHandler **Handler ** cfmHandler **Error Code:** 0x80004005 ** Requested URL** http://127.0.0.1:80/CFIDE/administrator/index.cfm **Physical Path** C:\ColdFusion10\cfusion\wwwroot\CFIDE\administrator\index.cfm **Logon Method** Anonymous **Logon User** Anonymous

Member Avatar
Member Avatar
+0 forum 4

Hello everyone, My dvd burner is playing up. It has got progressively worse and is now rendering discs unusable every time I try to use it. Even with a new/valid DVD, Windows Backup gets to about 85% and then reports errors on the disc. On loading some discs the progress bar in WinEx goes into slow motion, and Win refuses to format it. Sometimes I can Erase a disc and then it allows me to attempt to Format. The format proceeds to "5 seconds remaining" and then "Windows was unable to complete the Format". All these things happen across several …

Member Avatar
Member Avatar
+0 forum 9

I have a contact form on my site when I click send I get the following errors: can anyone help please. Warning: fsockopen() [function.fsockopen]: unable to connect to 127.0.0.1:25 (Connection refused) in /home/jholmes6/public_html/contact/contactpage/sendmail.php on line 102 Warning: fgets(): supplied argument is not a valid stream resource in /home/jholmes6/public_html/contact/contactpage/sendmail.php on line 103 Warning: Cannot modify header information - headers already sent by (output started at /home/jholmes6/public_html/contact/contactpage/sendmail.php:102) in /home/jholmes6/public_html/contact/contactpage/sendmail.php on line 72 the code to send the email is below: < ?php //set variable error var $er = 0; //enter the website the contact form is on $website = 'GetSophos.co.uk'; //Set all …

Member Avatar
Member Avatar
+0 forum 2

Error 6 error C2143: syntax error : missing ';' before ')' c:\users\datacompress.cpp 214 1 Error 8 error C2039: 'putSymbol' : is not a member of 'std::basic_ofstream<_Elem,_Traits>' c:\users\datacompress.cpp 291 1 Error 9 IntelliSense: class "std::basic_ofstream<char, std::char_traits<char>>" has no member "putSymbol" c:\users\datacompress.cpp 291 12 #include <fstream> #include <string> #include <iostream> #include <ostream> using namespace std; ifstream infile ("File.txt", ios::in | ios::binary); ofstream outfile("Fileoutput.txt", ios::out|ios::binary); int freq; unsigned char symbol; char leftLeaf; char rightLeaf; void hufftree(); int compare; int* lptr; int* rptr; char root; void putSymbol(char * code); void putBit(); class NODE { friend class TREE; private: int freq; int symbol; char * …

Member Avatar
Member Avatar
+0 forum 7

I wrote this program, when i run it, everything seems to work ok, but in the eclipse console i get a long list of errors, what is wrong with my program and how should i fix it? thanks import java.applet.Applet; import java.awt.Color; import java.awt.Graphics; import java.awt.List; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; // <applet code="AppletInterfaz" width="300" height="200"> </applet> public class AppletInterfaz extends Applet implements ItemListener { List colors; public AppletInterfaz() { colors = new List(4); colors.add("Aqua"); colors.add("Black"); colors.add("Blue"); colors.add("Fuchsia"); colors.add("Gray"); colors.add("Green"); colors.add("Lime"); colors.add("Maroon"); colors.add("Navy"); colors.add("Olive"); colors.add("Purple"); colors.add("Red"); colors.add("Silver"); colors.add("Teal"); colors.add("White"); colors.add("Yellow"); add(colors); colors.addItemListener(this); } public void itemStateChanged(ItemEvent ie) { repaint(); } public …

Member Avatar
Member Avatar
+0 forum 3

cause of erorr enum,interface,class expected?give suggestions

Member Avatar
Member Avatar
+0 forum 2

I am using reCaptcha and for some odd reason, I keep getting this error: **is_valid) { echo "You got it!"; } else { # set the error code so that we can display it $error = $resp->error; } } echo recaptcha_get_html($publickey, $error); ?>** Can someone explain to me what is wrong?

Member Avatar
Member Avatar
+0 forum 2

Hello, i am making a keyboarding site for my class, and i have a div with some text inside, when they type, i want to check if the text matches the text in the div, if it dosn't, i wan't to update a box with an "error count". How can i achive this?

Member Avatar
Member Avatar
+0 forum 8

Hi I want to find out is there a way to check syntax errors on PHP. I went to this site http://php.net/manual/en/function.php-check-syntax.php but I didn't quite understand the example in there. Is there a software that I can check the errors. I used EasyPHP, WAMPP. I appreciate any links or suggestions. Thanks!

Member Avatar
Member Avatar
+2 forum 7

I have a website for a painter where the painter uploads a picture. The picture name is added to a mdb (access) database table, the picture is added to the end of a table called galleries, and the file is uploaded. It is also then resized to a small image. Sometimes, not always, I get Unrecognized Database Format error after running this. Anyone think of any possible causes and what I can do about them without changing the main structure of the program? Thanks for your help!

Member Avatar
Member Avatar
+0 forum 2

I am in beginning Java and using Dr. Java to write my programs. I am trying to write an array that user input sets up the length of the array(#of students) that character grades are stored in. It is suppose to ask if you want a full print out, to update a students grade, or to exit. please let me exactly what is that I am doing wrong, I did include the error codes it is throwing, making it impossible to test accurately. Thank you for your help: import java.io.*; // import needed files import java.util.*; // import more needed …

Member Avatar
Member Avatar
+0 forum 2

help i'm rather new at this but have some understanding but am having some probs with 1>c:\users\kysinden\documents\visual studio 2008\projects\real\real\test.cpp(8) : error C2144: syntax error : 'int' should be preceded by ';' 1>c:\users\kysinden\documents\visual studio 2008\projects\real\real\test.cpp(9) : error C2447: '{' : missing function header (old-style formal list?) i am makeing an number averageing script with a variable amount of numbers to be averaged. Here is my code #include <set> #include <iostream> using namespace std; double atotal() int main(); { double itotal = 0; double dnumber1 = 0.0; double dnumber2 = 0.0; double dnumber3 = 0.0; double daverage = 0.0; double a = …

Member Avatar
Member Avatar
+0 forum 3

Hello, I am newish to wxPython and I am attmpting to make a text editor Everytime it attempts the open file code it gets this error: IOError: [Errno 22] invalid mode ('r') or filename: u'' WHY!!! here is the code... import wx import os wildcard = "Text file (*.txt)|*.txt;|"\ "All files (*.*)|*.*" class frame(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,'Simple Text Control!', size=(478,300)) panel=wx.Panel(self) edit=wx.TextCtrl(panel,1,size=(300,220), pos=(2,2), style = wx.TE_MULTILINE) btn=wx.Button(panel, -1, "Open File", pos=(342,15), size=(95,32)) self.Bind(wx.EVT_BUTTON, self.Open, btn) def Open(self, event): dlg = wx.FileDialog( self, message="Grab your file...", defaultFile="", wildcard=wildcard, style=wx.OPEN | wx.MULTIPLE | wx.CHANGE_DIR ) self.dirname=dlg.GetDirectory() self.filename=dlg.GetFilename() if dlg.ShowModal() == wx.ID_OK: filehandle=open(os.path.join(self.dirname, …

Member Avatar
Member Avatar
+0 forum 1

hi guys, i am currently building a nice website and i was just wondering about the best way to handle errors, database and webservices errors. i was thinking on implementing a mixture of file and db logging. so basically i would log to db all the time and then i would log to filewhen there is a db error. i am also thinking of the best way to handle this. the site is built in Zend Framework, so i am considering using the zend error handling and logging functionality, but i worried it might be too much overhead. do you …

Member Avatar
Member Avatar
+0 forum 1

The End.