Thread: Cheating?

  1. #1
    That weird Java guy xniinja's Avatar
    Join Date
    Jun 2010
    Posts
    231

    Talking Cheating?

    Hey everybody its about 2/3 the way trough summer break and I am taking 2 math classes next year. I just had a question. If i make a calculator for the functions we learn, is that cheating, because technically I know the function inside and out if I can make a calculator for it. If you think otherwise or just want to put in your thoughts please comment below.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Err... no, but if you may be missing out on good practice, especially if you cannot take this calculator with you to the exam hall.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Your teacher is the final authority on that matter, won't you think? Ask him. You may be surprised with the answer...
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  4. #4
    That weird Java guy xniinja's Avatar
    Join Date
    Jun 2010
    Posts
    231
    ok... these are both true, Ill ask him/her.

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    They can be a good tool for learning, actually. It's great to use them to test ideas instead of doing it by hand. You save lots and lots and lots of time that would otherwise be wasted.
    So when you know your idea works, you could easily get more practice solving the problems by hand later.
    Again, however, it's a double-edged sword. Because your cannot use them on your exams (usually).

    That said, I do like to use calculators and tools for doing math problems. Because I can test ideas and approaches quickly and learn how to best approach these problems. But I make sure to calculate them by hand as well, because otherwise you will never learn anything.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    If you know enough about the problems in class to make your own calculator, why haven't you tested out of class and done something more challenging?

  7. #7
    That weird Java guy xniinja's Avatar
    Join Date
    Jun 2010
    Posts
    231
    Because, my high school is dumb
    and like they said, I may have made it but its still a calculator,


    after school last year I took up C programming, a week later I had a fully functional quadratic formula calculator with full explimation on how it gets that answer.
    I even took it to Pearson - Math and I got every answer (concerning what the calculator solves) right.
    If you want it I attached a .c file.

    EDIT:
    it used to work. probably an easy fix though
    EDIT:
    I thought it was broken because I tried running it when it was running and got an error message. LOL. I works though
    Last edited by xniinja; 08-03-2010 at 02:24 PM.

  8. #8
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    ... what's the circular recursion for?

  9. #9
    That weird Java guy xniinja's Avatar
    Join Date
    Jun 2010
    Posts
    231
    Because I didn't like having to open it then it gives me an answer then it closes then I have to open it up again, I just wanted to open it and get all the answers that I wanted then close it

  10. #10
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Indentation needs improvement.
    main must have a return type.
    And don't recursively call main. Use a loop.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  11. #11
    That weird Java guy xniinja's Avatar
    Join Date
    Jun 2010
    Posts
    231
    Ok thanks I will, Its not that important of a project but I will do that on my other projects.

    Thanks.

  12. #12
    The larch
    Join Date
    May 2006
    Posts
    3,573
    I wish I knew how to program (and owned a computer) when I went to school. All the wasted time on math exercises...

    But then, it is possible to make the computer do math exercises without any particular understanding of the math behind it. When I need a GCD algorithm, I just copy it off Wikipedia. I don't need to understand the math behind it, just how to translate the pseudocode into a programming language.

    Recently I had to solve triangles. Initially I thought there were not going to be many, and I reinvented everything from the definitions of trigonometric functions for each particular case. Then it occurred to me that a Python module would be much simpler. All it took was to implement formulas from a textbook.
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  13. #13
    Registered User lpaulgib's Avatar
    Join Date
    May 2010
    Posts
    65
    Are you referring to the graphing calculators? I know pretty much every time I've used one in an exam the teacher clears them out for cheaters. If you're asking the C board and not your teacher, it's probably not going to fly.

  14. #14
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    That pretty much depends on what level you're at. Usually. And other factors.
    But sometimes they're allowed. You just need to make sure you know the rules.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  15. #15
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246

    Question

    Quote Originally Posted by xniinja View Post
    ok... these are both true, Ill ask him/her.
    You are in doubt about your teacher's gender?

    [EDIT] I think women are more conservative on these matters. So the answer probably will be no.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Contract Cheating
    By jim mcnamara in forum A Brief History of Cprogramming.com
    Replies: 61
    Last Post: 05-22-2009, 06:29 AM
  2. Cheating protection for highscore list
    By morbuz in forum C++ Programming
    Replies: 10
    Last Post: 07-12-2007, 09:41 AM
  3. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM
  4. Of Cheating Men and Cheating Women
    By bookworm in forum A Brief History of Cprogramming.com
    Replies: 25
    Last Post: 07-16-2003, 11:32 AM
  5. some call it cheating...
    By ... in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 02-13-2003, 06:12 PM