- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
10 Posted Topics
Re: What is line 18 doing? It seems to me that line 16 is the constructor so I was confused as to what 18's purpose was. An explanation of line 11 would be great as well. Thanks. | |
I have been trying to communicate between my client and server program. I have checked and rechecked the man pages and it seems my syntax is correct. I'm trying to send packets from my client to my server and the server prints out the host name. My server seemed to … | |
Hi, I have been reading "Learning Perl the Hard Way" and I was trying to complete one of the exercises which involved the use of regular expressions. I could get all of the anchors working except for "$". I have my code below with errors. I was just curious if … | |
Hello, I had an idea for a script and I was going to get everyone's opinion if shell scripting was actually the appropriate medium to try and get this task accomplished. I want to check and see if a message board thread has been updated or not and then if … | |
Here is my current situation. I have a global array and it is originally declared as an int pointer. I malloc (100*sizeof(int)) to this pointer in the main method. I then use this array to store values and these values are assigned inside of two for loops. The problem is … | |
I have an assignment that calls for me to only use standard C. I am currently trying to take in input from a file using fopen() and then take in lines from the file using fgets(). The original problem was that fgets() quits taking in input after six lines. "Something" … | |
I believe this is the appropriate forum, but if it is not please let me know and I will move it to the OSX forum. I have an assignment that requires me to play with a specific jar file. I am currently running OSX 10.6 and I have Java 6 … | |
[CODE=c] int main(int argc, char** argv) { char c[999]; char alpha[2[26]={'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','a','b','c','e','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'}; int pos[26]; int i=0; for(i=0;i<26;i++) { printf("%c\n",alpha[0][i]); } } [/CODE] This code is giving me an "error:exit code with return 1" and a lot of warning saying "excess elements in array initializer". I have kept searching the web and … | |
I am attempting to program a doubly linked list template. My program is setup with the class node defined in a header file,the list itself in a header file and finally the main in a separate cpp file which calls the list header. The list header calls the node header. … | |
Hi, I am currently taking a class on data structures(analyzed in C++) at a university and I really find our current text book, Data Structures and Algorithm Analysis by Mark Allen Weiss, hard to follow. Does anyone know any good data structure books that pulled you in? Thanks for your … |
The End.