Thread: C++ conversion help

  1. #16
    Registered User
    Join Date
    Apr 2011
    Posts
    35
    Quote Originally Posted by Elysia View Post
    The answer is no, as you've experienced. No matter of begging or complaining will change that.
    If someone steals your code, then you are not at fault; (s)he is.
    Your problem and code will help contribute to people having the same problem so they can fix it too.
    Yes but only a few lines of it is the concerned part and it's enough to help people, indeed I'd willingly leave them here. But I think I must have the right to delete the unconcerned part of the code, since it's got nothing to do with the problem and just remain open to the cheaters. Anyway, it's good to see at least one person like you who has some values.

  2. #17
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by farukyaz View Post
    the unconcerned part of the code, since it's got nothing to do with the problem
    Next time, post only the concerned part. Saves a lot of trouble.

  3. #18
    Registered User
    Join Date
    Apr 2011
    Posts
    35
    Quote Originally Posted by Elkvis View Post
    you've already admitted that your code is wrong. knowing this, why would anyone steal it? this is a public forum. everything here is searchable on Google. in fact, I have found threads that I submitted here minutes later in google results. you should be less concerned about your classmates stealing your code, and more concerned with getting it right.
    I'm already more concerned about it that's why I've finished it before posting now here. Btw, the code here is wrong but anyone who know C++ better than me can take and correct it.

  4. #19
    Registered User
    Join Date
    Apr 2011
    Posts
    35
    Quote Originally Posted by manasij7479 View Post
    Next time, post only the concerned part. Saves a lot of trouble.
    Right. I'll do that.

  5. #20
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by farukyaz View Post
    I'm already more concerned about it that's why I've finished it before posting now here. Btw, the code here is wrong but anyone who know C++ better than me can take and correct it.
    Chances are, you will get the same result on other forums.
    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. #21
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    replace printf with cout
    replace scanf with cin

    search google for the proper way to use cin and cout.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. bmp to pdf conversion
    By leojose in forum Tech Board
    Replies: 8
    Last Post: 05-29-2005, 09:56 AM
  2. Conversion!!!
    By GT70sgt in forum C++ Programming
    Replies: 1
    Last Post: 11-19-2003, 07:51 PM
  3. Conversion?
    By mart_man in forum C Programming
    Replies: 7
    Last Post: 12-08-2002, 07:23 PM
  4. conversion
    By sonict in forum C++ Programming
    Replies: 10
    Last Post: 11-22-2002, 08:01 PM
  5. Conversion
    By CyberMax8 in forum C Programming
    Replies: 7
    Last Post: 11-20-2002, 08:46 PM