|
d'accord tocxxt ...
V
|
|
|
|
|
in english sir, in english
where are so international !!!!
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Vivekuniq wrote:
d'accord tocxxt ..
Which language it that!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
ThatsAlok wrote:
Vivekuniq wrote:
d'accord tocxxt ..
Which language it that!
he just said in french : "OK toxcct"...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
You are required to write a program to implement the EXPRESSION EVALUATION problem above using an appropriate data structure. Your program must include the functionalities to enable the user to evaluate any expression with the following minimum assumptions
Operands may be negative
Operators must include (^, %, *, /, +, -,)
Test for division by zero
Parenthesis Checking
Allow Sin, Cos and Tan values
|
|
|
|
|
uma_kanth_k wrote:
You are required to...
I am ?? you know what, i already did it
and i guess you don't want to make your homework by yourself...
see VisualCalc...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
If i give 2+3(4) in the window, it is giving 5.000 but that is wrong.
|
|
|
|
|
if you had read the article in detail, you would have seen that VisualCalc don't support implicit multiplication...
it is written black on white dude !!
when the calc see what you asked it, it tries to resolve a function name...
see the error 0xn301 in the help dialog > Error codes tab.
moreover, this question had a better place directly at the bottom of the article itself, more than the Visual C++ forum (as it relates to) ; i'm sure you would have done so if i didn't author the article too...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
What? You expect me to READ all that text? You must be stupid. Not even your software is working like I need it!
Pandoras Gift #44: Hope. The one that keeps you on suffering. aber.. "Wie gesagt, der Scheiss is' Therapie" boost your code || Fold With Us! || sighist | doxygen
|
|
|
|
|
and so what a guy like you expects of a software coming from a *stupid* guy like me ??
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
ah, i see, you vote mo down, but don't take time to answer to me ?
humm, yeah, i'm certainly too stupid for you...
unless you're not brainful enough to understand my Calculator ?!
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Hi TOXCCT,
(a) I am not the original poster
(b) I was trying to make a joke, because I have enough experience with these guys, too
(c) I didn't vote you down
Pandoras Gift #44: Hope. The one that keeps you on suffering. aber.. "Wie gesagt, der Scheiss is' Therapie" boost your code || Fold With Us! || sighist | doxygen
|
|
|
|
|
so i apology sincerely, i didn't understood the joke...
and sorry too for having voted your post down (i admint, i did it )
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
humm, yeah, i'm certainly too stupid for you...
Hain Tox Don't get Upset,it's usual and part of life ! and Mr. Peterchen himself admit that he not one who have voted your article down!.
Your Visual Calc is one of the finest project I have ever seen for regular expression!, though I never work on that and try to understand that!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
ThatsAlok wrote:
Hain Tox Don't get Upset
yes, i'll not to, but that's what happens when your english is not good enough (i talk about mine of course )
ThatsAlok wrote:
Your Visual Calc is one of the finest project I have ever seen for regular expression
thank you very much...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
The Code Project forums are not here for you to find someone to do your homework. They are here for you to get help when you have a programming problem that you can't solve on your own.
Try to write the program yourself. Once you have something working, if you still have a problem, feel free to come back and ask.
One hint: If the assignment seems too large or overwhelming, pick one small part of it to get working first. For example, if you are writing an expression evaluation program, write the part that prompts the user for an expression, and then print it back out. Implement only a single operator to start. Initially, leave out the parentheses handling. This is a fundamental principle of software engineering: Break The Problem Down Into Manageable Pieces.
Good luck.
Software Zen: delete this;
|
|
|
|
|
Hi All,
How I could validate and evaluate c based expression like--
(a < b && g > l) || (N == true)
I am new to this forum. If it is already discussed please provide me link.
Thanks,
Mahipati
|
|
|
|
|
Hello!
I am developing a database program using Access DB.. Now im using MFC ODBC classes to connect to Access.. Now at some point, i need to connect to a MS SQL Server DB
Can I do it with little code change or no code change, recompilation at all? Do I just supply a different driver/connection string and thats it!?!?
Im just trying to clarify since ODBC is supposed to do that..
Haven't installed a SQL Server on a PC yet, but i wanna know in advance how ODBC really works...
|
|
|
|
|
The only think that you'd have to do is to install the ODBC implementation for SQL Server (usually comes with SQL Server installation), create the new DSN and change the connection string.
Depending on the versions of the DBMS you'd have to take care of the SQL implementation that they use because some statements couldn't be supported: transactions, ... but I don't think you'll have these kind of problems migrating from Access to SQL Server (on the other way probably).
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
Click on the link below to 'My Articles' and check out my QuickQuery project. I'm using ODBC, and so far, it's worked with every type of database I've had on my system. It may not be exactly what you want (I think it was the first or second program I ever made in C++), but I hope it can help you in some way.
My articles
www.stillwaterexpress.com
BlackDice
|
|
|
|
|
I'm looking for a non-MFC/WTL (ie. just Win32) menu class that implements the Office XP visual style. Everything on CodeProject seems to be MFC/WTL based.
Any suggestions ?
|
|
|
|
|
MFC CMenu just wrap a Win32 HMENU object...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Hi all
I am retrieving Hardware information by using WMI(Windows Management Instrumentation)classes.Here when I access any property of datetime data type then Run time error occurs. I am using VARIANT data type to take the values from WMI classes.
So Please tell me that how should I proceed to print values of datetime data type into the textbox.
Tanks.
|
|
|
|
|
provide the code snippet plz.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
The Code snippet is as follows
Here I am using Win32_OperatingSystem Class to access LastBootUpTime property and want to print it in text box, But it gives error.
Although I am able to take other properties of String data type of same class.
So please tell me solution.
IEnumWbemClassObject * pEnumObjectOS = NULL;
HRESULT hResOS;
BSTR strQueryBI = (L"Select * from Win32_OperatingSystem");
BSTR strQLOS = (L"WQL");
hResOS = pWbemServices->ExecQuery(strQLOS, StrQueryOS,WBEM_FLAG_RETURN_IMMEDIATELY,NULL,&pEnumObjectOS);
if(hResOS != S_OK)
{
MessageBox("Could not execute Query");
return;
}
ULONG uCountOS = 1, uReturnedOS;
IWbemClassObject * pClassObjectOS = NULL;
hResOS = pEnumObjectOS->Reset();
if(hResOS != S_OK)
{
MessageBox("Could not Enumerate");
return;
}
hResOS = pEnumObjectOS->Next(WBEM_INFINITE,uCountOS, &pClassObjectOS, &uReturnedOS);
if(hResOS != S_OK)
{
MessageBox("Could not Enumerate");
return;
}
VARIANT vOS;
//CString szStr;
BSTR strClassPropOS = SysAllocString(L"LastBootUpTime");
hResOS = pClassObjectOS->Get(strClassPropOS, 0, &vOS, 0, 0);
if(hResOS != S_OK)
{
MessageBox("Could not Get Value");
return;
}
SysFreeString(strClassPropOS);
_bstr_t bstrPathBIOS = &vOS; //Just to convert BSTR to ANSI
//char* strPath=(char*)bstrPath;
//COleDateTime dateTime(vBIOS.date);
// szStr=dateTime.Format("%H%M%S");
if (SUCCEEDED(hResOS))
SetDlgItemText(IDC_EDIT1,(char*)bstrPathOS);//MessageBox(strPath);
else
MessageBox("Error in getting object");
VariantClear( &vOS );
Thanks.
|
|
|
|