Search Results

Showing results 1 to 39 of 39
Search took 0.21 seconds.
Search: Posts Made By: jephthah ; Forum: C++ and child forums
Forum: C++ Jun 29th, 2009
Replies: 18
Views: 902
Posted By jephthah
^ i like that link.

i don't think there's an equation without using summation. i tried to think about it for a minute, but gave up. I'm not really a math guy. :D
Forum: C++ Jun 27th, 2009
Replies: 18
Views: 902
Posted By jephthah
it's just LaTeX markup tags. any reference will describe the basics

http://en.wikipedia.org/wiki/Math_markup
Forum: C++ Jun 27th, 2009
Replies: 18
Views: 902
Posted By jephthah
and you don't need a "Big Number Library". you dont even need a long int. 10,000 is easily represented by a regular integer

the way to approach this problem is by summation:
...
Forum: C++ Jun 27th, 2009
Replies: 18
Views: 902
Posted By jephthah
the formula posted by siddhant is fundamentally flawed. it only appeared to work, because it just happened to be valid for n=2 through n=8. as 'n' increases past 8, the result becomes more and...
Forum: C++ Jun 23rd, 2009
Replies: 10
Views: 496
Posted By jephthah
I say that you should avoid the use of old, non-standard libraries like "conio.h" unless you are explicitly instructed -- required -- to do so.

anyone can quickly learn to use any library...
Forum: C++ Jun 11th, 2009
Replies: 23
Views: 1,248
Posted By jephthah
it's not "jephthah approved". it's "industry acceptable".

i felt my post was quite constructive: I gave several links to a variety of modern and free standard-C compilers without prejudice....
Forum: C++ Jun 11th, 2009
Replies: 16
Solved: Bits in a byte
Views: 765
Posted By jephthah
whether it's currently practical or popular isnt the question. the question was whether C++ defines a byte as being exactly 8 bits. as several of us have learned, it does not. it can be 8 or...
Forum: C++ Jun 11th, 2009
Replies: 16
Solved: Bits in a byte
Views: 765
Posted By jephthah
i, too, believed the same thing Tux did.... thanks Narue for the detailed lesson. i learn a lot here.

.
Forum: C++ Jun 11th, 2009
Replies: 23
Views: 1,248
Posted By jephthah
^ ahaha.. your rep just went from -49 to 0 with one pity post by Dragon. LOL.

now look, here's your chance, adatapost: don't screw it up. think before you post. and get rid of your...
Forum: C++ Jun 10th, 2009
Replies: 23
Views: 1,248
Posted By jephthah
are you stuck in a time machine? or is it still 1990, where you live?

throw that shit out, and join the 21st Century



Code::Blocks (http://www.codeblocks.org/) (free)
Visual C++ express...
Forum: C++ May 5th, 2009
Replies: 10
Views: 521
Posted By jephthah
Forum: C++ May 4th, 2009
Replies: 2
Views: 487
Posted By jephthah
cycle through each lettter in the alphabet, a through z, and check each letter if it repeats.

remember that ascii code character A is decimal 65 and Z is decimal 90. lowercase a is decimal 97...
Forum: C++ Apr 29th, 2009
Replies: 19
Views: 597
Posted By jephthah
i think that's a good idea.

use a non-numeric character (like 'b' or whatever) as the sentinel to stop taking input

and if you want to get fancy, you could use the '+', '-', '=' characters as...
Forum: C++ Apr 29th, 2009
Replies: 19
Views: 597
Posted By jephthah
okay. sorry. his implementation of the basic sentinel concept is just fine.

but a calculator that spontaneously shuts down when you try to add 9999... well, it just isn't going to sell really...
Forum: C++ Apr 29th, 2009
Replies: 19
Views: 597
Posted By jephthah
that's dumb.

what if he wants to add 9999 as one of his numbers
Forum: C++ Apr 28th, 2009
Replies: 35
Views: 2,158
Posted By jephthah
this is retarded.

you won't get a reading from the free electrons in the air. you'll get a reading from the noise of the instrumentation pathway, which is deterministic.

now, i'm glad you're...
Forum: C++ Apr 28th, 2009
Replies: 35
Views: 2,158
Posted By jephthah
or maybe you could sprinkle some magic fairy dust, and use some "sort of analog device" to aggregate the quantum velocities of the fairies at any given point according to Heisenfairy's Uncertainty...
Forum: C++ Apr 28th, 2009
Replies: 35
Views: 2,158
Posted By jephthah
there's your problem: nothing is truly random. some things are just less predictable than others.

the fact is, you're never goign to generate truly random numbers, even if something like that...
Forum: C++ Apr 28th, 2009
Replies: 11
Views: 515
Posted By jephthah
this assignment has never been given before!!!!11
Forum: C++ Apr 28th, 2009
Replies: 35
Views: 2,158
Posted By jephthah
I'm happy to hear you are so well-informed.

so now there's no reason for you to continue promoting MD5 as an algorithm that produces unique hash values, yes?



what a terribly fatal...
Forum: C++ Apr 28th, 2009
Replies: 35
Views: 2,158
Posted By jephthah
not true. MD5 is broken.

in 2004, Wang et. al. demonstrated that forced MD5 collisions could be generated; in December 2008 the Chaos Communication Group forged an SSL certificate using forced...
Forum: C++ Apr 23rd, 2009
Replies: 5
Views: 676
Posted By jephthah
i actually worked at a place that used a Caesar Cipher to encrypt user passwords for the operators who ran the production equipment.

and the "encrypted" password file was stored locally on...
Forum: C++ Apr 22nd, 2009
Replies: 8
Views: 373
Posted By jephthah
generally speaking:


int * myPointer;
int myValue;

...

myValue = *myPointer;
Forum: C++ Apr 22nd, 2009
Replies: 7
Solved: sprintf format
Views: 692
Posted By jephthah
the string pointed to by checkSum will contain the numerical value of Total is expressed as a hexadecimal string due to the 'X' specifier. specifically, any letters (A-F) will be uppercase letters...
Forum: C++ Apr 20th, 2009
Replies: 7
Views: 939
Posted By jephthah
having a physical delay helps demonstrate, but the delay should be significantly scaled: I'd say 1/10th. you dont want to sit at a real stoplight for 30 seconds every time you demonstrate/test the...
Forum: C++ Apr 17th, 2009
Replies: 19
Views: 891
Posted By jephthah
i have had to debug 100K lines of production code littered with GLOBALS and GOTO statements, after it had been hacked to death by every stripe of self-taught jackleg programmer.

i do not pretend...
Forum: C++ Apr 17th, 2009
Replies: 19
Views: 891
Posted By jephthah
goto is teh ebil, because beginners mindlessly use it as a crutch to compensate for poorly-planned designs, and this perpetuates on into their professional work, where they cleverly develop a tangled...
Forum: C++ Apr 17th, 2009
Replies: 19
Views: 891
Posted By jephthah
^ nice answer.

except one thing needs a bit stronger emphasis.

never, ever use "GOTO" this is not BASIC programming. You will be tarred and feathered.


(there may be an exception to...
Forum: C++ Apr 16th, 2009
Replies: 3
Views: 263
Posted By jephthah
why would you care if the numerator is zero? are we no longer allowed to add or muliply zero?

it seems i missed the memo ... again.

:(
Forum: C++ Jun 21st, 2008
Replies: 31
Views: 3,196
Posted By jephthah
this doesnt make any sense. what's any of this got to do with Windows API?

you've got an 8x8 matrix of single characters... what meaningful information can you have in such a thing?

you...
Forum: C++ Jun 21st, 2008
Replies: 31
Views: 3,196
Posted By jephthah
a char will hold a single character, which is just an 8-bit int.

what information are you trying to contain in any 'square'?

this doesnt seem very meaningful, to have one char value in any...
Forum: C++ May 26th, 2008
Replies: 12
Views: 1,949
Posted By jephthah
quintillion? thats not a large number.

now about seven years ago, i worked on a cryptographic accelerator with a 4,096-bit number... that was large


,
Forum: C++ May 26th, 2008
Replies: 14
Views: 5,936
Posted By jephthah
sweet.

my doctor just wants me to bend over and take a deep breath. :(

i should look into changing plans.


.
Forum: C++ May 16th, 2008
Replies: 17
Views: 2,542
Posted By jephthah
and neither do those $99.00 links :)



.
Forum: C++ May 16th, 2008
Replies: 17
Views: 2,542
Posted By jephthah
what, does everyone here have an ACM membership?

am i the only one who doesnt?

because i was interested in your links, so i went to check it out (the one about Hamilton Paths)

and well,...
Forum: C++ May 16th, 2008
Replies: 17
Views: 2,542
Posted By jephthah
too bad most people on here don't have membership to ACM.
Forum: C++ May 16th, 2008
Replies: 5
Views: 616
Posted By jephthah
this is a job for regular expressions.

try using the Regex++ library for C++

http://ourworld.compuserve.com/homepages/john_maddock/regexpp.htm
Forum: C++ May 16th, 2008
Replies: 4
Solved: Urgent help
Views: 522
Posted By jephthah
yeah ... i'm just not seeing where the "Urgency" is here

i thought someone was bleeding on the floor.
Forum: C++ May 5th, 2008
Replies: 14
Solved: hcf and lcm
Views: 4,399
Posted By jephthah
this thread made me laugh.
Showing results 1 to 39 of 39

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC