Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~4K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Ratte

I am developing an application that involves serial port communication (using an FTDI device) and an operation which takes 3 minutes on an XP box, takes 9.5 minutes on a Windows 7 box. The application should handle data at a rate of about 11 kilobytes/second. I know my application is …

0
79
Member Avatar for Ratte

I am designing an application which communicates with another device via a serial port. My application buffers the received binary data until the data is valid/of known format, does some processing and then writes back a response. I understand this model is known as the consumer/producer model. The issue I …

Member Avatar for Ratte
0
239
Member Avatar for Ratte

I am in the process of designing a game implementation in Java, and without much experience with GUIs past swing applications, I am not quite sure where to start with this. The game I will be implementing can be seen and played here: [url]http://www.pentago-online.com/[/url] In other words, it is board …

Member Avatar for stephen84s
0
132
Member Avatar for Ratte

I've searched all over the place and I cannot seem to find a well working, reliable solution to this that is not platform specific. Here is what I have: Main menu of a class (while loop with 0 as exit). User selects choices. Choice calls class function to carry out …

Member Avatar for Comatose
0
1K
Member Avatar for Ratte

I need my program to connect to a database, check if a table exists, and if not, create it. I intend to check the presence of a table by simply running a "select * from table" query via an SqlCommand. I am going to put this in a try block. …

Member Avatar for JerryShaw
0
220
Member Avatar for Ratte

I am supposed to write a custom exception handling constructor. First, I need to write a read/write string property and then I write the constructor that somehow needs to accept this property as a parameter (among other things such as msg and inner exception). Any ideas? This is how it …

Member Avatar for Ramy Mahrous
0
91
Member Avatar for Ratte

I am very new to Visual Studio/C# (although I have a good deal of C and C++ knowledge) and it seems that I am missing something since I cannot figure out how to do this and I am getting frustrated (this is supposed to be a simple project). I am …

Member Avatar for Jugortha
0
128
Member Avatar for Ratte

I have a person datafile of many entries. Persons will be stored in a linked list and each of the person amongst other things will have a linked list of items belonging to them. The object of the program is to use a quicksort algorithm to print out entries of …

Member Avatar for Narue
0
115
Member Avatar for Ratte

I need to write a function that will take a char* string and populate a char* array with elements of the original string. The elements of the original string are whitespace-delimited. I have seen a function do this, but it is somewhat complex (deals with a lot more factors and …

Member Avatar for Aia
0
95
Member Avatar for Ratte

I am designing an ftp client prompt in C (unix environment). At this point, I have an infinite loop with an fprintf of the prompt on stdout and an fgets for reading user input. I need help with the structure of my program. How do I implement this? I have …

Member Avatar for Ratte
0
127
Member Avatar for Ratte

I am writing client and server programs for a simple FTP. I am allowed to use chdir, getcwd and getenv. What would be a correct procedure to expand a user provided path correctly using these functions, assuming of course the user supplied path is stored in a c-string? Thank you.

Member Avatar for Duoas
0
134
Member Avatar for Ratte

Before I write this, I realize there are way better ways to accomplish what I am asking, but I am JUST wondering if it is possible to do it the way I am asking. I have a main function called system. The system has a menu and depending on input, …

Member Avatar for Duoas
0
148
Member Avatar for Ratte

I overheard a conversation in a class the other day about someone being able to "look" into various classes and data storage types and see what is being stored as you run the program. I understand this can be done using the traditional ways of adding breakpoints and such, but …

Member Avatar for Narue
0
109
Member Avatar for Ratte

I have this relation: R(A,B,C,D,E,G) F = { AB -> C AC -> D AD -> E B -> D BC -> A E -> G } I need to project the original relation's functional dependencies onto the decomposed relations below. My question is, can I say that R3 carries …

0
97
Member Avatar for Ratte

I have a template Graph class which uses an adjacency matrix (array of singly linked lists). I need to be able to initialize the Graph with a size. I guess it is done this way? [code] template <class T, int SIZE> class Graph { } [/code] My problem is with …

Member Avatar for vijayan121
0
129
Member Avatar for Ratte

I have a file of 14 functions. I know I need an extern array of 14 bools. If something goes wrong in one of these functions, the function should modify its respective array member to false. I want the main program to be able to access the array members to …

Member Avatar for WaltP
0
95
Member Avatar for Ratte

I need to write wrapper functions for fork and signal functions. These functions will handle errors by fork() and signal() and exit, if an error occurs. The problem is I am not sure exactly what to check for on either function. Here is some sample code for both of them. …

Member Avatar for Ratte
0
450
Member Avatar for Ratte

I am writing a server function and an error message is defined as: [code] #define UNKNOWN "Unknown" [/code] I have a function: [code] void search(int sockfd) { FILE *file; char arg1[MAXLINE], arg2[MAXLINE], title[MAXLINE], line[MAXLINE]; file = Fopen (PATH, "r"); while (true) { if (Readline(sockfd, title, MAXLINE) == 0) return; Fgets …

Member Avatar for iamthwee
0
145
Member Avatar for Ratte

I have a template singly linked list function that has a node class: [code] template <class T> class Node { T Data; Node <T> *Next; public: Node(); Node (const T&); T getData() const; Node <T>* getNext() const; void setData(T); void setNext(Node<T>*); }; [/code] and SLL: [code] class SinglyLinkedList { Node …

Member Avatar for twomers
0
102
Member Avatar for Ratte

I need to read a text file that contains data of the following type: [code] John Doe 333222333 01/01/80 M PHY301 2005 Fall A PHY401 2005 Fall B PHY531 2006 Spring A John Doe 333222333 01/01/80 M PHY501 2005 Fall A PHY301 2005 Fall B PHY431 2006 Spring A John …

Member Avatar for vijayan121
0
126