Recent content by rockg06

  1. rockg06

    C++ program to calculate volume of cube,cylinder and cuboid using func

    You want us to write a program for you...?
  2. rockg06

    Batch Programming and Error Handling and START Command

    Hi everyone. My friends over at stackoverflow showed me a solution to the problem I was having. I knew that setting the %errorlevel% environment variable would mask the error level register, but I thought I could control it by setting it appropriately and consistently throughout my code...
  3. rockg06

    C++ static cast won't work

    It seems that it's converting the first division into float, but the second division is remaining an int. So it may convert the whole operation back to an int. I would try either static_cast<float>((a/b)*(c/d)); or if that doesn't work: static_cast<float>(a/b)*static_cast<float>(c/d);
  4. rockg06

    C++ help

    Have you been able to figure it out?
  5. rockg06

    The Browser WARS !

    Firefox is definitely winning, but not for long. Chrome is lighter, faster, more efficient than Firefox. I use more than one browser for testing purposes. Firefox is more customizable (sic), but Chrome is definitely faster. I'm using Chrome right now.
  6. rockg06

    C++ help

    I would structure this program a little differently. You could make a "Company" object or something that would keep track of all the data of the employees. But it seems like the assignment just wants you to use functions to compute the average. Instead of using global variables outside of the...
  7. rockg06

    Batch Programming and Error Handling and START Command

    Hello everyone. I am just starting to learn how to script. I'm trying to understand how the system handles Error Levels and how they can be used in error handling. I know there is a difference between the environment variable %ERRORLEVEL% and the Error Level of the system. If I understand this...