Recent content by scumbum22

  1. S

    Understanding Specific Heat Units (hg-C)

    Nope, I double checked and the units are definitely kJ/(hg-C). Any ideas as to what the hg may be? Is it some reference to mercury?
  2. S

    Understanding Specific Heat Units (hg-C)

    Hopefully this is a really simple question to answer. A problem I have uses the following information: The specific heat of air = 1.05 kJ/hg-C. Does anyone know what the hg-C stands for? I know specific heat is usually expressed in terms of J/C, so this is confusing me.
  3. S

    Comp Sci Creating Animations with Java: Tips for Novice Programmers

    I am a novice programmer and I need to create an Animation using Java. Basically, this animation needs to consist of moving ellipses on a graph. Does anyone have suggestions as to the easiest way to go about doing this? I've been looking into using java.awt and javax.swing to draw the graphics...
  4. S

    C/C++ Optimal Container for Storing Vectors in C++?

    Oh I see! Thank you very much. I won't be able to declare the vectors that will be within the vector. Instead I need to do use push_back or some similar operation to add the vectors to form a matrix. How would you go about using push_back for a matrix? Will it add on columns or rows?,
  5. S

    C/C++ Optimal Container for Storing Vectors in C++?

    What is the best container to store vectors in for C++? Is it possible to declare a vector whose elements are vectors? Or is there some other sort of container that can be used? I was thinking of using a vector of vectors because I need to be able to access specific elements while also being...
  6. S

    C/C++ C++ Help: Sorting with Arrays & Merging Strings

    I'm working on programming my own sorting code in C++ using the divide and conquer algorithm. I'm a novice programmer and I've gotten a little stuck. Let's say you begin your code with an array of distances, dis[4] = {dis1, dis2, dis3, dis4} Then I want to separate this array into...
Back
Top