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.

0 Endorsements
~810 People Reached
Favorite Forums
Favorite Tags
Member Avatar for T'Scoopz

Hello! So, I created my own Arraylist class called myArrayList. I need to read a file that contains strings (which are just short phrases) into myArrayList. I created a class called Phrase that are to be the objects that will be stored into the Arraylist. I also have a class …

Member Avatar for sneaker
0
81
Member Avatar for T'Scoopz

Hi. Just wondering if there's a shortcut to this code? [code] if (calculation(codeword, s[0]) == calculation(codeword, s[1]) || calculation(codeword, s[0]) == calculation(codeword, s[2]) || calculation(codeword, s[0]) == calculation(codeword, s[3]) || calculation(codeword, s[1]) == calculation(codeword, s[2]) || calculation(codeword, s[1]) == calculation(codeword, s[3]) || calculation(codeword, s[2]) == calculation(codeword, s[3])) [/code] Thanks in …

Member Avatar for masijade
0
101
Member Avatar for T'Scoopz

Hi. Sorry, if this is a really easy to answer. I need to find the smallest int result in a calculation between a fixed value and a variable. Then I need to return one of those variable. However, if there exists multiple smallest results, then I return a fixed value. …

Member Avatar for BestJewSinceJC
0
123
Member Avatar for T'Scoopz

I'm using BufferedReader to read a string, which is converted into a character array. My program works find with short strings, but not long ones? Is there a limit to the char array's? Thanks in advance!

Member Avatar for Ezzaral
0
115
Member Avatar for T'Scoopz

I'm trying to make a linked list, what's wrong with my syntax for adding a node? [code=c] struct data { char name[20]; char number[10]; }; typedef struct node { struct data list; struct node* next; } Node; Node *head = 0; Node *tail = 0; Node *New = 0; void …

Member Avatar for William Hemsworth
0
89
Member Avatar for T'Scoopz

1) How can I use fscanf to read only the first character of each word in a text file? 2) How can I use fscanf to read only alphabets in a text file? - I tried %[a-zA-Z], but that doesn't work for some reason.

Member Avatar for Salem
0
69
Member Avatar for T'Scoopz

Hello, I just need help converting this baby in plain old vanilla C. You can tell me the equivalents of C to C++ or whatever is more convenient for you. I'm compiling in MS Visual Studio C++ 2008 and it gives me mostly "undeclared identifiers" and "syntax errors". Thanks in …

Member Avatar for T'Scoopz
0
158
Member Avatar for T'Scoopz

[I]Hello, this is my first thread. I'm a freshman in Computer Engineering and currently taking Intro to Computer Systems with Yale Patts & Sanjay J. Patel's book. I've been using this wonderful website to help better understand the computer language world. [/I] [I]We are currently beginning to write programs and …

0
74