Search:
Type: Posts; User: XodoX
Search:
Search took 0.01 seconds.
-
June 30th, 2012, 02:49 PM
Let's say I have a list of words that are followed by a number.
Word 1
Word 2
Word 3
Word 4
I need two arrays. One for the words and one for the numbers.
-
June 23rd, 2012, 04:57 PM
I'm not sure if this is correct. The input is stored in a variable and I used that variable for the linked list.
I jsut need the input in the list and then I go from there. So no deleting needed....
-
No, never-mind about that. I need a list interface then for collections.sort. I'm teaching this myself and it's the linked list chapter, so I can't use anything else. I have some books and it needs...
-
April 29th, 2012, 04:23 PM
Ok, Collections.sort sounds better. I want to do it using a linked list.
Like this?
I have several things in the nodes, though. How does it know what is what? It needs to sort the ISBN only.
-
April 28th, 2012, 05:23 PM
Ok, so this is a standard linked list. The output is shown at the bottom. How to I access the input and sort it by, let's say, ISBN number? So that it's going to display it.
I have no idea how to do...
-
April 1st, 2011, 05:14 PM
Ok, didn't pay much attention to that part. Overlooked it. So, I can just do a loop here?
-
April 1st, 2011, 04:43 PM
No, I think it sufficient.. according the the problem in the book. I still don't know what's wrong with the second code. It's an intro to computer science book. I don't think I have to override it.
-
April 1st, 2011, 03:54 PM
Thanks! There's another piece of code, which I probably should have posted, too.
I suppose you only need to check for the students ID because it's a unique number. So, I think your posted code...
-
April 1st, 2011, 01:51 PM
I'm trying to practice a little, but the book dosen't give me the solution. There's still one function missing in this piece of code and I'm wondering hwo I complete it.
public class Person
{...
-
February 7th, 2011, 10:05 PM
Hi.
The following code snippets got some errors in there, Netbeans says. Can somebody tell me what, and why, so that I understand the errors, please?
Database.Java
The first "private person"...
-
February 1st, 2011, 05:16 PM
I'm wanting to test the methods of the code with Visual Studio (visual assert). So, now I have created all the ,cpp files etc. and I don't know what to do now. It's supposed to create a "test file"...
-
January 30th, 2011, 09:42 PM
Thanks.
Ok, so like I said, I'm using visual studio 2010. It's actually 3 files altogether.
ElectionResults.cpp
#include "ElectionResults.h"
#include <iostream>
#include <ostream>
-
January 29th, 2011, 08:36 PM
I'm wanting to create a test case ( also called a test plan sometimes) for this code, but I don't know how. So that it will show "pass" when I run it with Netbeans, for instance. Can somebody tell me...
-
October 12th, 2010, 09:56 AM
Ok, I got it so far, but it dosen't compile. The last part "output of value" has an error somewhere. I already commented one line so it won't compile it, but then it just asks for the input the won't...
-
October 12th, 2010, 01:45 AM
Hello,
I'm trying to write a code that is gonna calculate this: f = (g+h) –(i+j). $s0, $t0,$t1, $t2,$t3 are associated to f, g, h, i, j respectively. So, it asks you to enter g,h,i and j and...
-
September 25th, 2010, 03:04 PM
Nobody? I just gotta run it for several n values I think, and find a formula. I gotta do it for factorial and fibonacci. Maybe somebody knows how to.
-
September 22nd, 2010, 03:46 PM
Working on a program that:
- will count the number of operations of two common recursive functions.This operation count will be basically estimate time complexity T(n).
- has to find the g(n)...
-
September 7th, 2010, 07:38 PM
Thanks/Danke. That works just fine. Sorry, like I said, I'm a newbie. I can change that other part too.
I'm also struggling wit the code that is supposed to create the output file. Can somebody...
-
September 7th, 2010, 07:16 PM
Newbie here, sorry. The compiler has a problem with the std::string line. I declared it twice. I did the two codes separately and have troubles putting them together. Hope somebody can help me. Not...
-
August 31st, 2010, 08:50 AM
It's a relatively simple program. So, it just calls that information from a txt file. It's supposed to be as "efficient as possibile". That's why I was wondering what I should use... classes, header...
-
August 30th, 2010, 05:46 PM
I'm trying to create a program that lists all variables, function names and C++reserved words from an input source file ( txt ). I'm not sure how do do this. I've done that only once using a header...
-
June 17th, 2010, 03:19 PM
I need a very GOOD book for assembly language. One that really explains it well. The book dosen't have to cover a lot... right now it's just the basics. I'd rather have 500 pages covering the basics...
-
April 26th, 2010, 11:26 AM
Thanks. Never heard of that before. Probably a book?
Thank you. You got this book?
-
April 25th, 2010, 06:23 PM
I need to brush up on C++ after the first 2 C++ classes. I want something that starts out with the basics, that way I can use it as a reference too, and then it should steadily advance. Like, it...
-
March 10th, 2010, 07:01 PM
You mean the first code in my first post? Are you saying it's basically what book asks for ? I'm confused now. It can't grow or shrink.
|
Click Here to Expand Forum to Full Width
|