Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
c++ x 10
java x 2

11 Posted Topics

Member Avatar for Gimper

Im no expert but couldnt you make this code half the size by doing a little condencing. Try something like this... [CODE] #include <iostream> #include <string> #include <sstream> using namespace std; int mainproc () { char operator; float num1=0; float num2=0; float result=0; cout << "Welcome to the 4-Basic-Calculator!\nEnter first …

Member Avatar for rela
-2
3K
Member Avatar for basketball4567

I need to be able to choose one of the three boxes and have then drag around the screen, i can only get 1 of them, kinda of. I want to be able to drag the red one, or the green. I can kinda get the green to drag but …

0
91
Member Avatar for basketball4567

I do realize that this is ugly code but i cant seem to have this program output "Your old". I dont know why my if statement is not working. Thanks [CODE]/* This class is to be used as new readline method */ import java.io.*; class ReadInput { public static void …

Member Avatar for darkagn
0
122
Member Avatar for samsons17

You dont need to put [B]main(void)[/B]. This isnt good programming if you do that. [B]void main()[/B] just means that the programming doesnt return any value. If you use [B]int main()[/B], there has to be a return value. I'm no expert but i have never used [B]int main(void)[/B]. If the main …

Member Avatar for Ancient Dragon
0
156
Member Avatar for basketball4567

For my project, i have to be able to monitor the keyboard for input. Rather than having the user type in 'r' then hitting enter for an action, how would i have the user type 'r' and then have the action perform, skipping the process of hitting enter. Thanks

Member Avatar for basketball4567
0
109
Member Avatar for basketball4567

I need to write a minimal spanning tree program and cant seem to get it working. can you please take a look at my code. The problem im having is the checking for cycles part of the code. Any help would be great. my input from file looks like this: …

0
74
Member Avatar for birdhouse

How about instead of reading all of the input files in at once, read them in one at a time and have a counter for later. [CODE]bool repeat=false int count=-1 in >> x; count++;[/CODE] Then you can make the comparisons one by one and then just write the array to …

Member Avatar for basketball4567
1
116
Member Avatar for basketball4567

Hey guys, Im creating a weighted minimal spanning tree and using breadth first search among other things. My question is that in the breadth first search, there needs to be a way to look at nodes that are already connected to see if it creates a cycle. This wouldn't be …

0
79
Member Avatar for basketball4567

Hey guys, Im still new to programming and need help with something. I need to read a line of numbers from a text file into an array. I will be given this in a text file and need to store them in an array for later use. 0 1 2 …

Member Avatar for amishraa
0
82
Member Avatar for basketball4567

Hi guys, I know that there might already be a tread about reading from file but this has a certain hurdle to jump... I have to read in a 1000 word document into something that will make a list of unique words and how many times they appear. Thats not …

Member Avatar for jencas
0
118
Member Avatar for basketball4567

I need to read information from a text file into a struct array. Im writing a program to make a list of favorites that the user will input. When they close the program, the array will write to a file. The next time the program is ran, i need to …

Member Avatar for Ancient Dragon
0
493

The End.