Thread: help about homework

  1. #16
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    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.

  2. #17
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    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

  3. #18
    Registered User jephthah's Avatar
    Join Date
    May 2010
    Location
    seattle
    Posts
    49
    Quote Originally Posted by claudiu View Post
    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.
    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.

  4. #19
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    Quote Originally Posted by jephthah View Post
    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.
    Did they respond? I'm curious.

    Yeah I guess you are right about being harsh with 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.

  5. #20
    Registered User jephthah's Avatar
    Join Date
    May 2010
    Location
    seattle
    Posts
    49
    Quote Originally Posted by claudiu View Post
    Did they respond? I'm curious.
    yes. rather quickly. they're serious.

  6. #21
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by jephthah View Post
    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.
    Cool, cboard now has it's own vigilante (complete with costume).
    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;
    }

  7. #22
    Registered User jephthah's Avatar
    Join Date
    May 2010
    Location
    seattle
    Posts
    49
    Quote Originally Posted by Sebastiani View Post
    Cool, cboard now has it's own vigilante (complete with costume).
    well, just don't come in here, posting your Engineering Exam PDF, complete with personal hotmail address looking to cheat. it's insulting.


    but, um, hey... you like my cape?

  8. #23
    Registered User Sharke's Avatar
    Join Date
    Jun 2008
    Location
    NYC
    Posts
    303
    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.

  9. #24
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by jephthah View Post
    well, just don't come in here, posting your Engineering Exam PDF, complete with personal hotmail address looking to cheat. it's insulting.
    I only wish more of them would...

    Quote Originally Posted by jephthah View Post
    but, um, hey... you like my cape?
    Yep, totally sweet cape there, Cap'n Calvin.
    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;
    }

  10. #25
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    Quote Originally Posted by jephthah View Post
    yes. rather quickly. they're serious.
    Lol. Nice dude, I'm just curious what did they say?
    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.

  11. #26
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by Sharke View Post
    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.
    You know, I've always wondered that, too. Do these people live in a communist country, and simply aren't allowed to choose a field for themselves, or what?
    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;
    }

  12. #27
    Registered User
    Join Date
    Jun 2009
    Posts
    486
    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.

  13. #28
    Registered User jephthah's Avatar
    Join Date
    May 2010
    Location
    seattle
    Posts
    49
    Quote Originally Posted by KBriggs View Post
    A lot of science programs have mandatory computer science components. ... 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.

    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.

    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? ^_^
    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.

    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Homework
    By kermi3 in forum C Programming
    Replies: 10
    Last Post: 09-27-2001, 04:49 PM
  2. Homework
    By kermi3 in forum C++ Programming
    Replies: 15
    Last Post: 09-26-2001, 03:16 PM
  3. Homework
    By kermi3 in forum Windows Programming
    Replies: 5
    Last Post: 09-15-2001, 11:48 AM
  4. Homework
    By kermi3 in forum C Programming
    Replies: 0
    Last Post: 09-10-2001, 01:26 PM