• Member Avatar for gusano79
    gusano79

    Replied To a Post in Postfix Notation

    Assuming you have somewhere to enter a postfix expression, use [the postfix algorithm](http://en.wikipedia.org/wiki/Reverse_Polish_notation#Postfix_algorithm) to evaluate it. Are you also looking for answers to your questions in `StackArray`?
  • Member Avatar for gusano79
    gusano79

    Began Watching help finding pseudocode of two stacks that sum two binary numbers and print

    hey there i find it difficult to write pseudocode of two stacks that sum two binary numbers and print the answer i can use a third stack for help. for …
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in help finding pseudocode of two stacks that sum two binary numbers and print

    What have you tried so far? Do you have more specific instructions? What is supposed to go into the stacks? I would guess digits. You'll need to track some extra …
  • Member Avatar for gusano79
    gusano79

    Began Watching calculating mean from csv file

    Hi guys, After 10 days of googling and trying I finally must ask. This is not an assignment for school but its a practise one for the upcoming assignment in …
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in calculating mean from csv file

    > Anyhow, what i dont get, is how to calculate this from the csv file. I hardly believe that what they want us to do is to simply create two …
  • Member Avatar for gusano79
    gusano79

    Began Watching how can i make a program by using like this(2*5/6+3-8*3/2)to get the sum of

    how can i make a program by using like this(2*5/6+3-8*3/2)to get the sum of them?
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in how can i make a program by using like this(2*5/6+3-8*3/2)to get the sum of

    > This is mostly done with what is called a recursive descent parser See also the [shunting-yard algorithm](http://en.wikipedia.org/wiki/Shunting-yard_algorithm).
  • Member Avatar for gusano79
    gusano79

    Began Watching Breadth first search maze solver

    I need a maze solver that uses queue type breadth first search to find a way out of the maze and print it out. I already made a dfs one …
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in Breadth first search maze solver

    Instead of recursion like you have for the depth-first search (`nadjiPut`), you need to keep a list of places to visit next. http://en.wikipedia.org/wiki/Breadth-first_search#Algorithm
  • Member Avatar for gusano79
    gusano79

    Began Watching Is it the correct json string made?

    I am creating one json array using Json-glib using c++. Here is the data: title="Daniweb" (string) last= 1234 (long) icon="icons" (string) url = "[\"dani.com\"]" (json array) After making one json …
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in Is it the correct json string made?

    https://www.google.com/search?q=json%20validator
  • Member Avatar for gusano79
    gusano79

    Began Watching Help on where my code went wrong?

    Hi my fellow programmer! Here's a quick scenario of my logic. I call a stored procedure and bind the result to a data table then loop depends on how many …
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in Help on where my code went wrong?

    It looks like `rs.Open` is throwing an exception, but you're ignoring it. You should do something in that `Catch` block to report what went wrong.
  • Member Avatar for gusano79
    gusano79

    Began Watching How to retrieve the data type from a column that is bigInt in the SQL Serve

    I have the code if (!(row.IsNull("bigInt") || row["bigInt"].Equals(String.Empty))) { this.bigInt = Convert.ToInt64(row["bigInt"]); } But, it's give to me the error: Cannot inplicity convert type 'long' to 'int'. An explicit conversion …
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in How to retrieve the data type from a column that is bigInt in the SQL Serve

    SQL Server's `bigint` type maps to `Int64` in .NET, so that's right. It looks like you're trying to assign the result of the conversion where it won't fit. What type …
  • Member Avatar for gusano79
    gusano79

    Began Watching What is the exception

    What is the exception that verifies if the input is in the specified sql range?
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in What is the exception

    Your question seems a little confused about the role of exceptions in input validation. Do you have a specific example of what you're trying to do?
  • Member Avatar for gusano79
    gusano79

    Began Watching The connection was not closed. The connection's current state is open.

    Hi guys please am new to c# sharp am having trouble to insert Events into the databse for an application am building I keep haveing the this error"The connection was …
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in The connection was not closed. The connection's current state is open.

    It looks like you're missing a `finally` before the block that closes the connection.
  • Member Avatar for gusano79
    gusano79

    Began Watching Unable to move object after it s rotation

    I combined mouse events o move my drawn rectangle object. Everything was fine i could move it and when i released the mouse button it stopped moving and settled down. …
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in Unable to move object after it s rotation

    Code? In particular, your mouse event handlers, paint method, and anything you're using to track object position & orientation will be helpful.
  • Member Avatar for gusano79
    gusano79

    Began Watching friend operator - help!!

    #include <iostream> using namespace std; template<class T> class MyClass { private: T data; public: MyClass(T data) { this->data = data; } }; template<class T> bool operator< (const MyClass<T> & a, …
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in friend operator - help!!

    http://www.cplusplus.com/doc/tutorial/inheritance/
  • Member Avatar for gusano79
    gusano79

    Began Watching Help with tic tac toe program

    Enter X, Y coordinates for your move : 2,3 _0|_0|__ _X|_X|_X | | Congratulation Player 1 ! you have WON! Want to play again? y/n How can I reset the …
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in Help with tic tac toe program

    You could write a function to loop over `array`, assigning the appropriate values to the right places. You could have a duplicate of `array` that you don't change during the …
  • Member Avatar for gusano79
    gusano79

    Began Watching Access Violation when reading of the location 0x0000001c

    hi all i use gecode solver to solve my model ; but i get this error Access Violation when reading of the location 0x0000001c and i don't konw how to …
  • Member Avatar for gusano79
    gusano79

    Replied To a Post in Access Violation when reading of the location 0x0000001c

    On which line is that error occurring?

The End.