Well I wouldn't take it that far, since he didn't actually receive help on this thread, but the intention to cheat could sometimes be penalized just as tough as actually cheating.
Well I wouldn't take it that far, since he didn't actually receive help on this thread, but the intention to cheat could sometimes be penalized just as tough as actually cheating.
1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
3. Get rid of conio.h and other antiquated DOS crap headers.
4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.
That one does take the cake for STOOOPID.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
pfft.
the only reason he DIDN'T receive help, was because you called him out and refused him. notice how he backed out right quick, too.
it's like the vice cop stings.... soliciting a prostitute is all you need to be caught doing in order to be charged and convicted.
you can be sure if someone helped him (or is currently helping him through his Hotmail email account), that he would not complain. this was a deceitful attempt.
i'm not saying to kick him out of school, but cheaters need to be caught and punished. not only as a lesson to them but as a lesson to others who aren't sufficiently motivated by an internal sense of personal integrity.
what's done is done. i contacted his college. I didnt cheat in my undergrad. I took the hits to my GPA for not being prepared. i have no sympathy for cheaters.
1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
3. Get rid of conio.h and other antiquated DOS crap headers.
4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
I'm kind of curious as to the motive of people who request others to do their programming homework for them on forums. Are there people who are taking programming courses who don't actually enjoy programming? Maybe these are the kind of people to whom the "Head First" books are aimed at?
I can understand when people want to cheat while they're at high school taking compulsory subjects. But isn't the whole point of going to college to study something that you actually enjoy doing? I have no idea, since I never went to college.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
3. Get rid of conio.h and other antiquated DOS crap headers.
4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
A lot of science programs have mandatory computer science components. I am a physics student, and there were some low level Java courses required in first year. I enjoyed them thoroughly and think that coding is just about the most useful scientific tool there is, but lots of poeple don't enjoy it and don't agree at all. So maybe the guy just wants to get through this course without killing his GPA over something he doesn't care about.
This exam is basic string manipulation, which leads me to believe that this is a low level course. The subject matter suggests a mathematics program with some introductory comp sci. Likely the OP has to take it as part of his program requirements and has little or no interest in coding for the sake of coding as do some people here.
I don't condone what he tried to do here, but I don't think contacting his university was really justified. Meh, what's done is done. But perhaps just ridiculing him was enough? ^_^
Last edited by KBriggs; 05-19-2010 at 07:23 PM.
just because you don't know what you're talking about, don't let that stop you, k?
CENG 140 at METU is a fundamental course in the Computer ENGineering curriculum, leading to a BS degree. this is a combination of traditional Electrical Engineering and Computer Science courses one might find in another university program. From what I understand that this particular program is prestigious and extremely competitive to get into, where less than 1% of the applicants are accepted.
if such a person wilfully disregards thevery prominent academic integrity rules, and cheats in this foundational course anyhow, then they are obviously having some serious issues and need to reconsider their intended academic career trajectory.
on the contrary. if he is lectured by long-distance strangers, he'll tell us to bugger off and go somewhere else. this sort of disregard for social norms, takes a strong shock to the system to wake them up and get them to realize this sort of behavior is completely unacceptable.I don't condone what he tried to do here, but I don't think contacting his university was really justified. Meh, what's done is done. But perhaps just ridiculing him was enough? ^_^
As an electrical engineer and professional who writes C programs for medical devices, I for one do not want to work with or for any person who has such little personal integrity that they would steal someone elses work and claim it as their own.
cheating devalues the entire system and hurts everyone who works hard at what they do and takes pride in their academic and/or professional accomplishments
.
Last edited by jephthah; 05-19-2010 at 09:22 PM.