Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~8K People Reached
Favorite Tags
Member Avatar for Bench

This code snippet outlines a simple, no-frills linked list. Tested under MSVC++ 2003 and Comeau, but not guaranteed bug free. Snippet includes example main() . This snippet is intended as an example of a possible implementation of a linked list class (Of which there are many variations) For a better …

Member Avatar for Narue
0
3K
Member Avatar for rgpii

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 …

Member Avatar for rgpii
1
1K
Member Avatar for rgpii

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 …

Member Avatar for deepakkrish
0
515
Member Avatar for rgpii

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 …

Member Avatar for griswolf
0
64
Member Avatar for rgpii

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 …

Member Avatar for WaltP
0
1K
Member Avatar for rgpii

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" …

Member Avatar for rgpii
0
186
Member Avatar for rgpii

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 …

Member Avatar for rgpii
0
200
Member Avatar for rgpii

[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 …

Member Avatar for gerard4143
0
2K
Member Avatar for rgpii

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. …

Member Avatar for Agni
0
112
Member Avatar for rgpii

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 …

Member Avatar for jmaat7
0
199