• Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Happy Holidays

    Hah. I was just about to send you greetings Alan. You beat me to it. Stress free (mostly) celebrations going on here this Christmas. My eldest is home from Long …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Connecting to Microsoft SQL using PHP

    I am trying to connect to a Microsoft SQL server database using PHP 5.6 and am getting the error "could not find driver". I am initially attempting to use PDO …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited SQL question

    Hi, I have a problem where I need to search on data set with 5 fields. Field 1 - Account number Field 2 - Date Field 3 - Person1 Field …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in SQL question

    Since `Date` cannot be both `Nov` and `Oct` your Case will always return 0. Also, `Date` is possibly a reserved word and should be avoided as a field name. It's …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How to do programming for game ???

    How long it takes to learn a new skill depends on many things. Among them are: 1. Your current skill set. Do you have any experience in programming in any …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Help!!!!!

    Draw a flowchart and write the pseudocode to represent the logic for a program that will open two files, input and output.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Help!!!!!

    And post it in the correct section.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Find numbers divisible by 3 and 4

    >you have to print 5 values per line Easy to do if you have multiple of 5 values. Harder if you don't. I had one of those golf balls as …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Find numbers divisible by 3 and 4

    Just for fun, if you have two values, lo and hi, the following line of APL displays the required values: ((0=3|r)∧(0=4|r))/r ← lo, lo + ⍳ hi - lo
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to JamesCherrill in Find numbers divisible by 3 and 4

    > I haven't been able to come up with a really elegant way to print 5 values per line... OK, a bit off-topic, but I wanted to share this with …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Find numbers divisible by 3 and 4

    Seems like a very complex way to do a very simple thing, but as an intellectual exercise, neat. >Do not multiply entities needlessly. (William of Ockham)
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in 10 different dialect of c++ with examples

    I think a google search and a little effort on your part should do the trick.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Memorable Quotations

    Do plenty of thinking whenever you've the chance and it will become a habit. It will get easier and easier as time rolls on. In fact, a day may come …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Find numbers divisible by 3 and 4

    @Assertnull - I've never so much as seen a single line of Ruby. However, the loop for the problem is 7 lines of vbscript.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Laptop turns off screen but dosen't sleep

    You might want to have a look at the `powercfg` [command line utility](https://technet.microsoft.com/en-us/library/cc748940(v=ws.10).aspx) that comes with Windows. It might be that one or more of your devices are set to …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Find numbers divisible by 3 and 4

    Your explanation is not consistent. You state that the user is to enter a range as in "find me all numbers between x and y that are divisible by both …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in I want to learn about programming

    1. Read 1. Write 1. Repeat We learn by doing. If you don't put in the effort you won't learn anything.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Trump

    So we got eight years of how Obama and the Democrats were going to repeal the 2nd amendment and confiscate all the guns. And how many were seized? Approximately zero. …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Memorable Quotations

    The amount of energy needed to refute bullshit is an order of magnitude bigger than to produce it. - Alberto Brandolini
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited If Statement With Greater Than Not Working Properly

    I have an If Statement that isnt loading the right image any help would be great <?php if($formattedNum6 > $PeriodSalesTarget):{ echo '<img src="images/TargetMetGreen.png" alt="" />';} elseif($formattedNum6 > $CummulativePeriodSalesTarget):{ echo '<img …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in List and Dictionaries

    Show us what you've tried so far.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to Muhammad_122 in a program that inputs number of subject and marks and tells lowest marks

    a program that inputs number of subject and marks and tells lowest marks
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Anyone can tell me why the int "Underflow" and "Overflow" does not occur?

    It would seem that `int` declares a 32 bit signed integer. You could try long long unsigned int n; but you'd still end up with a problem if you added …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Anyone can tell me why the int "Underflow" and "Overflow" does not occur?

    It would be a lot easier to answer that if you posted the code.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Memorable Quotations

    When you're attacking FBI agents because you're under criminal investigation, you're losing. - Sarah Sanders (Nov 3, 2016)
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Memorable Quotations

    I have a foreboding of an America in my children's or grandchildren's time - when the United States is a service and information economy; when nearly all the key manufacturing …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Memorable Quotations

    The tools of conquest do not necessarily come with bombs and explosions and fallout. There are weapons that are simply thoughts, attitudes, prejudices, to be found only in the minds …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in solving a linear simultaneous equation of 10 variable

    You could also start by reading [Gaussian Elimination Algorithm](https://en.wikipedia.org/wiki/Gaussian_elimination).
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Memorable Quotations

    In nature, there are neither rewards or punishments – there are consequences. - Robert Ingersoll
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Project C++: A player engine for RPG fighting

    You might as well have said "I have the following code:" int main() { } "I just need a little help with the middle." Please read [this thread](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) for suggestions …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in 32GB USB stick won't store video files over 16GB

    You can also do a quick check with diskmgmt.msc, or, if you are willing to do a little reading you can use diskpart.exe.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited strchr, strcmp, memset

    Hello Evreryone, I am new here and would love some help with a project I have. I have to create a MIPS program where we implement different funcntions. I was …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Young women are OK with porn, evil Internet to blame

    >And likewise, Pornography is wrong and it's spread and use should not be tolerated or encouraged by society For those people who believe that increased access to porn would spur …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to JamesCherrill in AI in Tic Tac Toe

    Harish 1. Your code is unreadable - a solid mess of undocumented stuff strung end-to-end without any thought towards making it comprehensible. It even has gotos! It's useless. 2. Can …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in AI in Tic Tac Toe

    I don't imagine anyone here is going to write your code for you but at least you were honest enough to admit it is for a school assignment. Having said …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in c++

    Read books. Write code.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Do Until Loop?

    numbers = [2,3,1,5,7,8,9,5,4,6] print(numbers) tool_1 = int(input()) tool_2 = int(input()) x = numbers.index (tool_1) y = numbers.index (tool_2) numbers[x] = (tool_2) numbers[y] = (tool_1) print(numbers) So I want this code …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Do Until Loop?

    numbers = [2,3,1,5,7,8,9,5,4,6] print(numbers) tool_1 = int(input()) tool_2 = int(input()) x = numbers.index (tool_1) y = numbers.index (tool_2) numbers[x] = (tool_2) numbers[y] = (tool_1) print(numbers) So I want this code …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Java Array Random Integer

    So I am confused as to how to generate random integers between a range, in the first one it says to make the range from 0 to n-1 and the …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in remove values from an array of strings

    If you don't care about the order of the strings, just keep track of the number of strings and replace the address of the deleted string with the address of …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Calculator, Includes Sin, Cos, Tan And Sqaure Root!

    You start by reading the Daniweb [Posting Rules](https://www.daniweb.com/welcome/rules) and [Posting Suggestions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) to increase your chances of getting a timely (and more useful) response. You might also benefit by starting a …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Python

    What have you tried so far?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Help needed for Microsoft Remote Desktop

    They've made it more difficult (maybe impossible) to shadow an existing session. My wife usually waits to ask for help after I am comfortably seated with a cup of coffee …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in What are you eating/drinking right now?

    It's 5:00 am so I had to think for a second about G&T ^_^ Toast & jam with coffee here.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Created Help needed for Microsoft Remote Desktop

    Is anyone familiar with Microsoft Remote Desktop? I'm referring to the application with the name MSTSC.EXE. I used this years ago at the office to remote into the servers from …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in need help

    I suggest you read the Daniweb [Posting Rules](https://www.daniweb.com/welcome/rules) as well as [Read This Before Posting a Question](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question).
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Irregular Black Screen and random restarts

    Have you run a full slate of diagnostics on all the hardware?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Bizarre connection request

    I was but now I'm not. The most recent was from [abbas_3.](https://www.daniweb.com/members/1141197/abbas-3).
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How to preventing repetition of random question in Quiz in php?

    Make a list of all possible questions (list of question numbers or list of addresses). Pick a random entry from the list then delete that entry.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Help!

    We want to track weather conditions during the past year and have designated each day as either Rainy ('R') Flooding ('F') Cloudy ('C') Sunny ('S') Armegeddon ('A') Write a program …

The End.