yeah, maxorator
ya, know when you program late at night....
actually I end up writing this instead of using SPACE:
while ( value != 0 )
{
std::cin >> value;
Type: Posts; User: The SharK
yeah, maxorator
ya, know when you program late at night....
actually I end up writing this instead of using SPACE:
while ( value != 0 )
{
std::cin >> value;
How do you end the loop, by pushing SPACE ?
I've tried using the value 32.... doesn't work.
while ( value == 32 || value < 0 )
{
std::cin >> value;
if ( value < 0 )
Hi Salem
In VS2005, you can turn on Hexadecimal display in different ways,
not exactly like vs2003, but there's still no yellow post-it like note, when
you hover over the memory window with...
Hi Salem
Do you know how to set tool-tips on, when debugging
and viewing memory ?
regards,
The SharK
Hi Salem
Yeah, I mean the: "tool-tip with the slightly postit-note yellow tint to it" ;-)
How can you make VS2005 show "Hex to Decimal" -
(in the memory display) - that which pops-up and follows the mouse...
regards,
>>>The SharK<<<
I see, thanks Frobozz ;-)
Hi swgh
Sure I could !
But that didn't answer the question... ;-)
regards,
I just wonder:
When I run this program, why is it that the result is a little incorrect ?
Like 0.2 * 1 == 0.20000000000000001
and
0.2 * 2 == 0.40000000000000002
Hi Salem
Yep, that did the trick ;-)
No body, no function !
regards,
Hi Ancient Dragon !
It say's in the text:
#include <iostream>
using namespace std;
I have this piece of code, from Lesson 5: Switch case.
When I compile it, I get this from VS 2005:
1>------ Build started: Project: test, Configuration: Release Win32 ------
1>Compiling......
#include <iostream>
using namespace std;
int main()
{
for ( int x = 0; x < 10; x++ )
{
cout << x << endl;
}
Hello Jeremy G.
When I saw your name, I thought you might where this Jeremy G.
http://www.jorgon.freeserve.co.uk/
but according to your homepage which is down now, it doesn't seem to be...
I am not quite fond of the layout....
But ok, it works ;-)
I normally use FF, because it's convenient to use !
I use IE7, when doing my netbank - they don't use FF for some
security issues.
Some say:
Real programmers only program in BINARY !!!
While we're at humoristic stuff....
Real Programmers - in the old days:
Coded all day long, and when they got home from
work they took a long break - say 5 minutes.
Then they got on...
Thanks Prelude for clearing that up !
I don't no much about the C language, so I thought
that it was "C++ language", and meant:
increment the variable "C".
Maybe by joke he meant that it was...
I just wrote from a Danish magazine about Bjarne Stroustrup when
he invented C++.
He wrote:
So as he say, there's a little joke implied in the name ;-)
Hi Richie T
Oh, I see !
So I'll use:
cin.ignore();
cin.get();
Why is it, that you have to use two lines like:
cin.ignore;
cin.ignore;
or one time:
cin.ignore(2);
to make the console window wait for a keypress.
hmm... Win32 is not the same as C++ code.
Win32 is the application programming interface (API), that enables applications to use the 32-bit instructions available on 80386 and higher processors.
...
Hi Mario F.
hmm... what exactly is it I should be seeing/noticeing :confused:
My stdafx.h Header file looks like this:
// stdafx.h : include file for standard system include files,
// or...
Hi ConderMan
Yes, I see the code doesn't need it obviously.
When I set "Not Using Precompiled Headers" and leave the reference to stdafx.h it compile fine.
But the opposite, if I set it to...