Search Results

Showing results 1 to 32 of 32
Search took 0.01 seconds.
Search: Posts Made By: adotl
Forum: C++ May 30th, 2007
Replies: 4
Views: 844
Posted By adotl
Forum: Computer Science May 26th, 2007
Replies: 6
Views: 12,354
Posted By adotl
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
Posted By adotl
So they can incorporate both Java and C++ in NetBeans IDE?
Forum: C++ May 24th, 2007
Replies: 9
Views: 1,524
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
No problem mate!
Forum: DaniWeb Community Feedback May 4th, 2007
Replies: 13
Views: 1,802
Posted By adotl
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
Posted By adotl
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
Posted By adotl
thanks for the reply, I'll look into making these changes!!!
Forum: Community Introductions Apr 27th, 2007
Replies: 5
Views: 872
Posted By adotl
Thanks guys!
Forum: Pascal and Delphi Apr 26th, 2007
Replies: 2
Views: 1,349
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
Forum: Pascal and Delphi Apr 21st, 2007
Replies: 15
Views: 5,140
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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
Posted By adotl
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...
Showing results 1 to 32 of 32

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC