Recent content by 00PS
-
0
C/C++ How can I open and read input files in Xcode for my C++ command line utility?
ok, I think I fixed the problem. Apparently, you need to put the argument 'int argc, char * const argv[]' in int main. I didn't use this before, and I have noticed that xcode's template always has that as the argument. Anyone know why this works?- 00PS
- Post #12
- Forum: Programming and Computer Science
-
0
C/C++ How can I open and read input files in Xcode for my C++ command line utility?
Thanks for the encouragement :) I totally forgot about that! either way it's not working...- 00PS
- Post #9
- Forum: Programming and Computer Science
-
0
C/C++ How can I open and read input files in Xcode for my C++ command line utility?
/Users/.../build/Debug/P11_in1.txt is the directory. What should I do about the spaces in the directory? I am going to be typing in the filename quite frequently is there some way I can shorten the process, besides typing in the ENTIRE directory- 00PS
- Post #7
- Forum: Programming and Computer Science
-
0
C/C++ How can I open and read input files in Xcode for my C++ command line utility?
No luck. The input stream goes into the "fail-state" mode when it reads it in. Do I need to make any stipulations in the project to add the files in? (The files are .txt files)- 00PS
- Post #5
- Forum: Programming and Computer Science
-
0
C/C++ How can I open and read input files in Xcode for my C++ command line utility?
Right. It's in the console. Here is what I have: string filecheck(string& tubein) { ifstream InFile; cin.clear(); //resets input stream if it is in the fail state mode count<<"Enter the input file name: "; cin>>tubein; //stores filename InFile.open(tubein.c_str()); //priming...- 00PS
- Post #3
- Forum: Programming and Computer Science
-
0
C/C++ How can I open and read input files in Xcode for my C++ command line utility?
I am in a C++ class, programming a command line utility, and I can't figure out how to open and read from an input file in xcode. any help?- 00PS
- Thread
- files Input
- Replies: 12
- Forum: Programming and Computer Science
-
0
Linear Algebra: Vector Spaces, Subspaces, etc.
This seems very similar to what I just wrote...I can't see much of a difference? So if b1+b2=0 then the subspace is in R3, but that would mean the vector is (0,0,0) which makes the subspace trivial?- 00PS
- Post #7
- Forum: Calculus and Beyond Homework Help
-
0
Linear Algebra: Vector Spaces, Subspaces, etc.
ok, correct I get this. So for a): The subspace is (0,b,0) and the zero vector is obtained by setting the scalar c=0 and multiplying through. But, since v1+v2=(a1+a2, b1+b2, c1+c2) v1+v2=(0, b1+b2, 0) is not true for R3, then it...- 00PS
- Post #5
- Forum: Calculus and Beyond Homework Help
-
0
Linear Algebra: Vector Spaces, Subspaces, etc.
thats correct. sorry about the confusion.- 00PS
- Post #3
- Forum: Calculus and Beyond Homework Help
-
0
Linear Algebra: Vector Spaces, Subspaces, etc.
Homework Statement Which of the following subsets of R3? The set of all vectors of the form a) (a, b, c), where a=c=0 b) (a, b, c), where a=-c c) (a, b, c), where b=2a+1Homework Equations A real vector space is a set of elements V together with two operations + and * satisfying the following...- 00PS
- Thread
- Algebra Linear Linear algebra Subspaces Vector Vector spaces
- Replies: 10
- Forum: Calculus and Beyond Homework Help
-
0
Engineering Engineers Who Write: How to Make Money
I have been told by a few people that people that have a very good technichal knowledge (i.e. engineers) and can write well can make loads of money. I can't really find where the two paths intertwine. Can someone explain what they mean?- 00PS
- Thread
- Engineering Writing
- Replies: 3
- Forum: STEM Career Guidance
-
0
What is the Conceptual Understanding of Electric Potential?
No. this is the only electrical class in my curriculum (Mechanical Engineering) I realize its pretty complex, but what about more of "elemental" level. Not necessarily individual atoms, but perhaps a picture of some sort. I am really struggling. Can you explain it in the context of a circuit...- 00PS
- Post #3
- Forum: Electrical Engineering
-
0
What is the Conceptual Understanding of Electric Potential?
ok, So I am in an entry level physics class (electricity & magnetism) and I am having trouble grasping the idea of voltage/electric potential. Wikipedia describes it as "electric pressure" but that is still pretty foggy. My professor relies heavily on mathematical derivations and barely says a...- 00PS
- Thread
- Concept Electric Electric potential Electric potential concept Potential
- Replies: 8
- Forum: Electrical Engineering
-
0
Undergrad What Happens When You Calculate One to the Infinity Power?
why wouldn't it? 1x1x1x1... is still 1 isn't it? you can also check the graph at 0 to see if it converges to 1 when you plug in positive real numbers for a and b. don't the 89s take limits? -
0
Old Exam: Struggles with Questions 2 and 3
thanks. I sort of figured it out after consulting a friend. To calculate the moment you evaluate a determinant of i,j,k being the first row, r components being the second, and F components being the third. As for the thetas, find the unit vector and set the components equal to arccosine like you...- 00PS
- Post #3
- Forum: Engineering and Comp Sci Homework Help