Sounds like fun :-p
Thanks!
Type: Posts; User: crepincdotcom
Sounds like fun :-p
Thanks!
Greetings,
Back many years ago, I figured out how to control the pins of a serial port independently under Win98 in VB6. IE, rather than writing data to the port, I could set two of the pins low...
is -Wall like "use strict;" in perl then?
ahhhh you guys are great. I removed the time() call... I knew it was something stupid.
Thanks again,
Hey all,
I can't for the life of me figure out why this is segfaulting... sorry to bother you all with such a lame question. Here's the source:
#include <stdlib.h>
#include <stdio.h>...
(disregard this... browser issue)
Yes.... but I threw a few more tableouts() in there.... I'll keep working on it.
I know gcc is a good compiler, so globals in general are not bad, is that correct? It's an error on my part somewhere? I've debugged like crazy: it goes in one way, comes out a bit different... And...
I just did a logical run through and some debug strings and that var seems to be ok...
Thanks for the idea though, I should have thought of lint.
Hello all,
I'm writting (have written...) a program that uses genetic algorithms to solve the Travelling Salesman Problem. (Search google if the idea of the interests you). I hate to post a whole...
Hello,
I have an array, declared as such:
double a[8];
a[0] through a[7] contain numbers that I would like to sort. Were this simply the issue, I'm sure I could find a function on Google. But...
I was talking to a math major at MIT the other day, he had an intersting scope on this. As N approches infinity, Vn being the Nth term, Vn / V(n-1) becomes (1+ sqrt(5))/2. That is, the ratio between...
OK, but I'm not searching for a particular starting string, I'm searching for only second occurences of groups already present. Running through every 2-char combo would be a little inefficient...
...
From http://www.phim.unibe.ch/comp_doc/c_manual/C/EXAMPLES/strstr.c:
char string[]="string to search";
char test[]="sear";
/* strstr returns a pointer into 'string'
* if 'test'...
Hey all,
I can't figure out how to do this at all.... hopeing someone could help.
I have a string containing groups of two charactors. For the sake of this article they can be random:
"bh oj...
Thanks
Thanks all... I think I'll go cry now.
Just kidding, but my code is pretty bad isn't it.
Dave_Sinkula, your code is very pretty and I will test it tonight. But your use of pointers and (not...
Dave, the formula I provided is not the proper one. It is correctly inplemented in the code, I check that many times over.
The line
double top=0;
Does that need to be
double top=0.0; ...
:mad:
I've got this one little function that calculates standard deviation. All the separate peices work, but together it blows up. I simply cannot figure out why.
I'm trying to get this...
But a managed switch can be changed to allow a larger MTU.
Nevermind I found it, Thanks
Jez, I don't have to define a window or anything?
-Jack Carrozzo
http://www.crepinc.com/
The network stack takes care of frame size for you. If you allow jumbo frames, as root type:
ifconfig eth0 mtu 9000
Remember that only other computers with jumbos enable can receve what you...
Hello,
I've written a math code that does some pretty things, and outputs its data in a text file. Id like to now write a visualizer. Thus, I would simply read through my file, and have an array,...
So to recap, if I simply use a double rather than float it should work?
Sorry to not have figured this out myself.
Thanks guys, interesting discussion too ;-)