Jump to content

CaptainJolly

Member
  • Posts

    38
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Profile Information

  • Gender
    Male
  • Member title
    Junior Member

CaptainJolly's Achievements

  1. Moments like this you had better get some compensation for your honesty.
  2. Perfect, thank you for the explanation! Just to update on my progress: Here's what I have so far. int p = 0, q = 0, r = 0; //count++; p = count & 1; q = count & 2; r = count & 4; for (int count = 0; count <= 7; count++) { r = count & 1; q = (count & 2)/2; p = (count & 4)/4; printf("p:%d q:%d r:%d\n", p, q, r); } Next step is just to get the bit values instead of the decimals. Thanks again! [EDIT] - Got the correct permutation and list of values
  3. EXACTOMUNDO. Which leads back to the proper permutatin of p q r Which then goes back to implementing the pseudocode. This was a lot easier back in assembly.. >.<
  4. Yeah looks like that's the case, where the icons should be they're not. Hence the awful senetence, "Get our updates or follow or"
  5. Hello guys and fellow programmers. I have a implementation of ORs and xORs that is still missing a very important key, their parameters p,q,&r and incrementing the parameters properly. Such that p q & r hold these values through each iteration of the for loop p q r 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 I was given the pseudocode for the permutations but can't figure out it's implementation into the forloop any ideas or help would be much appreciate. count++; p = count & 1; q = count & 2; r = count & 4; Time for the code! First the functions OR(implication) & xOR(biconditional) bool implication(bool a, bool b){ if (a || b)//if a or b is true { return true; } else {return false;}}//XOR Function//It's bi condition given that if a is true then b can't be true, if b is true than a can't be true//It's either one or the other NOT BOTHbool biconditional(bool a, bool b){ if (a != b) { return true; } else{ return false; } //Can only have 1 not 2} I won't post the entire source but there's a sample loop of what I'm doing to print out the truth tables I just can't figure out how to implement the permutations for p q and r /* TEST Bp q r | p and (q -> r) | (p and q) xor r0 0 0 | 0 | 00 0 1 | 0 | 10 1 0 | 0 | 00 1 1 | 0 | 11 0 0 | 1 | 01 0 1 | 1 | 11 1 0 | 0 | 11 1 1 | 1 | 0These expressions are NOT equivalent*/ printf("P | Q | R |p and (q->r)|(p and q)<->r\n"); for (int i = 1; i <= 8; ++i) { printf("%d | %d | %d | %d | %d\n", p, q, r, p&&(implication(q,r), biconditional(p&&q,r))); } printf("These expressions are NOT equivalent\n"); printf("\n\n"); Any ideas or hints as to how I can go about this? Please and thank you as always!
  6. Despite not being a big fan of Alienware I would go just for the booze and the networking but I'm on the otherside of the country
  7. Makes sense why they're selling them so cheap now. I guess to get rid of their stock of the bad NANDs. Best of luck to those who make the purchase I'll stay away from this one. Thanks for the share indefinitely.
  8. I was thinking the same, definitely gotta try out the new version of HTML though. HTML5 has been out for a while can't believe I haven't touched it
  9. Learn the fundamentals to HTML Javascript JQuery HTML5 all in 1 hour sessions FOR FREE! Enjoy! https://deals.lockergnome.com/sales/the-5-hour-developer-freebie-bundle
  10. I've been using the Antec Formula 7 Thermal Paste for all my personal as well as Freelance use and I've never had any re-occuring heat issues from machines I've taken in DUE to heat issues .
  11. If default settings don't work via BIOS try the next best options, I believe it should saying something like "Most Optimal Settings"?
  12. I +1 this method. It's the easiest, fastest, and most cost effective route. Rarely do I ever do a full back up of a HD onto another because the wait time is SOOOOOOOO LoOoooOOOOOOoOOOOOOoOoONG!
  13. A dead shark in a jar, a nutter butter cup with pens screw drivers tools etc, and the most random would be a NEC Versa SX NT/95 Machine that I don't have a charger for
  14. I used to have the older G version of that wifi adapter and it was HORRIBLE! It kept dropping connection, had to keep reseating it, it would force me to restart my router at homes. Of course this wasn't YOUR model and the bugs you may face may not be the same as mine. But anyhow, my suggestion is to keep doing a trial and error. I know it's tedious and stupid but that's your best bet because wifi adapters are hard to rely on just pure user review.
  15. Has anyone been able to find a work around for port forwarding the 4111N router by PACE? I've done port forwarding before so please don't walk me through the logging process -> Firewall/Applications Tab etc.. etc... I'm not a nublet I've been creeping around different forums trying to find a solution but it seems like the 4111n pace router is just another 2wire which has a bug which doesn't allow you to open ports for static IPs within the network. Anyone run into this and found a way through? I may just give up and switch out the routers if it has to come down to it.
×