Search:

Type: Posts; User: f6ff

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,428

    changing font size

    How to change font size in dos window by using 'windows.h'?
  2. Replies
    4
    Views
    1,499

    :p ,thx

    :p ,thx
  3. Replies
    4
    Views
    1,499

    the code above looks fine, but when applying it...

    the code above looks fine, but when applying it into program, the error happens:
    " no matching function for call to `ocean::getcoordinates (submarine &)' "





    typedef struct target
    {
    ...
  4. Replies
    4
    Views
    1,499

    no matching function for call to

    here's the code, when calling functionC, the error messge is
    "no matching function for call to `sampleB::functionB (sampleA&)"



    class sampleA
    {
    public:

    sampleA(){}
  5. Replies
    2
    Views
    802

    problem solved by windows.h void clrscrn()...

    problem solved by windows.h


    void clrscrn()
    {
    COORD coordScreen={ 0, 0};
    DWORD cCharsWritten;
    CONSOLE_SCREEN_BUFFER_INFO csbi;
    DWORD dwConSize;
    HANDLE hConsole =...
  6. Replies
    2
    Views
    802

    screen output question

    How to fix some text on the top of screen?
    How to clear one line after input?
  7. Replies
    4
    Views
    1,096

    good source site, but I need one in windows

    good source site, but I need one in windows
  8. Replies
    4
    Views
    1,096

    networking communication sample codes needed

    I need some networking communication sample codes that can run under dev4. Please provide a link if any.
  9. Replies
    3
    Views
    1,402

    about networking program

    using dev4, what is the easiest way to send some characters to the same program opend in another ip address?
  10. Replies
    6
    Views
    1,165

    problem solved, thx.

    problem solved, thx.
  11. Replies
    6
    Views
    1,165

    error fixed,but the same error is still there

    error fixed,but the same error is still there
  12. Replies
    6
    Views
    1,165

    help: parse error at end of input

    I got the error at the end of the lines, what's wrong?



    #include <stdio.h>
    #include <iostream>
    #include <math.h>
    #include <time.h>
    #include <stdlib.h>
    #include <conio.h>
  13. Replies
    15
    Views
    1,487

    Thanks for the comment,but what's difference if...

    Thanks for the comment,but what's difference if using cin.getline()? and replacing system() by cin.get()?
    here's a recursive version, any suggestion for this one?



    char * look_for_char (char...
  14. Replies
    15
    Views
    1,487

    Is this the right solution? #include...

    Is this the right solution?



    #include <stdio.h>
    #include <stdlib.h>
    #include <iostream>
    #include <iomanip>

    char * loot_for_char( char str[], char a )
  15. Replies
    15
    Views
    1,487

    it should be a simple function, however I am...

    it should be a simple function, however I am confused.
    Anybody gives a sample function for the problem?
  16. Replies
    15
    Views
    1,487

    confused with a char array problem

    Here's the problem
    Write a function that will return a pointer to a character, specified by the user of the function, within a character array. The array and the desired character are to be the only...
  17. Replies
    3
    Views
    743

    What's the difference between a friend function...

    What's the difference between a friend function declared within the class and one declared outside the class?
  18. Replies
    3
    Views
    733

    Here's the remove function, each node can be...

    Here's the remove function, each node can be deleted without a problem except the last one.


    void delete(char the_node)
    {
    NODE *target;
    ...
  19. Replies
    3
    Views
    743

    about template and friend function

    What to do with friend functions of a class under template?
  20. Replies
    3
    Views
    733

    doubly sorted linked list problem

    I got a problem to delete the last node, what might be the problem?


    typedef struct node
    {
    char data;
    int count;
    node *next;
    node *pre;
    } NODE;
  21. Replies
    6
    Views
    777

    that will work, thanks

    that will work, thanks
  22. Replies
    6
    Views
    777

    I tried this to make ptr->count organizing, but...

    I tried this to make ptr->count organizing, but not working


    cout <<setw(30-(ptr->data.size()))<< ptr->data <<setw(30)<<ptr->count
  23. Replies
    6
    Views
    777

    It's output

    It's output
  24. Replies
    2
    Views
    779

    linked list and template problem

    To change a linked list into template, there's the code:

    template <class Items>


    struct node
    {
    Items data;
    node *next;
    } NODE;
  25. Replies
    6
    Views
    777

    a question about output

    How to output something like this in c++? (first part of each line is left aligned, second part is right aligned)
    ********* **
    ******* ****
    ******* ****
    ********** *
Results 1 to 25 of 25