Forum: C++ May 30th, 2007 |
| Replies: 4 Views: 844 |
Forum: Computer Science May 26th, 2007 |
| Replies: 6 Views: 12,354 Excellent summary of the major programming languages. Has helped me a lot get an insight into the 3 languages Im doing next year; Java, C++ and VB.Net! Cheers mate. |
Forum: C++ May 25th, 2007 |
| Replies: 9 Views: 1,524 So they can incorporate both Java and C++ in NetBeans IDE? |
Forum: C++ May 24th, 2007 |
| Replies: 9 Views: 1,524 Thanks joeprogrammer, appreciated. Regarding NetBeans I think we may do a little Java also so that explains why its on the server.
Your suggestions for C++ will be where I start. |
Forum: C++ May 24th, 2007 |
| Replies: 17 Views: 2,301 I feel your pain bro BUT with time and practise I find my coding gets quicker and more refined. The more tasks I complete the more pitfalls I learn to avoid! |
Forum: C++ May 24th, 2007 |
| Replies: 9 Views: 1,524 Im starting a course next year which will cover a C++; I was wondering whats the best software to start coding in C++? I noticed my college use NetBeans which is an IDE which may be a start?
Any... |
Forum: Pascal and Delphi May 8th, 2007 |
| Replies: 5 Views: 2,606 |
Forum: DaniWeb Community Feedback May 4th, 2007 |
| Replies: 13 Views: 1,802 Yes Ive found this to be the case also. Site speeds seems to be up and down of recent tho. |
Forum: Pascal and Delphi May 4th, 2007 |
| Replies: 5 Views: 2,606 I had this same problem recently and discovered that in pascal there is a 'Val' function (with 3 parameters, 1st for the string, second for integer and third for error message if the 1st parameter is... |
Forum: Pascal and Delphi May 2nd, 2007 |
| Replies: 3 Views: 1,364 thanks for the reply, I'll look into making these changes!!! |
Forum: Community Introductions Apr 27th, 2007 |
| Replies: 5 Views: 872 |
Forum: Pascal and Delphi Apr 26th, 2007 |
| Replies: 2 Views: 1,349 Interesting..good thinking thanks.. but would that not still limit the answer to just being an integer tho? |
Forum: Pascal and Delphi Apr 25th, 2007 |
| Replies: 3 Views: 1,364 Just trying to make my program user friendly...but I get the response 'Wrong' when I enter in a number or abcd when really I want my error message displayed when the user enters input like that and... |
Forum: Pascal and Delphi Apr 25th, 2007 |
| Replies: 2 Views: 1,349 I dont know if Im far off with this, The user enters their name and I want them to only enter in a string so if they enter in a number Id like an error message, any ideas?
program Word;
uses... |
Forum: Pascal and Delphi Apr 25th, 2007 |
| Replies: 3 Views: 1,393 This is the solution I came up with a few minutes ago....
program Word (input, output);
uses crt;
var
letter: string;
begin
{------------Introduction &... |
Forum: Pascal and Delphi Apr 25th, 2007 |
| Replies: 3 Views: 1,393 Im using Free Pascal and thanks I hadnt noticed that.
There was another work around that I did with just setting the value as string as when a number is entered the program doesnt crash unlike... |
Forum: Pascal and Delphi Apr 25th, 2007 |
| Replies: 3 Views: 3,589 hehe well unfortunately I dont have a choice at the moment, this year my course is using Pascal :( |
Forum: Pascal and Delphi Apr 24th, 2007 |
| Replies: 3 Views: 1,393 Im failing to see what Ive done wrong, the syntax is right but the program wont run for me when I enter in a the else statement works tho....
program Word (input, output);
uses crt;
var
... |
Forum: Pascal and Delphi Apr 24th, 2007 |
| Replies: 3 Views: 3,589 Seems theres a Val feature that basically converts strings into integers, Str does the opposite. Val in this example also has the third parameter as the error display.
program TriangleWait (input,... |
Forum: Pascal and Delphi Apr 24th, 2007 |
| Replies: 3 Views: 3,589 I was doing some coding today and came across a problem someone else faced and I couldnt answer it for them. I'll explain the concept in the little program below....
Program between;
uses crt;... |
Forum: Pascal and Delphi Apr 24th, 2007 |
| Replies: 15 Views: 5,140 Sure but its not going to be done for a while cos I have a big exam to study for and as I stated at the start my program already meets the project requirements so I'll just hand it in without the... |
Forum: Pascal and Delphi Apr 23rd, 2007 |
| Replies: 15 Views: 5,140 Yep thats great, I totally get it and I thank you again for your help! |
Forum: Pascal and Delphi Apr 23rd, 2007 |
| Replies: 15 Views: 5,140 Yes I fully understand now, thanks for your help mate!
I'll go away and try this.
edit
Im pretty sure Cycle is a mac extension but Continue does exactly the same and the main reason was to... |
Forum: Pascal and Delphi Apr 21st, 2007 |
| Replies: 15 Views: 5,140 Arghhhhhhhh Im really stuck with this damn Random function...
Ive a rough idea that I would use the concept below...
program random;
uses crt;
var a,b, i:integer;
begin
clrscr;
randomize; |
Forum: Pascal and Delphi Apr 21st, 2007 |
| Replies: 15 Views: 5,140 And also Ive done the create question program...really just the Random part being inserted Im stuck on...
PROGRAM CreateQuiz;
USES CRT;
TYPE
QuizType = STRING;
QuizFileType = FILE... |
Forum: Pascal and Delphi Apr 21st, 2007 |
| Replies: 15 Views: 5,140 This what ive got so far with the questions in record form....
PROGRAM Quiz questions
USES CRT,DOS;
TYPE
QuizType = STRING;
QuizFileType = FILE OF QuizType; |
Forum: Pascal and Delphi Apr 21st, 2007 |
| Replies: 15 Views: 5,140 So far Ive got this for the random section...hopefully assigning each element of the array within this will work...
program random;
uses crt;
var a,b, i:integer;
begin
clrscr;
randomize;... |
Forum: Pascal and Delphi Apr 21st, 2007 |
| Replies: 15 Views: 5,140 Thats a great idea, thanks. Really my problem is realising how to use the random function in pascal. I know you declare randomize near the start then use Random but have only seen examples using... |
Forum: Community Introductions Apr 20th, 2007 |
| Replies: 5 Views: 872 This looks a great site. Perfect for the likes of me, Im a recent student from Scotland to Software Development but hope to progress through the different languages.
At the moment I'm finishing... |
Forum: Pascal and Delphi Apr 20th, 2007 |
| Replies: 15 Views: 5,140 I might as well post the whole program to assist anyone reading this.... also I forsee a problem with the later procedure where I append the file with user created questions....
Again thanks to... |
Forum: Pascal and Delphi Apr 20th, 2007 |
| Replies: 15 Views: 5,140 So far as you can see below Ive got the program accessing the file and just reading the lines; Ive got the file set up like so...
What is the Answers?
A Do this
B Do that
C Dont do that
D... |