CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: defiler_z

Search: Search took 0.03 seconds.

  1. Replies
    8
    Views
    1,276

    Re: Inheriting question...

    Well,
    thanks for the answers ... i figured out what i needed ...
  2. Replies
    8
    Views
    1,276

    Re: Inheriting question...

    You just move over x and y coordinates .. z coordinate stays the same.


    C3DPoint just add a z coordinate ... if I create 2D point it is 2D .. if I create 3D point it first create 2D and then add...
  3. Replies
    8
    Views
    1,276

    Inheriting question...

    Hi ...
    I have 3 classes : CBase(char *name)->C2DPoint(float x, float y)->C3DPoint(x, y, z coordinates). I have predefined all operators(+, -, *, /, +=, -=, *=, /=, <<, >>, =, copy constructor - all...
  4. Replies
    4
    Views
    1,157

    I haven't looked at your code but i am writing...

    I haven't looked at your code but i am writing something like that and i'll tell you what i am doing: i use my own class for connection(that i've write, wrapping the standard functions send(),...
  5. Replies
    6
    Views
    1,454

    It is normal when you've put recv() function in...

    It is normal when you've put recv() function in your main thread to block everything untill the file is downloading(If you want to know why read in MSDN or Network Programming for Microsoft...
  6. Replies
    1
    Views
    1,304

    hmm... Telnet Server

    So I'm writing a Telnet Server(under Windows 2003 using VS .NET) and here is my problem: i want when the client connect to the server to execute commands(all commands that appear when you type 'help'...
  7. Replies
    2
    Views
    814

    In Visual Studio .NET go to Solution Explorer and...

    In Visual Studio .NET go to Solution Explorer and give Properties of your project. Then go to Linker,Input, Additional Dependencies and type wsock32.lib.
    I don't know about VS 6 but i suppose it is...
  8. Replies
    6
    Views
    811

    Yes, it has. And it is with...

    Yes, it has. And it is with SetConsoleTextAttribute as RussG1 wrote.
    I've done only a small message bar(in red) and status bar(blue or ... i don't remember) on the bottom of the console.
    If you...
  9. Replies
    7
    Views
    1,107

    Well, use that: int main(int argc, char *argv)...

    Well, use that:

    int main(int argc, char *argv)
    argc shows you the number of entered parameters, and argv contains them.
    In your case the first parameter of argv contain your "parameter", ...
  10. Replies
    17
    Views
    7,524

    It is simple: char *p = "hello world"; You...

    It is simple:

    char *p = "hello world";

    You can do that
    for(i = 0; i < strlen(p); i++)
    cout << p[i];
    or
    while(*p)
    {
  11. Replies
    7
    Views
    826

    Well, yes you can and what Kheun has done is...

    Well, yes you can and what Kheun has done is working. Look it!
  12. Replies
    7
    Views
    826

    First: you have to reserve memory for p: I...

    First: you have to reserve memory for p:

    I hope you do that in mystring(char */*put variable- it's more clear*/);

    And do that mystring(): p("") {}

    Second: i think that code does not make...
  13. Replies
    19
    Views
    2,335

    Well what the program has to do? Because if it is...

    Well what the program has to do? Because if it is something small it does it and terminate. If you have to enter some data it should stop and wait you to enter something. Otherwise this :...
  14. Replies
    19
    Views
    2,335

    There are some other functions like _spawnl,...

    There are some other functions like _spawnl, _spawnp... and _execv, _execve... Look in the MSDN.
    Why system() doesn't work? Try to execute it in a separate thread(for example look _beginthread or...
  15. Replies
    17
    Views
    1,506

    And don't you think that something like iLoop is...

    And don't you think that something like iLoop is more clear than just i???

    And as Mick said
  16. Replies
    8
    Views
    733

    Thank you guys! I've made it.

    Thank you guys!
    I've made it.
  17. Replies
    8
    Views
    1,184

    Try this: #include char...

    Try this:

    #include <time.h>

    char CurrentTime[9];
    char CurrentDate[9];

    _strdate(CurrentDate);
    _strtime(CurrentTime);
  18. Replies
    8
    Views
    733

    Thank you! I've already made it. However if want...

    Thank you!
    I've already made it. However if want to install, run or stop the service i have to do it from the console(cmd.exe).

    I want to do these things from other program that I've...
  19. Replies
    10
    Views
    5,144

    I don't know how you are going to do this server,...

    I don't know how you are going to do this server, but i'll suggest you that: you can make your own close command;
    receive data with recv() function:
    char buf[MAX_SIZE];
    recv(/*socket*/, buf,...
  20. Replies
    23
    Views
    4,956

    warning: my english is not very good, so if I've...

    warning: my english is not very good, so if I've made mistakes sorry!

    Well, it depends on what you want to do with your program. I will suggest you that: leave your main function in an infinite...
  21. Replies
    8
    Views
    733

    Windows service

    I want to start an apllication(that I've already written in C++) as a service under Windows 2000 and send start/stop signals to that service with other program. I've red about this in MSDN but it's...
Results 1 to 21 of 21





Click Here to Expand Forum to Full Width

Featured