Computer Science
Computer science is the study and the science of the theoretical foundations of information and computation and their implementation and application in computer systems.
Forum Post
Forum Post

2Dimensional Array Error

Hi guys; I am new to the programming world, just beginning to study in my A Levels so hopefully this shouldn't be a problem for you guys For my homework assignment I need to devise a 2Dimensional...
Forum Post

Please Help with my programming

I would like some help with this pascal programming language please im totally new to pascal. im just the "Free PASCAL Compiler" T.J Limited pays its operational staff weekly wages at a rate...
Forum Post

User-defined array range?

How can I manage to let the user input a number (n) and the program will read strings for n times? I can do that in this way, but not good enough if user enters a number greater than 100. VAR...
Forum Post

Re: same results

// reverse a string program reverse; procedure Main(); var before : string; len : integer; begin WriteLn('Enter string '); ReadLn(before); len:=length(before); repeat...
Forum Post

Re: reverse sentence

// reverse a string program reverse; procedure Main(); var before : string; len : integer; begin WriteLn('Enter string '); ReadLn(before); len:=length(before); repeat...
Forum Post

Re: assistance in programming

program divide1; procedure Main(); var num : integer; ans : integer; i : integer; begin Write('Enter number:'); ReadLn(num); for i:=1 to num do begin ans:= num Mod i; if...
Forum Post

Re: help :(

THE WAY U DECLARED ARRAYIS WRONG. e.g of how to declared array num :array of string;
Forum Post

Finding the least frequent char in a string

Hey! I need some help with my pascal homework. What I need to do, is make the program return the least frequent character(s) in a string and number of occurances. 1) User inputs the main string,...
Forum Post

Re: Managing data file for a lucky draw

');readln(s); if s<>'' then begin blockwrite(f,s,sizeof(str20)); { 0 then begin {Retrieving a random name } randomize; j:=succ(random(i)); reset(f,1); { After...
Forum Post

Re: Managing data file for a lucky draw

Okay, nice try. How did you create C:\f.dat? Use a regular editor to do it? Look at your record definition; name is defined as a STRING. How long is a STRING? Well, it's 255 bytes with a leading...
Forum Post

Managing data file for a lucky draw

Let's say I'm going to handle a lot of words which is stored in a plain text file. Be sure that each line has only 1 word & there are more than hundred thousands of lines in total. I have to...
Forum Post

Re: Need Pascal Programming Help Please please please!

I used Pascal years ago this may help: http://www.mustansiriya.com/pascal.pdf good luck
Forum Post

Re: to place each line of a file into a vector

Hmmmmm.... without any details about what you are trying to accomplish, guessing is all that anybody has left. What kind of file line? What's a vector? Start off with some program so that any...
Forum Post

Re: Sorting arrays

Can you please provide some usage example?
Forum Post

Re: Sorting arrays

You might want to try my post from last year to sort your array. http://www.programmersheaven.com/mb/pasprog/412937/416646/re-arranging-sorting-an-array/?S=B20000#416646
Forum Post

Program witn Min elements

I had a problem with this program,though it seems easy..:/ A matrix is given.Find the sum of the minimal elements of each row. Pls help with this one! :(
Forum Post

Re: Artificial input :P

Ok, so firstly I use Free Pascal 0.6.4. The game is pretty much like this: you control the "spaceship" and destroy objects falling from the top of screen by shooting them. Once object is...
Forum Post

Re: What does {$h+} do?

: What does {$h+} do? : : In some programs (for example the free pascal ones), people tend to : use {$h+}after the first line (program ;). : : Just want to know how to use it and when should...
Forum Post

Re: pascal pogram help

: You are required to: : : 1. Develop an algorithm in narrative and pseudopodia or flowchart : that will accept the names of all sales staff members and their : total sales for the month. The...
1 2 3 4 5 6 16 26 36 46 56 66 76  Next
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.