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
~755 People Reached
Favorite Forums
Favorite Tags
java x 16
c++ x 10
Member Avatar for Tiny_trixer

I was wondering. Is there a way to write something from one method in to a result file instead of outputting to screen? To describe a little better, in pseudocode: [CODE] #include <iostream> #include <fstream> using namespace std; class Inputoutput { private: ifstream fileOne; ofstream fileTwo; int i; //More variables …

Member Avatar for drkybelk
0
135
Member Avatar for Tiny_trixer

Again I come crawling for help... I made a program that makes coordiant points and lines with these coordinates. A new class is going to inherit from the class with the lines, and calculate the distance between a line segment and a point. I found the correct mathematical formula. With …

Member Avatar for Tiny_trixer
0
131
Member Avatar for Tiny_trixer

I'm just playing around with C++ as a preperation for coming assignments and well, exams. And I'm a little stuck with the switch statements. I've done this simple switch just to test the functions: [CODE] #include <iostream> using namespace std; int main(void) { char input; cout << "\nChoose function.\n1. Test …

Member Avatar for Tiny_trixer
0
115
Member Avatar for Tiny_trixer

I'm working on a program in C++ that is supposed to output som data from a couple of classes. I thought I'd let the user choose what to output (what function) through a switch in main. This is basicly how the main looks now. (Just a general overview of the …

Member Avatar for Tiny_trixer
0
114
Member Avatar for Tiny_trixer

The program I'm supposed to make a program where one thread starts three other threads. The original thread is going to wait until the three other has finished running and then the first thread can stop. The way I've built the program the three threads is started from one class, …

Member Avatar for Tiny_trixer
0
142
Member Avatar for Tiny_trixer

Hi everybody! I'm currently working on an assignment for school. I'm creating a linked list (a line at the liqure store to be exact) and I'm a little stuck. Part of the code: [CODE] public void ekspederKunde() { System.out.println("Velkommen til polet! Vennligst vis gyldig legitimasjon.\n"); if (fremst == null) { …

Member Avatar for Tiny_trixer
0
118