i think he's only half joking.
which means he's half-serious.
which means you'll never pin him down long enough to get the win.
i think he's only half joking.
which means he's half-serious.
which means you'll never pin him down long enough to get the win.
I can make a post that says nothing more than "agree", and my solved post count will get bumped when the post is marked solved.
true, but that's obviously not the case here, as testified by his highly concentrated positive rep.
so i'm just sayin... "will the real Tom Gunn, please stand up?"
Sorry "buddy-boy", but when the Mactard usually uses terms like Mac & "we all know" and "best in class", one usually not referring to the classroom (should have known I was talking to a juvenile).
As for best in the classroom (and as a highschool digital arts an IT teacher, I might actually know what I'm talking about here)
as someone who once sat through a semester of philosophy, I might actually know that the argumentum ad verecundiam (the "appeal to authority") is a fallacious rhetorical trick usually employed to disguise a weak logical argument.
And it doesn't take a college grad to know that the ad hominem attack ("Mactard"? "Juvenile"?) is the sole refuge of poor debaters.
At any rate, your current gig as a "digital arts" teacher puts you in the very small subset of people who require both AutoDesk's and Adobe's high-end software, those that the vast majority of college undergrads have no use for.
Finally, if you really are a H.S. teacher, you ought to be more careful about referring to juveniles as 'tards. It's unprofessional to say the least, and in many school districts you could find yourself quickly dismissed with cause. Especially since you're just an art teacher, and not teaching something important like math or science.
.
you got both loops fighting over the same index 'i'
i'm not at all complaining about his high rep. He deserves it, and i've found myself wanting to give more than the time restrictions will allow.
it's just odd.
and it's as much the 4:1 post/solved ratio, too. it's like he just hit the ground and started kicking ass without any warmup period.
.
Joined less than 1 month ago (Jun 18th, 2009) ...at this time he has
only 193 posts
but 45 solved threads.
and 597 reputation points.
I'm calling shenanigans.
> can i have it?
Yes.
kthx. give to me pls.
if you have the means to do so, I'd recommend the masters degree. it sure as hell wont hurt, and will most likely pay for itself within a few years.
theres nothing wrong with wanting to travel and work abroad. do it now while you can, before you get tied down and aren't able to.
there are definitely opportunities visas/sponsorships for skilled technical people that allow you to work in the US for a fixed period of time, before you will have to return.
they can be sometimes hard to get. having a masters degree will make you more competitive to get one.
i do not know the details of how and where to look, but I believe a common one for tech people is the "H1-B visa", so do a search on that.
.
everyone did their own thing which "worked for me" in their own little corner of the universe.
but, but... Microsoft did it!
... Super Moderator badge?
can i have it?
where did the "C++" forum go?
hello, i want to know how I can book online flight reservation ?
did you try
or
?
iamthwee, tnx for your code. That's exactly what I need, but it's very hard to read
really? you think so? i thought it was actually quite clever.
you should hand it in, your instructor will be impressed.
is there anything featuring Furry Hentai Bukkake?
^ you can't rename the Windows Recycle Bin (or change its permissions) without going into the Registry Editor.
but more importantly, who in their right mind would try to "hide" data from "unauthorized users" in the Recycle Bin -- renamed or otherwise -- in the first place?!
is this what they're teaching these days in Computer Science Masters' Degree programs? Good lord, i hope not.
.
so dat i m able to make a little folder converter software dat help a user to hidden his/her data with unauthorised user ? if any1 knwz plz tell me ,ma english nt so gud so plz understand urslef guyz sry for dat
and thnx in advance....... :D
wait, wait, wait.... you apparently have spent a lot of time learning how to cleverly write English "chat speak"
why don't you spend your time learning how to write proper English? I know you can do it, because your first paragraph actually was making sense.
we don't hold it against people who are not good english speakers, because everyone knows it's hard to learn another language and english is difficult.
but when you talk in that phony chat speak, you sound like a 12-year-old with brain damage.
and now NO ONE is interested to help you.
Better add someone else to the reading list
this thread is a disaster. :)
you are a patient man, Salem.
.
use code tags correctly. and make sure your code is indented. otherwise, it's a ridiculous mess, and no one will want to look at it.
int main(void)
{
// hello, i am properly formatted C code.
// aren't i nice?
if (your_code == properly_formatted)
{
youWillGetResponse = TRUE;
}
else
{
youWillGetResponse = NULL;
}
return toBeginning(andTryAgain);
}
which line is it giving the error on?
&q has a different type to q, so any good compiler would complain about incompatible pointer assignments
yes, you're right.
even though it works for this trivial example, not casting it properly is a bad habit to get into.
the correct way to initialize it is:
char q[16];
char *p = [b](char *)[/b]&q;
strcpy(q,"abc");
So, correct me if you think I may be wrong, but your reply is out of context for the question.
it's correct, and totally within context.
because your original question and code made it appear that you were operating on a misconception about string literals. even if you did not actually have this misconception, it's a common problem and an unclear question could easily confuse others.
since these threads here will be available for a long time, his clarification is as much for future reference and is entirely appropriate.
try this:
char q[16];
char *p = &q;
strcpy(q,"abc");
.
who knows? and more importanly, who cares?
the OP didn't bother describing anything, so i'm not going to bother trying cipher out the code. Or trying to read his mind.
the fact that he uses <conio.h> does tells me it's probably a broken, unportable mess, and I just stopped looking at it right there.
Because then its faster to actually use once it is started.
i know you sure arent talking about Vista. that OS is a complete dog. i can't say one single good thing about it. i'd rather have XP any day, and i'll choose linux whenever possible just for general principles.
but i do need to give Win 7 a spin. i mean, it can't possibly be any worse
your last few lines, where you're presumably calculating and printing the "fuel required" doesnt make any sense.
youre supposed to calculate the fuel required, not prompt the user to enter the fuel required.
fuel required is calculated by "total miles / miles per gallon" ... you can print it like this: printf("Amount of Fuel Required: %f gallons\n", miles/mpg);
and the Total Cost of Fuel Required is equal to the "total fuel required * cost per gallon", so you should now be able to figure this out.
Windows 7 in europe looks to be crap. No IE, no Media player, no bundled apps
sounds pretty awesome to me... who really wants that garbage anyhow?
if you want to try linux and/or are considering google's linux OS...
i'd recommend you first try Ubuntu's linux distribution. it's very user friendly and works out-of-the box with most hardware.
your compiler is 17 years old. Now, it's time to say good bye to that compiler.[/URL]
well said.
Ah, but I don't trust Google with my whole OS :P They already know enough about me... (my paranoia is kicking in) And it'll just be one more Linux distro out there, only with a big name plastered onto it.
QFMFT.
google has got their fingers in too many pies. i'm considering getting rid of my gmail account just on general principles.
#ifdef
is a shorthand form of #if defined
. the difference between the two is that '#ifdef' doesnt allow complex expressions.
Cant you just convert the radians to degrees?
he said he wanted the function that returns an angle, "like when you press 2nd then sin on a calculator"
the only functions that *return* angles are the arcsin, arccos, and arctan functions -- the inverse trigonometric functions.
the standard functions (sin, cos, tan) require you to already know the angle, give it as an argument, then the functions return a ratio.
any other suggestions?????
um, stop looking at porn at work?
I feel that Dani is your home and you're the one who says who should do what
this is no more "my" home than yours. do you see a "mod" bubble by my name? no. i don't even have a "featured" bubble, like you and serkan.
i just am blunt, and have little tolerance for bullshit. but that's just my opinion, and I've already been warned once for being an unpleasant ass. I'm trying to moderate my tone, but I'll still probably get banned before the year is out.
.
f you become a super mod, the first thing you would do would be to ban me from DaniWeb
hardly. because then who would i have to beat up on in geek's lounge?
:P
i belive what you are looking to use are the acos(), asin(), and atan() functions.
for instance: tan() returns the ratio of the sides (y/x or opposite/adjacent) when given the angle in radians as the argument .... whereas atan() returns the angle in radians, when given the ratio of the sides ( y/x or opposite/adjacent) as the argument.
('arctan' -- called 'atan' here -- is the inverse function of 'tan'. it is the one that is actually used when you use the 2nd key on your calculator in conjunction with 'tan'. And as mentioned, angles are in radians. to convert to degrees, muliply the radian value by 180/pi)
[edit] the functions are called as "atan"... not "arctan" as i originally typed. sorry[/edit]
.
I don't see how my post was harsh, and i'm not saying we don't deserve credit for good posts, but requesting for your friends to be featured shows you're more interested in a badge rather than just helping.
your post wasnt harsh. it was honest and insightful, and far more gentle than I'll ever be. Mine was harsh. and here's one that's harsher:
The problem is, Serkan is always coming around here whining and complaining about his rep points, now he's complaining about his friends not getting a "featured" bubble
the reason his rep suffers, is because too many people are revolted by his continual whining, along with his overly creepy behavior towards certain female members.
if he quits acting like this place is some popularity contest, and sticks to assisting people with code problems, he might actually begin to be respected again.
i swear there's less drama at a middle school girl's slumber party than there is in a typical Serkan thread.
you miss my point ... even you dont have it with your significant reputation points.
there are plenty of people with more rep points than me who haven't been featured. and rep points are just as subjective and arbitrary as being selected to get a "featured poster" bubble. i mean, look at you: you were "featured". that proves how meaningless it is.
But i question the reasoning behind "essentials" getting featured.
it is you who miss the point. this is not a democracy. and featured poster is not some "American Idol"-like popularity contest that you get to vote on. the owners of this site can run this place any way they choose to do so, without soliciting your opinion or asking your approval.
Why'd they pick essentials? The real question is: why should you even care? What is it about essentials that makes you lose sleep at night? Personally, i dont care who gets featured or not. All i care about is becoming Super Mod.
i am going to organize ... a better c# forum where their skills are appreciated.
yeah okay, don't let the door hit you in the ass on the way out :)
.
jesus shut up already. no one gives a flying shit that your best friends didnt get "featured."
I have about a year to finish the program, under a grant to teach non computer literate majors (me) how to program.
well, you're gonna learn alot. it won't be efficient learning, and you'll probably learn a lot of poor practices, just to "get the job done".
and you're probably be likely to learn to hate programming by the time it's all done with.
it's unfortunate your first real project is fixing someone else's mess.
but, also unfortunately, that's how many people get introduced at their first "real job" so... you're not alone.
good luck. come back and ask questions whenever you get stuck.
when asking questions, remember to post relevant code and use code tags, and describe what youve done, what you expected, and what you got.
yeah, i was going to say about the same thing....
because obviously there must have been more of a change than merely replacing malloc() with calloc(), since the two are functionally identical aside from initializing memory with zeroes.
.
Anyways, like I was sayin', shrimp is the fruit of the sea. You can barbecue it, boil it, broil it, bake it, saute it. Dey's uh, shrimp-kabobs, shrimp creole, shrimp gumbo. Pan fried, deep fried, stir-fried. Dey's pineapple shrimp, lemon shrimp, coconut shrimp, pepper shrimp, shrimp soup, shrimp stew, shrimp salad, shrimp and potatoes, shrimp burger, shrimp sandwich ... dat ... dat's about it.
Lieutanant Dan!
Hello, Forrest.
You got new legs. New legs!
Yeah, I got new legs. Custom-made titanium ... what they use on the space shuttle.
Magic legs!
that's good to know.
i often forget my luggage key, and need to get in my locked luggage to access some personal item, but want to reclose the luggage so it remains locked as if it were never opened, so i can then unlock it normally at some later time, after i've found the key.
that's cool that dude was thinking the same thing and made a video for it.
BestJew, did you just give me negative rep? Oh, look at you, you're seriously pissed off about this, arent' you? How adorable!
LOL!
oh, my sides...
:)
But like I said, why is this such a big deal to you?
ahaha. now that's funny
your immaturity is incredible.
yeah, yeah, yeah... :icon_rolleyes: you've been talkin' to my wife, haven't you?
.