User Profile

Collapse

Profile Sidebar

Collapse
Thumbski
Thumbski
Last Activity: Mar 22 '07, 09:02 AM
Joined: Mar 21 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thumbski
    replied to Infix to Postfix Conversion Header File
    in C
    Here is my .h so far. As you can see I've just initialized the functions that I"m going to be using in the .cpp.
    Code:
    namespace Project4a {
    
    	
    	public ref class Infix : public System::Windows::Forms::Form
    	{
    	public:
    		Infix(void)
    		{
    			InitializeComponent();			
    		
    		}
    		void initStack(STACK *stack);
    		void get_infix(char infix[]);
    		void convertToPostfix(char
    ...
    See more | Go to post
    Last edited by Ganon11; Mar 21 '07, 05:34 PM. Reason: code tags added

    Leave a comment:


  • Thumbski
    replied to Infix to Postfix Conversion Header File
    in C
    Basically it is telling me with the infix.read() function types that the item to the left of .read() has to be a class, structure, etc. So basically it must have something to do with my constructor at the moment. Except the thing is I don't even know what to put in my constructor, I have a couple functions initiliazed outside of it but otherwise I have just a default constructor. Sorry I know this is really vague but I do NOT understand header...
    See more | Go to post

    Leave a comment:


  • Thumbski
    started a topic Infix to Postfix Conversion Header File
    in C

    Infix to Postfix Conversion Header File

    Alright basically I just have one simple question. I can code perfectly fine and don't have any problems with the .cpp of the infix class but with my header I can't get anything to work really, any guideline as to how to start this would be great. It has to work with assign.cpp which is like this:
    Code:
    int main()
    {
    
       Infix infix;
    
       while (true)
       {
          //cout << "Enter an infix
    ...
    See more | Go to post
    Last edited by Ganon11; Mar 21 '07, 05:32 PM. Reason: code tags added
No activity results to display
Show More
Working...