• Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Illegal start of expression in my toString

    3/3 should be 1, not 0
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Illegal start of expression in my toString

    Abdullah; Hey no, I was not criticising you. I was suggesting to xrj that maybe he could have explained what the problem was, rather than just posting fixed code. You …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Illegal start of expression in my toString

    Hi XRJ Are you sure you’re teaching OP rather than just giving code he can copy/paste imperfectly? The index of 99 suggests to me that he’s still running the original …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Illegal start of expression in my toString

    99% certain it’s an error in your brackets. Line 79 is formatted as if it should be a close bracket, but it’s an open bracket. Suspicious!
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Java AWT

    AWT was replaced nearly 20 years ago! You should be using Swing, or JavaFX. Swing was the direct replacement for AWT, and is very similar. JavaFX is the newest GUI …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in what is the best way to solve this problem

    I dont speak php, but since nobody else has answered... is php like oher languages where the scope of a variable is its immediately containing block? Because if so $sql …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Who might have interest in building a Dazah app?

    Given all that you have said... suppose Dazah were bringing in loads of money, how exactly would you change DW's business model?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in what (powerful) general purpose (ide) language do you recommend i use ?

    > i do want to develop the program using a powerful (ide). > i do want versions of the program to work on windows, linux, and apple desktop pcs. Java/Netbeans …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in concatenate right to left language with string

    Congratulations on a really interesting question! *maybe* what’s going on is in the String.format you process a l-r string, then a r-l and after that the direction is still r-l …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Who might have interest in building a Dazah app?

    > May I ask what results you see? I looked at all the first 10 pages, and found more discussion threads after the first page. But anyway, if what you …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Who might have interest in building a Dazah app?

    > Search engines don't send traffic to forums anymore ... especially any tech forums. It's not like other forums started outranking us and we can just work on our SEO. …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in HELP! Pseudocode assignment

    There is no universal standard for writing pseudo-code. It's up to you to chose whatever words you like to explain the algorithm or process you are trying to document. Use …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in HELP! Pseudocode assignment

    Definitely better. Pseudo-cde is for explaining algorithms, flow of control etc, so you don't need quite so much detail, and you can make up you own "syntax", eg: GET passenger …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Feeling Embarrassed About My Coding Abilities

    > I feel embarrassed having to bother my peers about programming issues that they don't seem to face Why? Asking someone for their advice is the sincerest form of flattery. …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Feeling Embarrassed About My Coding Abilities

    > I feel like I don't know how to properly debug (my general strategy is to comment out several lines at a time to isolate the problem) I don't think …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Who might have interest in building a Dazah app?

    I never saw DW as just another vanity self-publishing social media timewaste. Real people with real problems came seeking answers and real people with real expertise spent real time answering …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in online pdf viewer programming code

    If you want to view & merge them online then The first page of a Google search will give you about a dozen options, all free. If you really mean …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to ryantroop in online pdf viewer programming code

    for PHP and PDF, I have used http://www.fpdf.org/ in the past (pretty sparse and straight forward but gets the job done well). From that, I found [this](https://stackoverflow.com/questions/1004478/read-pdf-files-with-php) post on SO …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Don't you just hate it when...

    Flat/low battery on the motherboard? Replacing it would be one of my first steps. > it was like that once, but not quite like that these days I visited Bali …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Feeling Embarrassed About My Coding Abilities

    > I have trouble reading documentation hence -> instructional videos Reading doc is a fundamental skill for a developer. Nobody knows all the parameters of all the APIs in a …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in tertiary tree

    Do provide evidence of having done some work yourself if posting questions from school or work assignment. [DaniWeb Community Rules](https://www.daniweb.com/welcome/rules)
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in tranform a while to a recursive function in c

    Pseudo code loop function (array): for each element in array if its the one you're looking for exit loop recursive function (array): if the first element is the one you're …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to Jack_39 in Feeling Embarrassed About My Coding Abilities

    For the past several years I have been feeling quite embarrassed about my coding abilities. I've been self studying most nights trying to catch up to my peers but I …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Feeling Embarrassed About My Coding Abilities

    First: I congratulate you on your honesty and bravery in making that post. Second: You have already taken at least three giant steps where most others will have already failed: …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Who might have interest in building a Dazah app?

    > I want to focus a lot on developing new features for DaniWeb Yes yes yes! > any interest in building a Dazah app? If no, what are the main …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Help With Programming a Java TicTacToe Game

    > OK. We're old. No way. Senior, experienced, world-wize, maybe. Young people trapped in past-their-sell-by bodies, maybe. But old, no. Old is a state of mind. OK, time for my …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in How to get MAC address of a newly connected client using C#

    You ask for Java and tag with C# Which is it?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Why & couse to display different data

    The php experts seem to be stil in bed, so I'll have a go... The & defines a reference. References in PHP are a means to access the same variable …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Help With Programming a Java TicTacToe Game

    > rproffitt: ...over 100 years. First computer program for me was 1972 Well. yes way over 100 then. I joined IBM as a trainee programmer in 1969 and I'm pretty …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Dani isn't killing DaniWeb with Dazah, she's saving it

    > And then Stack Overflow and Reddit and Gitter were born. Stack overflow 2008 Reddit 2005 Gitter 2014
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in iCloud unlock

    I don't think there's anyone here who can do that for you. You should contact Apple directly.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in registration form php and creation cookies

    Just a reminder for everybody.... > Do provide evidence of having done some work yourself if posting questions from school or work assignments ([DaniWeb User Rules](https://www.daniweb.com/welcome/rules))
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Help With Programming a Java TicTacToe Game

    Hi KeyWizard. > Don't let the people who can do nothing but judge and ASSume get you down... haters, they are going to hate I think you may have gotten …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in my life's 1st programming c assignment: help!!

    Your end else comments show where you going wrong... they are all one line above the actual bracket that end the else
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Help With Programming a Java TicTacToe Game

    > I think he just ended up giving me the answer without me understanding it. Beginners' programming teaching builds concepts one at a time. Miss one step and the following …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Help With Programming a Java TicTacToe Game

    This is an odd conversation... We do get people posting here who obviously don’t have what it takes to be a software wiz. But with A’s in math you clearly …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Help With Programming a Java TicTacToe Game

    If this is your assignment then nobody here will help you cheat by giving you code. But if you are willing to learn and to make some effort then we …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in ATM machine

    You create the new balance in `newBalance`, but then you ignore that. Either just update `Balance` directly, or copy `newBalance` to `Balance` at the end of the transaction.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in how to handle multiple operator precedence in c++

    The "standard" solution is to parse the expression into RPN form using a stack, eg see http://faculty.cs.niu.edu/~hutchins/csci241/eval.htm
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in error on line 3218 at column 8: Opening and ending tag mismatch: div line 0

    Looks like its caused by an extra `>` on or near line 22374
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Table with Angular

    click the box labelled `</>Code` above the editor window to open a frame into which you can post code and retain its formatting.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Function Not Working

    Did you try debugging by printing the value of retVal at line 10?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Keyboard Layout for French

    This request is bizarre. You want to type French characters, but you don't want a French keyboard? So you want o create your own custom keyboard that... what? has a …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in I just found this code for PAC MAN...what does this mean???

    Have you tried it?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Non-Terminating Float Values

    Because float values are stored in binary, just 1s and 0s, and the fractional part is made up from the values 1/2, 1/4, 1/8. 1/16, 1/32 etc But there's no …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in cant seem to understand the code

    > The purpose of if(flag) is a bit puzzling! AFAICS it toggles on each pass of the loop so that the code on line 26 etc is executed on every …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to sandy_5 in Assignment Help || AllassignmentHelp

    Assignment is given for the students to do, not for others to help them and gain money. Actually we are not helping them we are spoiling them.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in How we can develop a simple android app to showcase of our products.

    The web has many many tutorials that cover writing simple Android apps, so it's unrealistic to expect anyone here to write another one. Google for tutorials, pick one you like, …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Checking hasNextLine() for a file scanner

    Interesting... A quick look at the source code for Scanner shows that the File constructor immdiately creates a FileInputStream from the file and proceeds with that, so just passing the …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Python

    People have taken the time and effort to reply to you, and I can't delete your post(s) without deleting theirs, so the topic will remain as-is. Hopefully others will read …

The End.