Solved

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

Posted on 2000-04-26
2
191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

696 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