Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

Hey nietod, here's an easy one, only you can answer

I found your code for color at the console, and need to know two things.  I am in a c++ class, and can I distribute that code?  Second, can I edit that code?
0
jasmoft146
Asked:
jasmoft146
1 Solution
 
nietodCommented:
I don't have a problem with you editing it or using it.  That is why I posted it.

But

That code is windows-specific.  So it will only work on a windows computer and actually only on a compiler that generates 32 bit windows console programs (most modern ones do, but very old ones don't).   Most programming courses want you to program in non-OS-specific ways.  i.e they want your code to be able to compile and run on any computer.  like a Mac or Unix computer.  So you really need to ask your teacher how he/she feels about it.
0
 
jasmoft146Author Commented:
Great, thanks, we are only using vc++ so windows is not a problem.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now