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
~4K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Gimper

Hello everyone. I recently started using C++ and blah blah blah you know the rest. Using my extremely limited knowledge, I attempted to make a basic 4 function calculator CUI in C++. The code I wrote is as follows. [CODE]#include <iostream> #include <string> #include <sstream> using namespace std; char operator …

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
89
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
119
Member Avatar for samsons17

This is the answer for one of the simple function question from my programming lab... [CODE]#include <iostream> using namespace std; void displayHi(); int main(void) { displayHi(); } void displayHi() { cout<<"I love c++"; } [/CODE] but what i dont understand is why we should put [B] main(void)[/B]?? why dont simply …

Member Avatar for Ancient Dragon
0
143
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
104
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

Hello I need to write a c++ program that requires a function called DeleteRepeat and prompts the user to input the name of a text file and outputs the new data in a new file. For example, the content of the text file that the user inputs is " b …

Member Avatar for basketball4567
1
114
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
77
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
78
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
116
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
486