They should be for floats.
Type: Posts; User: EonsNearby
They should be for floats.
I am not getting any error messages from this. As I said, it compiles, builds, and executes fine. It just does not call the AsmTest function.
Oh, and the "int 3" that appears in the ASM code is just so that the debugger would activate since there was a problem with the return value (but that is useless if I can't get the C++ code to call...
Okay, for a lab assignment, I need to construct a C++ program that will call an Assembly Language procedure. The provided code is not what I am going to turn in. It is just a dummy program which is...
I don't have a choice. I have to use it.
I am going to have to have that in my program code since I can't discuss that with my teacher until it is too late.
Which NodePtr are you referring too? If you are referring to what we discussed earlier, I won't be able to talk to my teacher about that until Monday, which is when the assignment is due.
Okay, I am having some trouble with (2). Here is the code I have thus far (the reason I have the excessive cout and system("Pause") functions is because I am still debugging it):
void...
Okay, I got that problem resolved. Thanks for helping me.
I'm not say it is relevant, I am just saying that if I leave that out, then my professor will most likely subtract points from my assignment if I do leave that out, simply because the book said I had...
I can't remove these since the book says I have to have them in my program code even if they don't make sense or are unnecessary (like the struct NodeType you pointed out). In regards to what...
For (1):
NodePtr newNodePtr4 = new NodeType;
newNodePtr4 = currPtr->link;
cout << newNodePtr4->component << endl;
currPtr = currPtr->link;
I need help on these 2 problems for an in class assignment. They are as follows:
(1) Given the declaration:
typedef int ComponentType;
struct NodeType;
typedef NodeType* NodePtr;
So for now, my program is running fine and my questions have been answered. Thanks to everyone who helped out.
Well since I couldn't get help from my professor or fellow students, I thought I should go to different forums and see if I could get help from any of them.
But I have already specified in the...
I did, it is in the post where I had posted the old code by mistake. I edited that post so now it has the new code in it.
Sorry, posted the old code. It has been changed
In regards to some of your evaluations, I have updated my code and it seems to be working fine.
// InClass Assignment 5
// 3/11/2011
//
#include <iostream>
#include <cstring>
But the thing is, we haven't covered vectors yet (it is the next chapter I think), so I don't think I am supposed to use vectors in any of these Programming Warm Up Exercises.
Okay thanks, that cleared up the problems I had with (1), but can you guys or someone else help me with (2)?
I was given a class assignment over my spring break (which is this week), and I am having trouble doing the programming warm up exercises, and I was wondering if someone could help me out. I used...