Welcome Guest ( Log In | Register )

Bump Topic Topic Closed RSS Feed
126 Pages « < 54 55 56 57 58 > » Bottom

Outline · [ Standard ] · Linear+

 Benq Performance Center V15, S series user ~ come n' Join us ~

views
     
lee_what2004
post Nov 27 2009, 03:01 AM

*stare* ji--------
Group Icon
Elite
14,813 posts

Joined: Nov 2006


nah, he means in one msdn account, can get 4 ori key.
Dackson
post Nov 27 2009, 03:02 AM

Decide to start hunting
*******
Senior Member
6,439 posts

Joined: Oct 2008
From: Mlc to PP ?



QUOTE(noien @ Nov 27 2009, 02:59 AM)
need 4 to make it original?i just use 1 n i m doing windows update too
*
get from forumer for enterprise only !! >.<
mine genuine with hp only ^.^

» Click to show Spoiler - click again to hide... «



Added on November 27, 2009, 3:18 amcan i set time_out such thing in C++ to make some word appear after a couple of time ??
it's cmd work like macro ??

This post has been edited by Dackson: Nov 27 2009, 03:18 AM
Michaelbyz23
post Nov 27 2009, 03:22 AM

Sarawak Maju Makmur
*******
Senior Member
4,557 posts

Joined: Jun 2009
From: Selangor / Sarawak / New York



nitez all
lee_what2004
post Nov 27 2009, 03:25 AM

*stare* ji--------
Group Icon
Elite
14,813 posts

Joined: Nov 2006


@michael, nite ^.^

QUOTE(Dackson @ Nov 27 2009, 03:02 AM)
get from forumer for enterprise only !! >.<
mine genuine with hp only ^.^

» Click to show Spoiler - click again to hide... «



Added on November 27, 2009, 3:18 amcan i set time_out such thing in C++ to make some word appear after a couple of time ??
it's cmd work like macro ??
*
if not mistaken need to include something
then use Sleep(xxx);
xxx is number in ms, there will be delay of xxx mili second.
but this only works for windows.
Dackson
post Nov 27 2009, 03:37 AM

Decide to start hunting
*******
Senior Member
6,439 posts

Joined: Oct 2008
From: Mlc to PP ?



QUOTE(lee_what2004 @ Nov 27 2009, 03:25 AM)
@michael, nite ^.^
if not mistaken need to include something
then use Sleep(xxx);
xxx is number in ms, there will be delay of xxx mili second.
but this only works for windows.
*
i believe later on i will learn it ?
Hmmm ... I walk very slow in C++ ... still at basic >.< !!

nite michael ~
lee_what2004
post Nov 27 2009, 03:39 AM

*stare* ji--------
Group Icon
Elite
14,813 posts

Joined: Nov 2006


perhaps~
if need to delay something
Dackson
post Nov 27 2009, 04:54 AM

Decide to start hunting
*******
Senior Member
6,439 posts

Joined: Oct 2008
From: Mlc to PP ?



Arh ...
why can not do double calculation from the previous answer ??

» Click to show Spoiler - click again to hide... «

astria
post Nov 27 2009, 11:09 AM

an apple a day keeps the doctor away
*********
Senior Member
22,158 posts

Joined: Aug 2008
From: Singapore


i would say skip global variables if u re still new...
TSjohn_jay2
post Nov 27 2009, 12:20 PM

Your Trusted Friend
*******
Senior Member
4,496 posts

Joined: Dec 2005
From: K.L



morning ^^
astria
post Nov 27 2009, 12:22 PM

an apple a day keeps the doctor away
*********
Senior Member
22,158 posts

Joined: Aug 2008
From: Singapore


afternoon liao la.. .sweat.gif
TSjohn_jay2
post Nov 27 2009, 12:25 PM

Your Trusted Friend
*******
Senior Member
4,496 posts

Joined: Dec 2005
From: K.L



QUOTE(astria @ Nov 27 2009, 12:22 PM)
afternoon liao la.. .sweat.gif
*
jz wake up ma .. ^^
lee_what2004
post Nov 27 2009, 12:25 PM

*stare* ji--------
Group Icon
Elite
14,813 posts

Joined: Nov 2006


QUOTE(Dackson @ Nov 27 2009, 04:54 AM)
Arh ...
why can not do double calculation from the previous answer ??

» Click to show Spoiler - click again to hide... «

*
if you want to take the above result, you need to declare c=result later, not at the beginning, and even so, why do you cout << result2? which still hasn' been assign with any number.
remember that they do this one line by one line. when at the beginning, you assign c with result which the result still not yet been assigned with any number.
and when you assign result = 2*PI *r; the number for c doesn't change, because c isn't result.

maybe this is what you want

» Click to show Spoiler - click again to hide... «

Dackson
post Nov 27 2009, 12:33 PM

Decide to start hunting
*******
Senior Member
6,439 posts

Joined: Oct 2008
From: Mlc to PP ?



QUOTE(lee_what2004 @ Nov 27 2009, 12:25 PM)
if you want to take the above result, you need to declare c=result later, not at the beginning, and even so, why do you cout << result2?  which still hasn' been assign with any number.
remember that they do this one line by one line. when at the beginning, you assign c with result which the result still not yet been assigned with any number.
and when you assign result = 2*PI *r; the number for c doesn't change, because c isn't result.

maybe this is what you want

» Click to show Spoiler - click again to hide... «

*
paiseh ... didnt get that error at the beginning >.<
right ... forgot to identify result2 >.<
i think declared at the beginning also same ... as long the 1st process part didnt involve c it's ok de !!!
those declared can put before int main () too~


Added on November 27, 2009, 12:39 pmoic .. why didnt work de >.<
after declared on the top still need to declared another time again @@

This post has been edited by Dackson: Nov 27 2009, 12:39 PM
astria
post Nov 27 2009, 12:39 PM

an apple a day keeps the doctor away
*********
Senior Member
22,158 posts

Joined: Aug 2008
From: Singapore


play L4D2, GPU max 93C... laugh.gif
lee_what2004
post Nov 27 2009, 12:41 PM

*stare* ji--------
Group Icon
Elite
14,813 posts

Joined: Nov 2006


its because you declared c=result at the beginning
after you calculated result
c will not get the new number from result
its still remain the old number from result

unless you are making c as pointer to result, that's different story.

remember that c++ is doing one line by one line.
after you declare c=result at the begining, it will only do it once.
no more assigning result as c even if the result change number.

This post has been edited by lee_what2004: Nov 27 2009, 12:44 PM
TSjohn_jay2
post Nov 27 2009, 12:43 PM

Your Trusted Friend
*******
Senior Member
4,496 posts

Joined: Dec 2005
From: K.L



oo .. now programming stuff ... ~
Dackson
post Nov 27 2009, 12:47 PM

Decide to start hunting
*******
Senior Member
6,439 posts

Joined: Oct 2008
From: Mlc to PP ?



QUOTE(lee_what2004 @ Nov 27 2009, 12:41 PM)
its because you declared c=result at the beginning
after you calculated result
c will not get the new number from result
its still remain the old number from result

unless you are making c as pointer to result, that's different story.

remember that c++ is doing one line by one line.
after you declare c=result at the begining, it will only do it once.
no more assigning result as c even if the result change number.
*
then how to making c point to result ?
i wander why i can not succeed even in a simple language coded >.<'''
keep change it @.@
lee_what2004
post Nov 27 2009, 12:52 PM

*stare* ji--------
Group Icon
Elite
14,813 posts

Joined: Nov 2006


the proper order should be this
» Click to show Spoiler - click again to hide... «


if want to use pointer
» Click to show Spoiler - click again to hide... «

more info on pointer
http://www.cplusplus.com/doc/tutorial/pointers/

This post has been edited by lee_what2004: Nov 27 2009, 12:54 PM
Dackson
post Nov 27 2009, 12:57 PM

Decide to start hunting
*******
Senior Member
6,439 posts

Joined: Oct 2008
From: Mlc to PP ?



huh .. i see ...

like this also work ^^
» Click to show Spoiler - click again to hide... «

Fantasia
post Nov 27 2009, 12:58 PM

Look at all my stars!!
*******
Senior Member
5,493 posts

Joined: Feb 2009
walau, darkson, since when u learn c++??

126 Pages « < 54 55 56 57 58 > » Top
Topic ClosedOptions
 

Change to:
| Lo-Fi Version
0.0254sec    0.54    6 queries    GZIP Disabled
Time is now: 17th December 2025 - 03:09 AM