Search:

Type: Posts; User: gamett711221

Search: Search took 0.00 seconds.

  1. how do u test sorting algorithm stability

    i heard one of the method is using % and / as predicate when compare the elements, but i dont really understand why use % and /, may anyone explan for me, thx very much!
  2. Replies
    3
    Views
    1,037

    after all i redefined fstream outfile,infile; in...

    after all i redefined fstream outfile,infile; in all the loop its finally work, but still dont know where should i really declare them, but

    thx for remind
  3. Replies
    3
    Views
    1,037

    Can Not Open File

    [/LEFT]

    if(choose=='S'||choose=='D'||choose=='T')
    {
    outfile.open(filename,ios::out|ios::app);
    outfile.close();
    infile.open(filename,ios::in);
    if(!infile)...
  4. Replies
    7
    Views
    987

    thx

    u mean like this?
    system ("del abc.txt");
    system ("ren def.txt abc.txt");

    however i am trying to find other way out

    but thank you all
  5. Replies
    7
    Views
    987

    i dont find there is rename for cstdio @@

    i dont find there is rename for cstdio @@
  6. Replies
    7
    Views
    987

    I\O Copy & Delete

    thats say there are two files

    file abc.txt

    file def.txt

    and i wann delete the contents in abc.txt and copy the contents in def.txt to abc.txt then delete the def.txt file

    any...
  7. Replies
    2
    Views
    818

    Information is not passing to txt

    How come the information is not passing to txt file





    void hotel::submenu()
    {
    information n;
    char choose;
  8. Replies
    7
    Views
    1,286

    Thx

    ic
    thank you for helping
    i am trying
  9. Replies
    7
    Views
    1,286

    wats this for

    - bill' : local function definitions are illegal

    - unexpected end of file found
  10. Replies
    7
    Views
    1,286

    Dont know why

    #include<iostream>
    #include<conio.h>
    #include<cctype>
    #include<string>
    #include<stdlib.h>
    #include<fstream>
    #include<iomanip>
    #include<time.h>
    #include<string>
    #include<stdio.h>
  11. Replies
    5
    Views
    1,761

    but why not use s != 0 instead using s != '\0'

    but why not use s != 0 instead using s != '\0'
  12. Replies
    5
    Views
    1,761

    wat does this function do?

    int mystery2(const char *s)
    {
    int x;

    for (x = 0; *s!='\0'; s++)
    ++x;

    return x;
    }
  13. Replies
    3
    Views
    4,317

    help how to make polygon

    plz tell how to write the program for filling a polygon in electronic fashion and u may fill it with pixel and first generate a polygon as shown below then fill the polygon, all slope lines are 45...
Results 1 to 13 of 14