|
ho can replace a view on click of enter key?
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
I find that in my Visual C++ 2008 I can select between Debug and Release modes in two places:
A: at the top of the window just below the Help menu option.
B: reachable by clicking Build, Configuration Manager.
I have found that my C:\3d\makeobj_vc\... keeps two copies of its working: Debug and Release.
What happens with each of these four selections for A and B?:-
A and B both Debug
A and B both Release
A Debug, B Release
A Release, B Debug
modified on Saturday, May 3, 2008 7:23 AM
|
|
|
|
|
Didnt get you completly what you wanna say.
When i do changes from A than automatically B also changes.
It is not possible that if one changes than another is not change.
3) A Debug, B Release
4) A Release, B Debug
please check it again. I think you do changes in project context (configuration manager)not active solution configuration. If yes than when the both condition are different than project is not built and failure occur.
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
hi Everyone
i am doing project on GSM modem using AT commands in VC++ programming.
I am not getting how to send,read and receive a sms from GSM modem using AT commands.I am opening port and connecting modem.it is working.But i am not getting how the message shold me send to particular
persons in the list.whether i have to write a function for AT commands or wt.if it is so then tell me how can i do it.
Thanks,
Savitri
|
|
|
|
|
|
savitri wrote: i am doing project on GSM modem using AT commands in VC++ programming.
I am not getting how to send,read and receive a sms from GSM modem using AT commands.I am opening port and connecting modem.it is working.But i am not getting how the message shold me send to particular
persons in the list.whether i have to write a function for AT commands or wt.if it is so then tell me how can i do it.
do you have manual for AT command if yes. then try connecting hardware usin hyper terminal and there you could practice all of your command!
as far a i remember, i used to practice these command on hyperterminal
ctrl + b SMAN 0 ctrl+c
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/codeProject$$>
|
|
|
|
|
Hi..
Thakns for replying.i tried in hyperterminal but i am not getting how to use those commands in my program.when i open the port it is working.but i want to use AT+CMGS AND AT+CMGR commands in my program.is there any syntax for it.please tell me i am new to this AT commands.PLEASE HELP ME OUT.
PLEASE........
THANKS IN ADVANCE
Savitri
|
|
|
|
|
Hello everyone,
My question is comes from when I write a C++ program. Not find suitable place to post.
My question comes from page 175 of Numerical Computation Guide. Here is a link,
http://www.physics.ohio-state.edu/~dws/grouplinks/floating_point_math.pdf
I do not know why if ß = 2, p = 3, emin = -1 and emax = 2 there are
16 distinct floating-point values in formular (1) in page 174? Are
there any more general formular to calculate the distinct value for
formular (1) for any given ß, p, emin and emax?
(sorry, I can not post math formular in this text box)
thanks in advance,
George
|
|
|
|
|
ß is the base we're working in. When ß is 2, we're dealing with binary floating point.
If emin is -1 and emax is 2, there are four possible values for e: -1, 0, 1, and 2. p represents the number of significant binary digits, but because we're talking about normalized floating point numbers, d0 cannot be 0. Because we're dealing in binary, it must be 1. Therefore, only d1 and d2 can change. Because there are two bits, that means there are four possibilities (1.00, 1.01, 1.10, 1.11). Combining the four possible values of the mantissa with the four possible exponents gives 16 possibilities:
1.00 x 2<sup>-1</sup> = 0.1 (== ½, 0.5 decimal)
1.01 x 2<sup>-1</sup> = 0.101 (0.625)
1.10 x 2<sup>-1</sup> = 0.11 (0.75)
1.11 x 2<sup>-1</sup> = 0.111 (0.875)
1.00 x 2<sup>0</sup> = 1.0 (1.0)
1.01 x 2<sup>0</sup> = 1.01 (1.25)
1.10 x 2<sup>0</sup> = 1.10 (1.5)
1.11 x 2<sup>0</sup> = 1.11 (1.75)
1.00 x 2<sup>1</sup> = 10.0 (2.0)
1.01 x 2<sup>1</sup> = 10.1 (2.5)
1.10 x 2<sup>1</sup> = 11.0 (3.0)
1.11 x 2<sup>1</sup> = 11.1 (3.5)
1.00 x 2<sup>2</sup> = 100.0 (4.0)
1.01 x 2<sup>2</sup> = 101.0 (5.0)
1.10 x 2<sup>2</sup> = 110.0 (6.0)
1.11 x 2<sup>2</sup> = 111.0 (7.0) [Edit: fixed formatting for clarity]
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Cool, Mike! Smart guy!
1.
What is the range of the digit in the left of the point in normalized form of float, in base B? [1, B - 1]?
2.
Your conclusion is matching the answer from the book.
But what makes me confused is, suppose you have significant p1 and p2, and the correspounding exponent e1 and e2. Your counting answer is based on the theory that if p1 and p2 are different, no matter what correspounding values are e1 and e2 are, the result must be different.
My question is, is it possible that p1 and p2 are different, but also e1 and e2 are different, then p1 * e1 and p2 * e2 produce the same resulting value?
regards,
George
|
|
|
|
|
That's what Normalising is all about.
Bram van Kampen
|
|
|
|
|
Thanks Bram,
Could you provide answer to my question (1) and (2) please?
regards,
George
|
|
|
|
|
I subclassed a listview to try and get the HDN_TRACK notification from the header control, but the only notifications that seem to come are NM_RELEASEDCAPTURE and NM_CUSTOMDRAW. Is there any way to get the others?
|
|
|
|
|
Hey Friends
I have a screensaver file.
Now let's say this is abcd.scr
where as in screensaver dialog box it is displayed as 1234
any idea how do they extract 1234?
Regards
|
|
|
|
|
Have you tried looking at the HKCU\Control Panel\Desktop\scrnsave.exe value in the registry? Or, how about opening abcd.scr and looking at the string table resource (value 1)?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Yeah Thanks
now i just need to find out how to read string table value of the .scr file
but now i have a way to move forward
thanks a lot
|
|
|
|
|
Helo I want to convert
u_short to long value.
so how to convert it. any library function is used or what?
Regards,
Amit
|
|
|
|
|
You just need to cast it to long;
u_short s = 0;
long l = (long)s;
|
|
|
|
|
I want to make an application (exe file) in visual studio. I want to use this application to copy files from one location to another. This application should accept two command line arguments, one destination path and the other source path. I think I should start from scratch to accomplish this. Can you throw a few pointers as to how to get started with this? are there any tutorial that help me get started with this?
Actually i want to copy a folder from one location to another. But more than the logic to copy, i want to know how to set up the exe to accept the command line arguments and process them.
I want to call the application from somewhere else like this:
<application name=""> <destination location="">.
Many thanks.
|
|
|
|
|
itsh11 wrote: Can you throw a few pointers as to how to get started with this?
Do you know how to open, read from, and write to a file?
itsh11 wrote: ...i want to know how to set up the exe to accept the command line arguments and process them.
int main( int argc, char *argv[] )
{
}
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I'm making a huge assignment and a part of it want me
to see the wasted space in a file
a friend of me said to me to use system("cls");
what is the meaning of system("cls"); ???
no gain without pain
|
|
|
|
|
This is a call to the OS to clear screen. If you typed in cls at the command prompt, the OS would attempt to clear the screen. Not sure what 'wasted space in a file' is though.
|
|
|
|
|
jeron1 wrote: Not sure what 'wasted space in a file' is though.
Also known as slack space.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
i mean with that the un used space in the all the records
no gain without pain
|
|
|
|
|
Well in any case I can't see what "cls" has to do with anything related to a file.
|
|
|
|