Search:
Type: Posts; User: verbal
Search:
Search took 0.02 seconds.
-
June 25th, 2009, 03:08 PM
Hi all,
I have built a TCP server which i need to shutdown nicely when some signals are received. My problem is this:
As a first approach i though of setting a global variable which would then...
-
Hello,
I am writing a program in which i want to emulate the capability of the terminal to erase characters after they are printed.
For example:
When i press the up arrow in the terminal the last...
-
December 17th, 2008, 09:56 AM
These are all the definitions for the list template, the first class is the list node and the second class is the header of the list:
template <class contain> class ListNode {
private:
...
-
December 16th, 2008, 05:00 PM
Hi,
I wrote a template for a double linked list and i try to dynamically allocate an array where each element is a list from that template, but when i try to insert an element i get a compilation...
-
November 13th, 2008, 08:00 AM
Hello,
I am building a Linux application that forks() some children to do some work and the communicates with them using signals. I have some questions regarding signal processing:
1) About half...
-
October 21st, 2008, 05:19 PM
Thank you for the help, it works fine now.
But i am a little confused. So when ever i have a member function of a template class i need to provide the source code for the functions in the header...
-
October 21st, 2008, 04:29 PM
Ok, sorry for that, i misunderstood...
The error is appearing to nearly all the functions of the template that are used by the program so here's an example.
class person {
private:
int...
-
October 21st, 2008, 04:02 PM
First time using templates , so excuse my ignorance...
If i get it, the problem is that here:
ListHead<contain>::ListHead
i must specify exactly the type i want to use instead of...
-
October 21st, 2008, 03:53 PM
sorry for that, i had these functions in a seperated folder. Here is the prototypes for them:
template <class contain> LinkedList<contain>::LinkedList(contain & element)
{
...
}
template...
-
October 21st, 2008, 03:44 PM
Hello,
I am building a project where i made a list using templates but when i try to compile the program i get the following error in linking
...
-
August 29th, 2008, 10:15 AM
yes , you are right. I just had a look at them and they seem the correct solution. I had programed only once before with the pthread's library so i wasn't aware of them.
Thanks for the quick...
-
August 29th, 2008, 09:39 AM
Hello,
I am writing a c++ application that simulates a game for two or more players. What i want to do is to wait while the players are less than two, and when they reach that number to start...
-
August 6th, 2008, 04:33 AM
OK, thats resolved,
0x66 invokes the socketcall system call which calls any of the sockets calls needed, so thats why the arguments are pushed on to the stack etc etc.
-
August 5th, 2008, 07:22 PM
Hello,
I am writing a little network program in assembly and i have the following problem.
I am using linux x86 and i want to call the socket system call which number i found to be 102 (or 0x66)....
-
March 28th, 2008, 12:27 PM
I want to handle the interrupt signal, and when i do that, the function called to be dependent on whats the program's condition is. I mean that i want to print the result for the operation running...
-
March 12th, 2008, 05:14 PM
I didn't knew about these programs. Thank you for the hint.
I haven't figured out yet what's wrong but i'll post any results i might find.
-
March 12th, 2008, 12:41 PM
I added the cookies requested by the server but the problem remains... I would say that its the parts missing from my HTTP header but the program works fine when there are only GET requests.
Here...
-
March 11th, 2008, 06:01 PM
I think that this is a question regarding mostly HTTP protocol, but i cant find out whats wrong in the RFC, so i would appreciate any suggestions.
I have a program that make requests on web...
-
March 9th, 2008, 08:02 PM
ok , probably whoever posted this code got confused with html or something...
The & logically represents the '&' sign for the address of n and the < is the '<' sign.
so basically you have your...
-
March 9th, 2008, 06:15 AM
i saw in a program that it was checking the url's stability by requesting the same page multiple times with a delay between the requests and then compare the pages returned to see if they matched.
I...
-
March 5th, 2008, 02:14 PM
Thank you all for the responses, they were really helpful.
Basically printing to stdout and then redirecting to a file has the disadvantage that the output is printed exactly as it is on the...
-
March 4th, 2008, 06:23 PM
Hello,
I am writing a program where the user have the option to select where the output will be written, on cout or a file that he chooses.
Is there a practical way to do that besides on putting if...
-
January 20th, 2008, 04:01 PM
i made the timeout as a configuration option and let it up to the user (along with some warnings on the documentation and the default value on 5s).
After some tests i ran at random servers i found...
-
January 17th, 2008, 10:11 PM
i make a project where i need to download web pages.
my problem was how would i recv the hole web page. the content length part of the HTTP header isn't always set so it's not a trusted source. if i...
-
January 8th, 2008, 02:05 PM
There are 2 questions i have:
1) is there a function to cast a char * string to a c++ string in unix enviroment?
in the opposite way i can just call c_str() but i cant find something for this case....
|
Click Here to Expand Forum to Full Width
|