Welcome Guest ( Log In | Register )

Bump Topic Topic Closed RSS Feed
126 Pages « < 62 63 64 65 66 > » Bottom

Outline · [ Standard ] · Linear+

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

views
     
astria
post Nov 29 2009, 12:22 PM

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

Joined: Aug 2008
From: Singapore


giving my AMD CPU a little shock therapy... brows.gif
Dackson
post Nov 29 2009, 12:51 PM

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

Joined: Oct 2008
From: Mlc to PP ?



QUOTE(lee_what2004 @ Nov 29 2009, 02:57 AM)
^ nice to hear another happy user ^.^
why not define c as string? and use switch case to define name of months in c.
*
stringstream ald define string c !!
can not !!
the system can not recognise more than 1 c !! >.<
#define c monday ?
lee_what2004
post Nov 29 2009, 12:59 PM

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

Joined: Nov 2006


why stringstream it?
not just use if (b==1) then c="january" ?

or defind c as array, keep it as c[11]={ jan, feb, mar,..., dec};
then can use cout << c[b-1] where c[0] = jan, c[1]=feb, etc....
Dackson
post Nov 29 2009, 01:11 PM

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

Joined: Oct 2008
From: Mlc to PP ?



QUOTE(lee_what2004 @ Nov 29 2009, 12:59 PM)
why stringstream it?
not just use if (b==1) then c="january" ?

or defind c as array, keep it as c[11]={ jan, feb, mar,..., dec};
then can use cout << c[b-1] where c[0] = jan, c[1]=feb, etc....
*
can not understand >.<
i just learn until function >.<

lee_what2004
post Nov 29 2009, 01:13 PM

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

Joined: Nov 2006


okay then.

why not just use if (b==1) then c="january" ?
Dackson
post Nov 29 2009, 01:15 PM

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

Joined: Oct 2008
From: Mlc to PP ?



can not !!
bcoz b ald is int b ! can not convert into
if (b==3) then c ="january" ?;
lee_what2004
post Nov 29 2009, 01:17 PM

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

Joined: Nov 2006


well, b is int right? why can not compare?
if (b==1) c="january";

can not work?
Dackson
post Nov 29 2009, 01:23 PM

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

Joined: Oct 2008
From: Mlc to PP ?



b can be 1 or 2 o~
b ald use in if .. else if section !! ><


Added on November 29, 2009, 1:25 pmcan not ah ....
[attachmentid=1328611]

This post has been edited by Dackson: Nov 29 2009, 01:28 PM
lee_what2004
post Nov 29 2009, 01:35 PM

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

Joined: Nov 2006


you declare b twice?
if b already string, compare it using if (b=="1")
Dackson
post Nov 29 2009, 01:38 PM

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

Joined: Oct 2008
From: Mlc to PP ?



sorry ...
it's work ald ... bcoz i forgot to delete old error ^^
hv any code that can straight away terminate the program and closed the window ??
lee_what2004
post Nov 29 2009, 01:41 PM

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

Joined: Nov 2006


return 0;
no?
Dackson
post Nov 29 2009, 01:44 PM

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

Joined: Oct 2008
From: Mlc to PP ?



like void exist ?/
something that when user select it, it will auto closed the program even auto closed the cmd window ??


Added on November 29, 2009, 1:45 pmcan make the program write chinese word out ??

This post has been edited by Dackson: Nov 29 2009, 01:45 PM
noien
post Nov 29 2009, 01:50 PM

Getting Started
*******
Senior Member
3,187 posts

Joined: Jan 2008
hey,i m using 2gb ram now.and my usage is normally is only 600mhz.should i upgrade my ram to 4gb since ddr2 is getting more n more exp?
lee_what2004
post Nov 29 2009, 01:51 PM

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

Joined: Nov 2006


not sure how those being done.
astria
post Nov 29 2009, 01:57 PM

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

Joined: Aug 2008
From: Singapore


QUOTE(noien @ Nov 29 2009, 04:50 PM)
hey,i m using 2gb ram now.and my usage is normally is only 600mhz.should i upgrade my ram to 4gb since ddr2 is getting more n more exp?
*
let's wait... DDR2 will get cheaper...
lee_what2004
post Nov 29 2009, 01:58 PM

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

Joined: Nov 2006


QUOTE(noien @ Nov 29 2009, 01:50 PM)
hey,i m using 2gb ram now.and my usage is normally is only 600mhz.should i upgrade my ram to 4gb since ddr2 is getting more n more exp?
*
well, in that case, its not much use even if you upgrade it. but ddr2 should go down soon.
noien
post Nov 29 2009, 02:06 PM

Getting Started
*******
Senior Member
3,187 posts

Joined: Jan 2008
QUOTE(astria @ Nov 29 2009, 01:57 PM)
let's wait... DDR2 will get cheaper...
*
QUOTE(lee_what2004 @ Nov 29 2009, 01:58 PM)
well, in that case, its not much use even if you upgrade it. but ddr2 should go down soon.
*
huh?i thought the price is increasing as ddr3 is becoming more n more popular
as last time 2gb ram was just rm80 now is already rm110.
astria
post Nov 29 2009, 02:11 PM

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

Joined: Aug 2008
From: Singapore


that was because RAM makers were cutting back on production drastically due to the excessive glut and ridiculously low price in the market...

now that they are making profit again, they are increasing their production rate... they are now producing at roughly 50-60% of pre-economic crisis lvl...
lee_what2004
post Nov 29 2009, 02:11 PM

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

Joined: Nov 2006


because the production for ddr2 was stop, now is being resumed, iinm~
noien
post Nov 29 2009, 02:20 PM

Getting Started
*******
Senior Member
3,187 posts

Joined: Jan 2008
oh.okok.thanx a lot

126 Pages « < 62 63 64 65 66 > » Top
Topic ClosedOptions
 

Change to:
| Lo-Fi Version
0.0263sec    0.53    6 queries    GZIP Disabled
Time is now: 24th December 2025 - 09:26 PM