Search:

Type: Posts; User: choykawairicky

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,602

    ...oh, ic...I think I would rather use "switch"...

    ...oh, ic...I think I would rather use "switch" to handle the cases...
    by the way, great thx to Salem...
  2. Replies
    2
    Views
    1,602

    Question about strstr()

    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...
  3. First of all, thx for jverkoey's...

    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>...
  4. Here's the edited code, and still got problem...

    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>...
  5. I've tried to edit the code as you mentioned, but...

    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?
  6. problem(program error) with bubble sort(code included)

    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...
  7. Replies
    1
    Views
    1,250

    Any intelligent way sorting an array?

    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...
  8. Replies
    2
    Views
    1,805

    Um...I'm not quite sure how to use this standard...

    Um...I'm not quite sure how to use this standard functions to do the data validation check, could you raise some example, thx.
  9. Replies
    2
    Views
    1,805

    Problems with 2-D character array

    ...
    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...
  10. Replies
    8
    Views
    15,381

    Can anyone kindly tell me the function of...

    Can anyone kindly tell me the function of "getch();" and an example?
  11. Oh, I'm interested in your programme, too. Would...

    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...
Results 1 to 11 of 11