Search:

Type: Posts; User: lautarox

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thanks! that was what I was looking for

    Thanks! that was what I was looking for
  2. Is it possible to compile under g++? I've tryied...

    Is it possible to compile under g++?
    I've tryied compiling this with no success


    #include <iostream>
    using namespace std;

    class SmallComponent {
    private:
    BigThing *outer;
  3. That was what I meant, I'm doing a file...

    That was what I meant, I'm doing a file transferring project in order to archive some experience socket programming, the program has an individual class for each connection, and each connection has...
  4. Classes, pointer to itself to access from a child class

    I have a main class with some child classes inside, I need to be able to access other child classes from a child one or members from the main class like the dosomething() function in the example....
  5. Replies
    3
    Views
    1,103

    Thanks a lot!, that was my doubt, I can't thank...

    Thanks a lot!, that was my doubt, I can't thank you enough =)
  6. Replies
    3
    Views
    1,103

    Monitoring new connections requests

    I'm using a monitoring system to know when a socket is ready to be written or read, but what about incomming connections to accept? How can I detect them? I was told that when using poll, epoll, or...
  7. Replies
    2
    Views
    1,029

    Thanks for your reply, I'll check what was sent...

    Thanks for your reply, I'll check what was sent and recv and organize the data
  8. Replies
    2
    Views
    1,029

    Sockets programming

    I'm having some doubts about socket programming that are burning my head and delaying my learnings about sockets.
    Is it better to write into a socket or to use the function send?
    When sending...
  9. #include #include ...

    #include <stdio.h>
    #include <stdlib.h>
    #define N 8

    // int num;

    void backtrack(int* column, int* rup, int* lup, int* queen, int);

    int main(void) {
    //num = 0;
  10. Replies
    7
    Views
    3,522

    You must add sum=a+b; inside your loop in order...

    You must add
    sum=a+b; inside your loop in order to change the sum value every time you insert the two numbers.
  11. Replies
    4
    Views
    967

    I can't thank you enough! I really needed this

    I can't thank you enough! I really needed this
  12. Replies
    4
    Views
    967

    I've read about maps Now, to access the class...

    I've read about maps

    Now, to access the class data, is it first[1].function(); or first->function(); ?
  13. Replies
    4
    Views
    967

    STD Lists doubt

    I need to store multiple classes in a list in order to access the data by a number, but the list is in continuous modification, so I can't access the data using the position of the data in the list....
  14. Replies
    10
    Views
    3,895

    Yeah, that's right, I've taken a look to the i/o...

    Yeah, that's right, I've taken a look to the i/o monitoring functions Monitoring I/O I really don't know if it could handle much connections, but with 10 or 20 I think it will be ok. I think I'll use...
  15. Replies
    10
    Views
    3,895

    Also the glib is portable. Do you recommend me to...

    Also the glib is portable. Do you recommend me to use the glib? I was worried about windows performance..
  16. Replies
    10
    Views
    3,895

    I'll take a look at wxWidgets, but gtrkmm also...

    I'll take a look at wxWidgets, but gtrkmm also works multi platform. My main doubt was how to imitate the select function in the main loop of gtkmm, but I think I know how.
    How can I know when data...
  17. Replies
    10
    Views
    3,895

    I was told that select has a poor performance on...

    I was told that select has a poor performance on windows applications. I want to make the app for both linux and windows
  18. Replies
    10
    Views
    3,895

    Using Gtkmm with sockets

    While I was programming a file receiver/sender , I was recommended not to use the select() function for reading active sockets, I was told to use event libraries such as libevent. I've read the...
  19. Replies
    6
    Views
    2,160

    What do you think about libev? libev...

    What do you think about libev? libev it says it has a better performance.

    About my own protocol, yes, I wasn't saying I wasn't creating my own protocol, It's just an small protocol =P.
    I'm using...
  20. Replies
    6
    Views
    2,160

    Thanks Alex and Carrotcake, I'm actually using an...

    Thanks Alex and Carrotcake, I'm actually using an struct that stores the parts sended/received, the total parts, the file descriptor and a variable that stores if it has a last part of a different...
  21. Replies
    6
    Views
    2,160

    Doubt about file transfering program

    I'm trying to program a file sender/receiver for linux, I've done a basic one to send and receive from a computer to another and I want to go further. I've thought of using a queue, with the files,...
  22. Replies
    11
    Views
    2,236

    But it's storing a double returning function with...

    But it's storing a double returning function with only an argument.. is it possible to store any kind of functions?
  23. Replies
    11
    Views
    2,236

    What if I want to store different functions?

    What if I want to store different functions?
  24. Replies
    11
    Views
    2,236

    I need a queue, to add function pointers so the...

    I need a queue, to add function pointers so the functions get executed one by one. What's the best way to store the functions? and How can I execute them when I need?
  25. Replies
    11
    Views
    2,236

    Storing function pointers

    Well.. I'm still trying to develop a kind of event function, I need to store function pointers in a class, so I thought the best way of doing it was with a template. How can I call a function pointer...
Results 1 to 25 of 194
Page 1 of 8 1 2 3 4