132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for angus1910

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
Member Avatar for Lord Soth
0
327
Member Avatar for Siva_sbj

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
Member Avatar for Siva_sbj
0
126
Member Avatar for bluebird

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
Member Avatar for aviasoorya
0
141
Member Avatar for wandie

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/'] …

Software Development python tkinter
Member Avatar for wandie
0
5K
Member Avatar for ashneet

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
Member Avatar for Lord Soth
0
116
Member Avatar for Maidomax

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#
Member Avatar for Lord Soth
0
167
Member Avatar for mattyd

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 …

Software Development python tkinter
Member Avatar for sneekula
0
94
Member Avatar for dubeyprateek

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#
Member Avatar for sedgey
0
193
Member Avatar for sTorM

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++
Member Avatar for John A
0
224
Member Avatar for vatsal17

I want to write various programs using ' Loops' in C language but new to C .please solve my query

Software Development c++
Member Avatar for TylerSBreton
0
85
Member Avatar for gabs

[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]

Software Development api c
Member Avatar for jwenting
0
87
Member Avatar for Matt Tacular

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 …

Software Development google python
Member Avatar for bumsfeld
0
186
Member Avatar for d_1386

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. …

Software Development algorithm c data-science email pascal queue
Member Avatar for Salem
0
264
Member Avatar for secret

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
Member Avatar for JJarvis
0
378
Member Avatar for babutche

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
Member Avatar for babutche
0
129
Member Avatar for nuwan243

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
Member Avatar for JRM
0
119
Member Avatar for LawnGnomeNinja

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
Member Avatar for needs_help
0
123
Member Avatar for sportsnut941

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
Member Avatar for needs_help
0
84
Member Avatar for babutche

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
Member Avatar for woooee
0
111
Member Avatar for Wavanova

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
Member Avatar for codewritinfool
0
143
Member Avatar for jan1024188

how to make computer shutdown in C?which header do i have to include?

Software Development c
Member Avatar for ~s.o.s~
0
125
Member Avatar for sTorM

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
Member Avatar for sTorM
0
104
Member Avatar for John P.

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]; …

Member Avatar for jwenting
0
99
Member Avatar for Wreef

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++
Member Avatar for WoBinator
0
647
Member Avatar for JRM

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
Member Avatar for JRM
0
108
Member Avatar for ClevelandMark

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
Member Avatar for ClevelandMark
0
93
Member Avatar for bud594

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
Member Avatar for bud594
0
774
Member Avatar for catty50

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++
Member Avatar for Ancient Dragon
0
132
Member Avatar for anjutalks

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
Member Avatar for iamthwee
0
63
Member Avatar for Matt Tacular

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
Member Avatar for vegaseat
0
174
Member Avatar for nuwan243

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
Member Avatar for SpS
0
174
Member Avatar for nuwan243

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] …

Software Development c++ video
Member Avatar for Ancient Dragon
0
154
Member Avatar for sTorM

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++
Member Avatar for sTorM
0
104
Member Avatar for rpjanaka

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 …

Software Development email java
Member Avatar for jwenting
0
128
Member Avatar for lifetalk

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
Member Avatar for Lord Soth
0
152
Member Avatar for Cudmore

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 …

Software Development career java
Member Avatar for jwenting
0
363
Member Avatar for nuwan243

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++
Member Avatar for jwenting
0
316
Member Avatar for EnderX

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
Member Avatar for sushanth
0
1K
Member Avatar for sbswhatever

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
Member Avatar for Evenbit
0
224
Member Avatar for sTorM

Hi , I ld to print out characters and intergers together randomly? for example .. k 10 5 r 3 .. etc.. But I set 4 char and 10 int(frm 1-10) .. pls help me out thz in advance!:)

Software Development c++
Member Avatar for sTorM
0
128
Member Avatar for mattyd

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 …

Software Development laptop python video
Member Avatar for vegaseat
0
293
Member Avatar for nuwan243

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
Member Avatar for John A
0
137
Member Avatar for Colin Mac

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 ** * …

Software Development ide java
Member Avatar for iamthwee
0
87
Member Avatar for nuwan243

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
Member Avatar for nuwan243
0
106
Member Avatar for alsami

[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
Member Avatar for Ancient Dragon
0
175
Member Avatar for nuwan243

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++
Member Avatar for Ancient Dragon
0
166
Member Avatar for smaran

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++
Member Avatar for Eko
0
160
Member Avatar for gabs

hi! I'm kind of new to this site, but I saw some of your guys posts, and man, you are brilliant. so I hope someone can help me as well. I am doing a vc++ program, and I'm using many comboboxs. how can I tell between them? I mean, I …

Software Development c++
Member Avatar for gabs
0
104
Member Avatar for GreenDay2001

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++
Member Avatar for Dave Sinkula
0
178
Member Avatar for sophie101

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
Member Avatar for sophie101
0
129

The End.