132,726 Archived Topics
Remove Filter ![]() | |
why my randomize commond doesn`t work in my pascal program? i used many loops in my program which i put the randomize after the first begin of the program. Is there some one can tell me how to place the randomize command in a complicated pascal program! :rolleyes: THX........... Software Development pascal | |
I am writing a C program using Dev-CPP. It uses a 3 dimensional array to store around 350 values as shown below. [code=c] db[2][0][1]=3278; db[2][0][4]=2368; db[3][0][3]=6686; db[2][0][6]=7224; .. .. .. [/code] I get a valid output when I read the array with the following code [code=c] zone = db[2][0][1]; printf("%d",zone); … Software Development c | |
hello, What problems will I encounter if I use Array although I don' know how many elements need I store? If I set the array size very large than I expected, can problem arises anymore? I tried to use Arraylist. But when there are many attributes, I always declare a … Software Development java | |
I have made a list of names and everytime i want to select a value in the listbox it should give me a result in the Entry box can someone please help me. This is my listbox values [code] musicfolder = [ ["CollegeRock/"], ['RnB/'], ['HipHop/'], ['Build/'], ['Buy/'], ['Techno/'], ['Jazz/'], ['Classic/'] … | |
I made a small program which will encrypt my files using xor encryption method. It work but to encrypt 11MB file it take like 20 mins. any suggestions on how to make it faster would be nice. This is the function that encrypt (this is a thread): [code] [COLOR=#0000ff][COLOR=#0000ff]public[/COLOR][COLOR=#0000ff]void[/COLOR][COLOR=#000000] encrypt()[/COLOR] … Software Development encryption | |
Hey Guys, there's a simple problem I can not solve, and neither can my friends. How do I shut down the computer in C#. I am trying to make an aplication that would shut down the computer after a countdown closing all other active applications, so that I can go … Software Development c# | |
Simply, I need to understand the basics of button binding. I have researched [URL="http://www.pythonware.com/library/tkinter/introduction/events-and-bindings.htm"]this[/URL] already and have decided just to ask for instruction. For example, one of the programs I am building currently will require, at a certain point, user input; I want to be able to know when a … | |
I am a C++ programmer, I have a good hands on C, C++ and WIN32, however i don’t know MFC much. I am willing to learn C# and i am looking for few guidelines. It will be a great help if anyone can tell me how to start with it. … Software Development c# | |
hello, pls find out why code is not work for solitaire game... Thanks in advance.:rolleyes: code: [code=cplusplus] #include<iostream> using namespace std; /*****CLASS PLAYING CARD*****/ class PlayingCard { private: int rank;//integer 1-13 int suit;//integer0-3 char color;//red('r') or black('b') public: PlayingCard(int,int); PlayingCard(); void display(); ~PlayingCard(); const static int diamond; const static int … Software Development c++ | |
I want to write various programs using ' Loops' in C language but new to C .please solve my query Software Development c++ | |
[COLOR=#555555]I want to use static buttons with invisible background to the text. does anyone know how to do that? I have a picture in the background, and when I use a static button, it has a gray background, which doesn't look nice at all....:-| ![/COLOR] | |
I have searched google, but found nothing, I'm not even sure if this is what you call it. But in my program I am writing, if someone hits enter by mistake without entering anything, it errors, is there a way to avoid that? Another error that happens is if the … | |
Write a program that can simulate the following CPU scheduling algorithms: 1. FCFS 2. RR (new processes are added at the beginning of the ready queue, the quantum is one time unit) 3. Priority based 4. SJF non-preemptive 5. SRTF The program can be written in either C or Pascal. … | |
Hi Dani, i am a computer programming student learning the Pascal language. I wish to ask for your help in furnishing me with two pascal games which i can study and and improve on, or probably writing my own codes. I like the pseudocode for the games and the procedure … Software Development pascal | |
Hi, I cannot figure out why my fib problem is giving me the output below. I just want it to print when the fib is called and the value of n, when it returns and with what value of n, and the return value. This is what I have so … Software Development python | |
06)How can we turn on and turn off the serial ports’ DTR and other pins………? When we transfer a file from one computer to another is there need to configure these pins or they are automatically configured? Software Development c | |
I do not want the full program, as you all know because of the rules. What I do need though is a place to start because I have no idea what I need to do. I'll post the problem. For the purpose of this program, a widget is a fictitious … Software Development first-post pascal | |
program AreaofRectangleOrTriangle; uses WinCrt; var Base, Height, RectOrTrian, Area, CharUserInput: Char; Begin (*Enter R or T*); Writeln('Enter R for Rectangle or T for Triangle'); Readln(CharUserInput); (*Enter Base and Height*); Writeln('Enter Base '); Readln(Base); Writeln('Enter Height '); Readln(Height); (*Give case statement and formulas*); if (CharUserInput = 'R') or (CharUserInput = 'r') … Software Development pascal | |
Hi, I am trying to figure out how to print tracing information for Fibonacci numbers. output = Computing fib(4) Leaving fib(4) returning 3 Can anyone steer me in the right direction? This is what I have: [code]import math def fib(n): if n < 3: return 1 while n >= 3: … Software Development python | |
Ok, i just started using pascal, since I went to a college open evening, and they told me in the first year of the course I wish to study, i would be learning pascal. This is not a homework assignment of any kind, this is just me messing around with … Software Development pascal | |
how to make computer shutdown in C?which header do i have to include? Software Development c | |
I just writing the simple twenty one card game...now evth work and fine. And I put cards from 2 to A with concerning value.But when the debug step coming '0'comes to input with value '10'(K is worth 10 etc). It make me so confused. here is my code: [code]#include <iostream> … Software Development c | |
Hello, im trying to compile few .java files but i'm geting error message: GraphicsHandler.java:62: ';' expected for (Player p : server.playerHandler.players) { GraphicsHandler.java:67: illegal start of expression }}} I just don't know what to do... ----------------------There is my GraphicsHandler.java-------------- public class GraphicsHandler { public static int[] GFXspot = new int[5001]; … Software Development client-server data-structure file-stream first-post java | |
Hello Everyone, I was just wondering if people could tell me what they think is the best way to learn C++, and link to some tutorials maybe? Recomend a book, ect. Maybe I havn't found any good tutorials....But the ones I have seen aren't very good. Help Apreaciated. Brendan. Software Development c++ | |
Hello again! I am using code blocks with the gcc compiler and the gdb debugger (which is a little buggy itself). If i have a program running in debug that requires an input from the keyboard to continue, how do i do that? Software Development c | |
I am writing a VB.NET 2005 Win Form that is used with scanning a barcode. I have an Access db that I need to compare a barcode value in a textbox with a matching value in the datagridview. I am thinking I should write a loop to locate the same … Software Development vb.net | |
I seem to have an intermittent issue with the following code segment. I am installing an application which has an associated excel add in which I register and then run the on open macro. The formula then calls one of the functions from the add-in. The script fails at the … Software Development python | |
hi, I am new to programming ! I am just writing match game ! I am trying to move the letter to concerning place .. so I created two dimen-array for it .. but I have problem with moving those to concerning place .. here is my some code of … Software Development c++ | |
Hello, i really need code for creating a binary search tree from pre-order and post order traversals.......and print its output in post order and level order traversals....pls help... Software Development c c# c++ first-post ![]() | |
is there an easy way to detect if the entire contents of one list are in another? if I have a list like this: li = [1,2] and I have another which will have random values, I want the program to do something only if every value of li is … Software Development python | |
08)Can we read from a port while write to the same port? When we short the TX and Rx pins the value TX can be captured from the same port as a data read from port? Software Development c | |
09)What is the purposes of register used in c++.in c++ help they are used more examples and they are used memory addresses……How can we find the specific functions of memory addresses used in programming?Ex int() and int86() functions….. [B]#include<stdio.h>[/B] [B]#include<iostream.h>[/B] [B]#include<conio.h>[/B] [B]#include<dos.h>[/B] [B]#define VIDEO 0x10[/B] [B]void movetoxy(int x, int y)[/B] … | |
Thank for most who helped me to find out random fun before.. I am new to programming .. I just writing simple twenty one game.. Now my random out is like that ... k 5 6 q j .. mix char and int together randomly.. it might be suck..! now … Software Development c++ | |
hi all, i got this example from a website, but unfortunately i cant understand some cording in that source. the green color lines are the difficult points that i could not understand. also the database name, user name and password has not specified at anywhere in this cord. how can … | |
Hello, I am new here. Actually i wanted some help with a problem that's disturbing me. I am new to the programming world, and so, i don exactly know if this is the right thread. Am sorry if it is a wrong one. Anyways, back to my question, it's about … Software Development pascal | |
So I've run into this situation a million times in my "learning career" and I've always found a long way around the issue so as not to risk throwing unnecessary exceptions.. Let's look at a simple example... [CODE=java]boolean IsEnabled (JPanel MyPanel) { return MyPanel.isEnabled(); }[/CODE] Throws java.lang.NullPointerException if null is … | |
Hi everybody, How to crack a password of a simple C++ Programme? Please give me a simple code sample????????? heres to, Nuwan Software Development c++ | |
Is there a relatively simple procedure for reading .ini files in Visual Basic? I'm more used to dealing with Delphi, and I have a couple of quick functions (written by another) that deal with .ini handling there, but I've been requested to use VB if at all possible for this … Software Development delphi visual-basic | |
im going to be programming on a server using masm32 should i get the server sdk on microsoft.com web site or the normal one? does it matter? Software Development assembly web-server | |
Hello: [I]** I have been researching and experimenting with this with tutorials from many sources but can not even begin it to get it to work it seems.[/I] I have a very small yet important Python program that I must make into an executable file within a week's time or … | |
05)What is the purposes of the Followings? These are located in device manager list………………Under [B]System devices[/B] [B]a) [/B][B]ACPI Fixed Feature Button[/B] [B]b) [/B][B]ACPI Sleep Button[/B] [B]c) [/B][B]Direct Memory Access Controller[/B] [B]d) [/B][B]ISAPNP[/B][B] Read Data Port[/B] [B]e) [/B][B]Microcode Update Device[/B] [B]f) [/B][B]Microsoft ACPI- Compliant System[/B] [B]g) [/B][B]Numeric data Processor[/B] [B]h) [/B][B]PCI … Software Development c++ microsoft-access | |
Just started reading 'Beginning Programming in Java for Dummies' and when I got to the first example below, I'm getting errors when i try to compile? I have the JDK 5 update 9 and the Jcreator IDE installed. Thanks in advance. [CODE]class MyFirstJavaClass { /** * Method main ** * … ![]() | |
04) what is the maximum data rate that a com port supports? Why we cannot transmit data than that (maximum ) data rate? Software Development c | |
[COLOR=#000000][/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]How I can write an assembly language program, which will constantly monitor the computer clock (date and time) and for a certain day and during meeting times, display[/COLOR] [COLOR=#000000]“MEETING FOR Dr. A” in the middle of the screen .[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]As an … Software Development assembly | |
12) what are the I/O ranges?funcitons of it? is it useful to a programmer ? if How ? 13) can we use a C++ programme without windows? I mean can we use C++ programme in MS-DOS mode? Can we run a C++ programme before windows boots?if can how to do … Software Development c++ | |
hi all, hope you guys are doing fine. i need a help. can any of you tell me where I can download free ebooks. i am particularly looking for "data structures in c++ by tanenbaum". please help me. thanks Software Development c++ | |
![]() | Well, I am writing a program in which i need these global variables. However when I compile, ile I get a message To Much Global Data in This File. I have no other option, i.e. use pointers and all, cause there are certain restrictions to as per my teacher said. … Software Development c++ |
Hi everyone, I need some help in the following task: I am writing a Pascal program that will > 1). find the first 100 prime numbers and store them in an array. > 2). give a choice to the user, who will choose which number base the prime numbers will … Software Development pascal |
The End.