i'm determined to get to 1000 tonight.
i NEEEEEED that star.
.
i'm determined to get to 1000 tonight.
i NEEEEEED that star.
.
i swear, this was funnier when it was in the IT Professionals Lounge and juxtaposed against the "Time Tracking Software Recommendations" thread
now it's just kinda :icon_rolleyes:
.
sup dawg i herd you like to loop while you loop so i put a coin in
... oh, never mind. that's so last September.
^ yeah, that's what i meant to say
it seems that his recent request for us to provide him a coded sorting algorithm is yet another stealth requirement being pushed in under the radar.
it's just an attempt to get us to do his work. slightly more sophisticated than the typical "dump my requirements and wander off" method most newly-joined members attempt.
but still, pretty obvious.
.
certifications are mostly a waste of time, except perhaps Cisco. in any event, dont waste your own money on them.
that said, an entry level IT support is not going to "make the employer pay for" 3rd party certifications.
one option would be a 1-year program at a local community/tech college or whatever the parallel is for that in the UK
get an entry level job testing software somewhere. play up on your education. deflect any questions about specific experience with what you did at university: "i don't have specific industry experience in _____, but at the university I led a similar project building _____ "
definitely brush up on your coding basics in whatever language you feel strongest in. you likely will be tested.
if questioned about languages you don't know, acknowledge your lack in that area and again deflect: "I dont have specific experience with _____ language, but i have built projects using ______ language" and elaborate on the end results.
take any job you can get that will allow your foot in the door -- even at lower pay than you hope --- then learn your primary job as well as you can and repeatedly volunteer to take on new projects, or help others with their projects, or just learn what they're doing. become invaluable on one or more activities and within a year or so, force a move up to a higher position within the company or secretly apply for …
im looking a fully automated solution ... something a little more robust and safety-validated.
manual testing has too many pitfalls
carve out a niche for yourself and become an expert. you'll be more in demand as a specialized expert than as a run of the mill microsoft toolbag.
hell, even microsoft employs linux gurus for their interoperability labs. so dont let the crowd tell you that you must travel with them.
im going to repeat the prediction of industry talking heads that open source is positioned so that it will inevitably take more of the market share. theres no way to go but up. tampa may be a backwater sludge, but given the demands of global markets, inevitable collaboration and outsourcing, companies will be forced to adopt more open source as time goes on.
i mean even at the most provincial, local level, the economy is tighening the belt on companies. high cost proprietary software licensing fees are going to be an attractive area to cut costs.
you're in a perfect position to start learning as much as possible, and get ahead of the curve.
.
i choose....
death by roo-roo.
... someone else's account?
there's some new guy who signed up last week, using a Calvin avatar.
i want him taken out.
I'm an alcoholic and a sex addict. i also compulsively troll Daniweb.
i just want to say that i'm glad all of you are here for me.
*sobs*
Dangerous -- Michael Jackson
dont ask me why this fookin' coffee shop is playing it. they've got a mostly cool mix playing but they throw some random shiite in every so often.
:grr: :mad: :grr:
all i have to say is that is a lot of code for a new user of C,
BINGO.
that's what i was alluding to when i asked "did you write this code??"
given that he's so helplessly "illiterate" (his word), i'm highly skeptical he wrote very much of that himself. im thinking he begged, borrowed or stole it from someone else.
.
no, you won't get any help here.
you dont come in here and toss your wad of code on us and expect us to start cobbling away like your own little army of code elves.
.
'same' is never initialized. if a non-matching line is never found to set it to 0, what value will it contain? The answer is: who the hell knows?
so when one file read in the while() loop returns a NULL, the && condition will evaluate false. at which point the loop will exit, and if no non-matching lines were previously found, the variable 'same' will likely contain negative eleventyseventhousand, and the program will tell you the files are the same.
also youve got one too many closing brackets around the end of the while loop, probably a cut and paste error cuz i doubt that would compile.
all in all, not too bad... it could be a lot worse :P
.
>gcc -o array array.c
array.c: In function `main':
array.c:16: error: 'for' loop initial declaration used outside C99 mode
array.c:18: error: syntax error before "int"
wrong, it does not compile at all. and then when i fix all your declarations, it still doesnt work. your input routine is broken. im trying to tell you why, but youre apparently not in a space to hear it.
so since you insist that your code is working just fine, with , i'll let you go ahead and finish it up.
be sure to tell your instructor that "all you have to do it on step debug or F10" and im sure they'll think it's groovy.
ehhh.... i'm tired of answering questions right now. I'm going to ask YOU some questions for a while:
Q1: run your program, enter 0x7F for one of your array entries. now tell me why is your program broken.
Q2: run your program, enter 100000 for one of your array entries. then tell me why your program shits the bed.
The code compiles fine,
yeah.... incomplete stubs often do.
yeah sure. we can help.
This thread has been marked solved.
Perhaps start a new thread instead?
and this time, you can even use code tags.
index, is exactly what it says it is: an "index". it indexes elements of the array. it's not an identifier, as it doesn't identify anything ... other than the index.
sure, you can use a sorting algorithm, and then your min and max will be at one end or the other.
until you start posting code and asking questions "the right way" i'm going to have to refer you to this site
hi everyone.. i have to build a satellite navigation and control system in any language.. i have no clues on how to begin this.. can anyone plz send me an algorithm on controlling liquid propellant boosters using neural networks?? thanks
i think his problem is that he has an urgency, but doesn't know what to do.
youre welcome, Trav, welcome to daniweb. first thing you should know is don't pay any attention to me.
i'm alternately Bong, Troll, or Me-Too. Narue is Jerk but at least she's right.
just because you're in the same Indo-European linguistic family, doenst mean teh language is going to appear to be at all related. it's a HUGE group... :P
anyhow, good luck. English is a notoriously difficult language to learn due to the widespread borrowing of words, odd colloquialisms, and multiple exceptions to its own rules.
i think NicAx gave some solid advice in the first post.
since C# is microsoft, here will probably be the best place to start:
http://msdn.microsoft.com/en-us/vcsharp/aa336766.aspx
ive found the O'Reilly books to be exeedingly helpful over the years. take a look at
http://www.amazon.com/Learning-C-3-0-Jesse-Liberty/dp/0596521065
lemme try this. gcc on windows xp.
>gcc -o num2word num2word.c
num2word.c:(.text+0x34): undefined reference to `clrscr'
collect2: ld returned 1 exit status
clrscr? at the beginning of the program? who does such a thing?
ok... so i remove clrscr. it compiles. i run it.
>num2word
Enter a number : 3
Three 2
>
"Three 2" ? what the heck does that mean?
your "logic" may be sound (all two lines of it :icon_rolleyes: ), but your program sucks. did we wait 2-1/2 years for THIS??
.
oop. my bad. thanks for correcting me.
i thought that 1B looked familliar.... :idea:
might be time for a Cease-and-Desist letter.
paging cscgal ...
on further review, I believe I have falsely accused Trav580 of being the culprit.
i see now, that multiple posts have been copied, not just TRAV's, and that they all the posts seem to appear on the other site, about 30-60 minutes after they are posted on here.
TRAV580, I'm sorry for jumping to accuse you.
some of the surface details seemed coincidental, but now I see that you were just bringing this to Daniweb's attention.
offhand, i don't think you should be using quotes around a numeric. try case 0x1E:
or case 30:
other than that, i believe Rabbit uses Dynamic-C, which is pretty much out of the scope of this forum, as it's not standard and has its own extensions for these sorts of things
I'm pretty certain you'll have much more luck getting an answer on Rabbit's forums than you will here.
.
ah, o well. i did say "might" :P
and good experience is worth money.
congrats on the internship :)
did you write this code??
I found it odd, that the post is identical to mine ...
i found it odd that you joined this forum within a week of the doppelganger at the other site having joined that forum. in other words, i see that you, "trav", joined here about a week after your twin poster "mind-y" joined the other site.
i also found it odd that your post on this site may well have been posted AFTER the post on the other site? they both appear to have been posted at around 10:30 PM GMT.
now i wonder why are you double posting stuff here, and at your other site, then bringing it to everyone's attention, and pretending to have uncovered a conspiracy?
do you have issues with creating fantasy worlds and making up imaginary friends?
and, gods forbid, you might even get paid!
:)
lol, nucleon gave me exactly what i did ask for, had already thought about the possibility of the xml changing, thou i thought that because the rss feed is from the bbc they prob wouldn change it, plus its for a uni project so only need to work for a couple of weeks.
look, its not a "style point". you have zero control over the website format or RSS feed or whatever third party thing you're collecting. it would be a critical flaw to rely on "newlines"
the fact that this is a "uni project" is irrelevant. why would you do it the wrong way when you can do it the right way?
EDIT:
oh, look. aren't you lucky. Dave S. just handed you a giftwrapped solution
then perhaps you can enlighten us by pointing to one, rather than a generic newsgroup link? and thanks for hiding a link that crapped all over my Outlook Express, by the way. :icon_rolleyes:
EDIT: oh i see that's your favorite all time link. do ya get the feeling that your posts are worthless? apparently, everyone else does.
.
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 program :P
ahah. he doesn't know C at all and barely knows C++, and yet he just performed the impossible -- with proof! call the ACM journals! prepare the honorary PhDs!
seriously though, where DO these people come from?
or try
$dir = "x:\\share1\\share2";
if (-d $dir);
{
print $dir," exists\n";
}
else
{
print $dir," not found\n";
}
.
i kind of disagree.... i think that perl has a pretty easy learning curve, at least for the basic stuff like console applications and web scripts.
yeah, the more complex things gets difficult, but getting started with basics is fairly easy as far as languages go.
try this site: http://learn.perl.org/
.
aha. interesting. but even at that resolution, i dont get it. I get either Dhe or Dit. maybe due to using Firefox.
i dont think she made a fool of ol' whats-his-nuts. that guy's a jackass anyhow.
but she did kind of turn people off at the beginning.
however i'm sure it's because she's been made fun and marginalized, having to perform in low-class dives ... that's her defense mechanism to not be overwhelmed by fear and insecurity
good for her. it's a moving story.
this is a blatant spamvertising for the OP's business interest.
the more i read this thread the less i understand it.
walt is right: everything is "urgent" ... youre lucky today is a slow day.
and don't use feof in a while loop to break on the end of a file. use instead fgets() to read one full line at a time, and parse what you need out of that line before moving to the next line, if any.
to write 50 random lines, one option is to make the counter run to 800 (because that's 50 lines * 16 characters per line) and after every 16th character, insert a "$\n"
int numberOfLines = ??; //how to fill this value: hard code? function argument?
for (counter = 1; counter <= (numberOfLines * 16); counter++)
{
// ... do your random stuff here
if (counter%16 == 0) // finds every multiple of 16
fprintf(fp1,"$\n");
}
.
oh, are those questions?
or demands?
or merely the instructor's notes to the students on how to fill in the framework of this assignment that was provided to them?
yeah, that was really abrasive. sorry. :( i shouldn't take my issues out on people here. you were, after all, just giving him what he asked.
the problem is that the OP's approach itself is flawed. in a particularly bad way because it will work -- for a few weeks or a few months -- then stop working as soon as someone on the other end updates their webpage.
.
given the lack of any sort of question or comment or request, i suggest it be moved to the "trash" board.
or is our daniweb psychic logged on?
holy hell's bells, batman!
:confused:
i mean, seriously, could you possibly have barfed up a more unintelligible code dump, without any explantion, without any formatting, without any .... anything?
what's your question anyhow? perhaps you would like a full rewrite of this code complete with comments, fully validated, burned to a DVD, and spiral-bound specification document, all mailed to your college dorm?
we'll get right on that, mmkay?
.
maybe i'm missing something here? but i think perhaps you're making this too hard. *A = *B
changes the contents of A to become the same value as the contents of B. A = B
changes the pointer address of A, to point instead to the memory location currently pointed to by B.
isn't this second example what you're trying to do?
.