Forum: Oracle 13 Days Ago |
| Replies: 1 Views: 325 Stupid question, really...
Say, if I have a Department tuple with "Faculty" field- how can I declare it on the design stage so it only can take the values of "Science", "Arts" or "Psychology"?
... |
Forum: C Aug 19th, 2009 |
| Replies: 5 Views: 373 Another thing I wanted to ask - is it possible to change my code so that it stores pointers (to structures) in BST and will the search work for pointers? |
Forum: C Aug 19th, 2009 |
| Replies: 5 Views: 373 Hmm, it is weird, I just realised that... I am using Dev-C++
Anyway, I tried to hardcode number of people (10) as the array size; it still only returns 3 names :/
Never mind! |
Forum: C Aug 18th, 2009 |
| Replies: 5 Views: 373 Hiya,
I've got a lickle program here which reads data about people into structures and then saves their surnames in a Binary Search Tree.
There is more stuff to go to that program, that is why... |
Forum: C Aug 11th, 2009 |
| Replies: 1 Views: 288 Hi,
I already asked but haven't had an answer.
What I am trying to do is to write a program which will read the data from the file into BST with the ability to search by surname (surname is the... |
Forum: C Aug 2nd, 2009 |
| Replies: 3 Views: 628 Anyone, please?? How do I use binary tree with the structures? |
Forum: C Jul 29th, 2009 |
| Replies: 3 Views: 628 #include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main()
{
typedef struct{
char dummy[256];
char surname[225]; |
Forum: C Jul 25th, 2009 |
| Replies: 3 Views: 628 Hello all,
in time of need I always come here to cry for help)
Anyways. What I need to do is to store data about people in a binary tree. They need to come from a file, but for now I can... |
Forum: Windows NT / 2000 / XP May 19th, 2009 |
| Replies: 3 Views: 314 Hi guys, can you give me some help?
It all basically started some times ago. I don't remember doing anything but suddenly my IE stopped working. Everything, and I mean it - everything opens in... |
Forum: Java Mar 2nd, 2008 |
| Replies: 0 Views: 920 Hello, kind sirs.
I am making a JUnit test case to test one of my classes. Short description of the tested class: it takes two integers - one of them is "minLen", which is entered by the user.... |
Forum: Java Feb 24th, 2008 |
| Replies: 10 Views: 4,084 I think, I got it while I was lying in the bed yesterday. Does /n (line break) counts as a character??? If yes, is there an easy way to avoid reading it?
PS the lines in console window break... |
Forum: Java Feb 23rd, 2008 |
| Replies: 10 Views: 4,084 Simple question now :) Now I have made another program, which reads 85 random characters from file one by one and outputs them onto the screen. The thing is, that for some reason the output is... |
Forum: Java Feb 22nd, 2008 |
| Replies: 10 Views: 4,084 Thanks a lot, I got it to work now! |
Forum: Java Feb 22nd, 2008 |
| Replies: 10 Views: 4,084 How do I do it??? I've just tried to do something like that, and this is what I came up with
package Talking;
import java.io.BufferedReader;
import java.io.IOException;
import... |
Forum: Java Feb 22nd, 2008 |
| Replies: 10 Views: 4,084 Hi there!!!
I am back with more problems, now in Java :)
What I am trying to do is to make an application to read and output a random line from a text file, but everything I know how to do is to... |
Forum: IT Professionals' Lounge Feb 22nd, 2008 |
| Replies: 37 Views: 4,253 In my group of 160 people there are 6 girls. However, I hate Java and will never be able to get anything working in it, while they, as far as I know, are quite good in programming in Java.
Wasn't... |
Forum: Pascal and Delphi Jun 19th, 2007 |
| Replies: 1 Views: 3,307 Hello again,
I am doing my second project now and I am using database components. So when I run the application and the DBGrid is shown and the data is read in from the MS Acess database, all the... |
Forum: Pascal and Delphi May 8th, 2007 |
| Replies: 5 Views: 2,615 thanks for your help
actually adotl your VAL function is really great, it works for me and now I will (with a bit of luck) pass my IT course :) again thanks so much |
Forum: Pascal and Delphi May 4th, 2007 |
| Replies: 5 Views: 2,615 Sorry for double posting, the browser crashes when i try to edit my post. I think there shouldnt be any problems with decimals, but the program must show the error message if comma or any symbol is... |
Forum: Pascal and Delphi May 4th, 2007 |
| Replies: 5 Views: 2,615 I am writing a program (well, actually I have finished it) using pascal, the program is to read in 3 sides of the triangle and produce a message whether it is right-angled, iscosceles, obtuse etc.... |