Solved

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

Posted on 2000-04-26
2
187 Views
Last Modified: 2010-04-02
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
Comment
Question by:jasmoft146
2 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 50 total points
ID: 2754771
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
 
LVL 1

Author Comment

by:jasmoft146
ID: 2755237
Great, thanks, we are only using vc++ so windows is not a problem.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
maze travler 6 51
Lambda for random numbers problem 7 107
PDF library for Delphi 2 107
How can i compile this github project?? 2 76
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now