...oh, ic...I think I would rather use "switch" to handle the cases...
by the way, great thx to Salem...
Type: Posts; User: choykawairicky
...oh, ic...I think I would rather use "switch" to handle the cases...
by the way, great thx to Salem...
I want to find the occurances of a list of words(eg: MTR, UK, USA, MAC, MS, DHL) in an array, thus, I make use of a strstr() function. However, the function can only accept matching one element a...
First of all, thx for jverkoey's help...eventually, I find out the problems were caused by cin.ignore()...see the code below...
#include <iostream.h>
#include <stdlib.h>
#include <cstring>...
Here's the edited code, and still got problem with it, really don't know why... this is a bubble sort program, but it turns out to be messy...
#include <iostream.h>
#include <stdlib.h>...
I've tried to edit the code as you mentioned, but there's still a program error message box from windows shown, you know the reason?
I have wrote written myself a bubble sort for a character array, However, when I run the code, an program error message box shown, what's wrong with this code, can anyone help.....
#include...
As I know, there is one thing called bubble sort(sinking sort). i.e.
successive pairs of elements are compared
- if increasing order (or identical), no change
- if decreasing order, elements...
Um...I'm not quite sure how to use this standard functions to do the data validation check, could you raise some example, thx.
...
stdID[1000]; //1-D array that stores a 8-digi Student ID
StdName[1000][50]; //2-D array that stores Student Name
...
Is there any ways that enable me to check whether user enters a...
Can anyone kindly tell me the function of "getch();" and an example?
Oh, I'm interested in your programme, too. Would you please post the finally version of your programming source code here, thx.
By the way, would you mind writing a programme that requires few 2-D...