-
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`? -
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 … -
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 … -
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 … -
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 … -
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? -
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). -
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 … -
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 -
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 … -
Replied To a Post in Is it the correct json string made?
https://www.google.com/search?q=json%20validator -
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 … -
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. -
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 … -
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 … -
Began Watching What is the exception
What is the exception that verifies if the input is in the specified sql range? -
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? -
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 … -
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. -
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. … -
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. -
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, … -
Replied To a Post in friend operator - help!!
http://www.cplusplus.com/doc/tutorial/inheritance/ -
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 … -
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 … -
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 … -
Replied To a Post in Access Violation when reading of the location 0x0000001c
On which line is that error occurring?
The End.