do you already know the language ? ...Originally posted by jay_rocks:Did anyone created programs for C++ ? My course current is asking me to do a project on creating a program to solve smth in our daily life or anything. But i've no idea whr to start from.
So, can anyone help?
Btw, i'm using Ms Visual Studio
yea i know,but not all. And i got no idea on what program to do, so came here to ask for suggestionsOriginally posted by Fatum:do you already know the language ? ...
Go to the library dude..im sure one of those books has Scissors paper stone inside..not sure if your lecturer allows u to program that thoughOriginally posted by jay_rocks:smth tt includes computer programming.
i was thinking of doing a program on playing scissors paper stone. but no idea how to do this program
i think no need so chim la. u can use c++ to make a stopwatch or a clockOriginally posted by Really mama?:You can try creating a p2p program. But it tends to eat up alot of ram
erm, how to do sia. so far i've only learn while-loop, for-loop, if and else,switch. very limited. and my project have to include switch-case and a loop functionOriginally posted by dumbdumb!:i think no need so chim la. u can use c++ to make a stopwatch or a clock
but my assignment i think may need to make a p2p... can i ask really mama for help?
only learnt those? in year 1 or 2 of ur studies?Originally posted by jay_rocks:erm, how to do sia. so far i've only learn while-loop, for-loop, if and else,switch. very limited. and my project have to include switch-case and a loop function
hmm, one of my classmate did a calculator already.Originally posted by extrinsic:only learnt those?
not much pgm u can really do with those. stick with doing a calculator then, as what InnoHippo said.
how about a calendar program ..... count number of working days between two given datesOriginally posted by jay_rocks:hmm, one of my classmate did a calculator already.
u create 3 variables. one for counting seconds, one for counting minutes and one for counting hours. lets call them hrs, mins, secs.Originally posted by jay_rocks:erm, how to do sia. so far i've only learn while-loop, for-loop, if and else,switch. very limited. and my project have to include switch-case and a loop function
stopwatch + watch with alarm function?Originally posted by jay_rocks:wah thanks for the suggestions guys. i'll try doing the stopwatch first.
wow. tt's difficultOriginally posted by extrinsic:stopwatch + watch with alarm function?
remember to cout<Originally posted by jay_rocks:wah thanks for the suggestions guys. i'll try doing the stopwatch first.
int counter = 0;Originally posted by jay_rocks:erm, how to do sia. so far i've only learn while-loop, for-loop, if and else,switch. very limited. and my project have to include switch-case and a loop function
why mod 6? and the switch for wat ah?Originally posted by eagle:int counter = 0;
while(1) {
counter ++;
counter = counter % 6
switch(counter) {
case 0: system('pause');
case 1: system('pause');
case 2: system('pause');
case 3: system('pause');
case 4: system('pause');
case 5: system('pause');
}
}