132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Matt Tacular

If I print something to the screen, is it at all possible to erase some of that? Some sort of backspace? That way it would be possible to clear the screen, make a text progress bar, etc. If not, what's the easiest way to do something similar? Thanks,

Software Development python
Member Avatar for mchen10
0
474
Member Avatar for sardarji

Hi, Is there a way in python to get multiple values from a dict? In perl we have this syntax: @values = @hash{@fields} is there something similar in python? thanks, Sam

Software Development perl python
Member Avatar for vegaseat
0
77
Member Avatar for LevelSix

Write a simple graphics editor that allows users to add a mixture of shapes (ellipses, rectangles, and lines in different colors) to a panel. Supply commands to load and save the picture. Basically it wants a program with a buttons for New, Load, Save, Rectangle, Line, Ellipse, Red, Green, Blue, …

Software Development java java-swing
Member Avatar for Ezzaral
0
305
Member Avatar for Nemoticchigga

I have a vs2005 forms app, I have added a header file with a bunch of functions, but now i get a bunch of LNK2005 errors, one for every function. How do I resolve this? Do I need to put them in a class? Thanks.

Software Development c++
Member Avatar for Salem
0
84
Member Avatar for n.aggel

Hi guys, i have one question regarding alignment. Assume that you have the following struct: [code=c] struct align1 { double a; char b; int c; short d; }; [/code] Also assume: sizeof(double): 8 sizeof(int): 4 sizeof(char): 1 sizeof(short): 2 i would expect: sizeof(align1): 8 + (char padded to->) 4 + …

Software Development c++
Member Avatar for n.aggel
0
174
Member Avatar for kmacker

Ok. Need some help with a project at my work. Wanting to create a useful map of the windfarm where I work. (Once completed, will be the largest windfarm in Europe :-)) Anyway have created a map of the site showing the locations of each turbine. Using this map as …

Software Development flash visual-basic
Member Avatar for kmacker
0
173
Member Avatar for hoticejin21

guyz im having hard time of making a program that could run like a simple ATM machine using turbo c(using conditional statement and looping)... I can't think will coz the dealine of submission is on next week... could you gave an idea of that program.. pls??? i will just change …

Software Development c
Member Avatar for Adak
0
173
Member Avatar for crafted

I downloaded a graph control... However I dont know how to code it I tried copping and pasting sxamples codes but the code refuses to work. HOW DO I CODE THE GRAPH CONTROL, I KNOW I CAN USE ARRAYS BUT MY UNDERSTANDIG OF ARRAYS IS MINIMAL...?? i need help

Software Development vb.net
0
69
Member Avatar for david_09

Hi all, How can I allocate memory in Python and convert that into Physical memory? I am trying to use CTYPES, but somehow not able to load the required system libraries to use malloc type of system call. Thanks, David

Software Development python
Member Avatar for vegaseat
0
127
Member Avatar for shaynicb25

I'm working on a program to keep track of a hardware store's inventory. For each item the item ID, item name, # of pieces ordered, # of pieces in stock, manufacturer's price and the selling price. The program must also print out a report. The program is menu driven and …

Software Development java
Member Avatar for Alex Edwards
0
120
Member Avatar for jack44

Hi there, i'm having trouble with creating the Pseudocode for my program, the program took me ages to complete with alot of help, i sort of understand what needs to be done, but could someone start me off as i'm unsure of how to begin:- [code]import java.io.*; import java.util.*; public …

Software Development java
Member Avatar for himi
0
139
Member Avatar for Bill Purkins

Hi, using VB 2008 Express, I have a button on a form which is to use a datareader to loop through all the records in a file. When I try to run it I get a message indicating it could not connect. I assume something is wrong with my connection …

Software Development sql vb.net visual-studio
Member Avatar for Bill Purkins
0
372
Member Avatar for DonkeyKong92

Does the infomation make a differance to the programs speed? [CODE]// Operating with hello world #include <iostream> using namespace std; int main () { // Print out the result: cout << "Hello World! "; cout << "This is my program"; // Keep program running: cin.get(); //Terminate the program: return 0; …

Software Development c++ operating-system
Member Avatar for DonkeyKong92
0
194
Member Avatar for Bill Purkins

Using VB 2008 Express, this is not a problem but a philosophical question. Which is preferred method of providing user with error messages on forms, errorhandler or message boxes? Error handler seems like it's the direction Microsoft would like us to go in, with providing even the errror message as …

Software Development vb.net
Member Avatar for dmf1978
0
177
Member Avatar for KenTheFurry

Well I am writing a little message encryption program (simple) and Well it works but it will not change anything after a space. just hoping someone here could help. [CODE] cout << "Enter in the message you want to encrypt..." << endl << " "; cin >> in; count=strlen(in); for(i …

Software Development c++ encryption
Member Avatar for KenTheFurry
0
160
Member Avatar for bornok15

Im trying to set up an application that will connect to a MYSQL database across the a distance using internet connection. i did it with VB 6 but it seems like the connection is not that stable and sometime it wont connect. Is it because of VB 6? would be …

Software Development mysql vb.net
Member Avatar for ChaseVoid
0
870
Member Avatar for Gaurav arora

Hi all, i have added the form required in my project. it is showing there in solution explorer window. But i cant access that form through coding. can anyone tell me wt is the problem

Software Development
Member Avatar for ChaseVoid
0
94
Member Avatar for sdimantova

My program performs a search on a user selected directory and produces a list of files and attributes in a listview. The user then has the option to open files, move them, or delete them. This program will be used accross a wide variety of users and I want to …

Software Development file-system listview vb.net
Member Avatar for sandeep_chalke
0
339
Member Avatar for maingi

Can someone help me to write a program that can read and write to a file and then store the user input in the file using the Property and ClassLoader classes.Also when another person uses the program it should tell you the last person to use the program.Thanks in advance

Software Development java
Member Avatar for maingi
0
111
Member Avatar for fmartins

I'm trying to call the function fgets to read from standard input. How do I get the FILE* stdin in assembly? I'm using nasm on cygwin. Thanks in advance.

Software Development assembly
Member Avatar for Salem
0
2K
Member Avatar for thanaras

Hello. Possibly, this is the best java forum in the whole net. So i thought to ask. I want to capture video from a web-camera. So far, i have enabled the camera using JMF and i can see "inside" the camera. What i want is to capture video in GRAYSCALE, …

Software Development java video webcam
Member Avatar for enantiamorph
0
109
Member Avatar for mode17

hi i'm creating a program with the same effect as the green screen used in the movies and i'm having problem in getting the right value of green colors, but when i uses black or white as a color to be mask it works but not with the green, can …

Software Development visual-basic
Member Avatar for selvaganapathy
0
89
Member Avatar for Gaurav arora

Hi all I have to make a form in my project which includes text NOW LOADING following 4 to 5 dots like ......, Now my motive is that on loading that form the dots should look like moving as is mormally seen in all softwares and games. i have used …

Software Development
Member Avatar for AmirBedair
0
103
Member Avatar for gispe

hi ppl, i' ve done a program that calculates the result of raising a random base to a random exponent. the problem is that this stays in a loop that never comes out, n i have to abort it. and, its ok to put `exp*=exp??` cuz, i dont know how …

Software Development c++
Member Avatar for gispe
0
73
Member Avatar for PoovenM

Hi guys, I'm trying to make sense of some Perl code. I haven't actually programmed in Perl before but I do image the functions/methods are similar to other languages. Here's the code: [code=perl] function [dir, wspd] = conv_wind(uwind, vwind) usize = length(uwind); vsize = length(vwind); if(usize ~= vsize) dir = …

Software Development perl python
Member Avatar for PoovenM
0
232
Member Avatar for arun_kumar112

Hi All, I am new programmer, I have to create list of item which are selected from list box . It should be displayed like " a,b,c,d,e,f " How can I do ? it can be in a string or numeric . only selected Item is required to display displayed" …

Software Development visual-basic
Member Avatar for selvaganapathy
0
102
Member Avatar for MikeyFTW

OK i have this code below here...it works fine. play with it and you will learn its a simple maths game but i want to add substraction to it as well. i want it to be able to load the program up and then be able to choose from addition …

Software Development mathematics python tkinter
Member Avatar for jlm699
0
389
Member Avatar for Jaulm

This is my first post and I am new to this so bear with me...I am trying to write a program that will output messages to 1 or more text files. For example if I want to write to 3 log files, depending on what is happening in the code. …

Software Development java
Member Avatar for Jaulm
0
210
Member Avatar for vijaysoft1

Hi , iam trying to develop a simple text editor on Turbo C , that will accept values from the keyboard and print on the screen . I want a scrolling function . when i entered th data and press enter button it will come to the next line . …

Software Development c
Member Avatar for Adak
0
121
Member Avatar for ishaanarora

[QUOTE]Only the stronger will survive.( Charles Darwin)[/QUOTE] As i posted my first fifo error problem which was a practice thing .Now i am doing what i m supposed to do. I m making this code first which is running is background.whenever any one will write on the fifo it creates …

Software Development c
Member Avatar for ishaanarora
0
165
Member Avatar for karthik1

heelo, i have a combobox,button in form1. a listbox in form2. the listbox and combobox r populated iwth customernames. now, if itype a string or char in my combobox say 'l' then it should display all customernames starting with 'l'in the listbox . how do i go about it?

Software Development vb.net
Member Avatar for Pgmer
0
85
Member Avatar for TeCNoYoTTa

hello all i want to know the uses of function returning by refrence and how to use them i tried this but it gave an Error [code] int& sumz(int x,int y) { int *sum = new int; *sum = x + y; return sum; }[/code]

Software Development c++
Member Avatar for Alex Edwards
0
110
Member Avatar for karang

Hi I have made a program that will change the settings of printer orientation. But I am getting linker error. " [Linker error] undefined reference to `OpenPrinterA@12' " I am not able to find out the reason. Kindly advice Regards Karan Gupta

Software Development c++ printer
Member Avatar for Ancient Dragon
0
540
Member Avatar for rakeshbk402

Hello All, I am a fresher in c, i need to know about how to find out the size of a function defined & size of stack memory allocated for c compilers

Software Development c
Member Avatar for Ancient Dragon
0
188
Member Avatar for buddy1

I have a recursive function squares that receives a positive integer n and prints out the first n perfect squares in descending order. Can anyone tell me if this is correct and if not please help. [ICODE]squares(int n) { if( n== 1 ) return 1; else return squares ) n …

Software Development c c# c++
Member Avatar for buddy1
0
100
Member Avatar for buddy1

BinarySearch is called on the array below, searching for Value 20. Is the final value of Index 20 in [6]. I think this is right. 2 5 10 15 20 20 20 20 [1] [2] [3] [4] [5] [6] [7] [8]

Software Development c++
Member Avatar for buddy1
0
78
Member Avatar for kartik14

Hi, Is there any way to store huge numbers (for example, a number with a million digits) in a C program and be able to perform operations on it ? Thanks..

Software Development c++
Member Avatar for ivailosp
0
70
Member Avatar for hana rashid

Is it possible to draw UML Diagrams in a webpage?

Software Development java
Member Avatar for peter_budo
0
76
Member Avatar for lordx78

[COLOR="Green"]Netbeans IDE[/COLOR] [COLOR="Green"]Eclipse IDE[/COLOR] [COLOR="Green"]IntelliJ IDEA[/COLOR] Which from the above the the [COLOR="Red"]BEST[/COLOR], [COLOR="Red"]USER FRIENDLY[/COLOR], [COLOR="Red"]COMPLETE[/COLOR] IDE to use to design/create GUI for Java based programs. Please advise. Thanks.

Software Development gui ide java java-netbeans
Member Avatar for vidaj
0
139
Member Avatar for zyaday

I have a programm that runs an applet. It loads a series of images and paints them. The problem is the programm seems to not to paint the images in the same order..or rather it skips some of the images....what can i do? I tried using the udate(screen) function but …

Software Development java java-swing
Member Avatar for Netztonia
0
106
Member Avatar for ypdev

Hi, Does anyone know how to change the date format on the calendar components? The default is [B]MM/DD/YYYY[/B] and I would like to change it to [B]DD/MM/YYYY[/B] Thanks...

Software Development vb.net
Member Avatar for ypdev
0
94
Member Avatar for Hannahlv

Hi, everyone! I thought I posted the code first, it's better. This is the code of the program I've worked with : [CODE] #include "liveMedia.hh" #include "BasicUsageEnvironment.hh" #include <stdio.h> UsageEnvironment* env; Boolean reuseFirstSource = False; Boolean iFramesOnly = False; static void announceStream(RTSPServer* rtspServer, ServerMediaSession* sms, char const* streamName, char* inputFileName); …

Software Development audio c++ client-server file-stream session
Member Avatar for Hannahlv
0
232
Member Avatar for orion_nsk

Hello Everyone, I'm Uploading this Project for the ones who need Help regarding VB's MSCHART CONTROL!!! This Sample Shows : [B]1) How to Show Data from an Access2003 Database on Chart. 2) How to Print Data from MSChart Control. 3) How to "Save As..." the Chart, as .Bmp file.[/B] Hope …

Software Development visual-basic
Member Avatar for Djali
0
334
Member Avatar for JConnor135

Can someone please help me find out why I am getting a nullpointerexception for this code. Ive been racking my brain and cant find it for the life of me. The program is supposed to delete an element from the linked list that is built in the main method and …

Software Development java linked-list
Member Avatar for Alex Edwards
0
272
Member Avatar for Renukavani

i have one notepad file. if i right click that shows "open with" option. in that option i want to show all .exe files. don't want to "choose default programs" option. can anyone help me plz how to get that. plz.... if i developed 1 c#.net application. after i wil …

Software Development
Member Avatar for Renukavani
0
107
Member Avatar for Renukavani

without choosing "choose default programs" option, how to make(.exe) entry automaticaly.help plz. advance thanks.

Software Development
Member Avatar for Renukavani
0
271
Member Avatar for ishaanarora

i m writing a practice code to implement select with fifo. i m posting two codes along with : [CODE] CODE 1: Help with Code Tags (Toggle Plain Text) #include <sys/types.h> #include <sys/stat.h> #include <stdio.h> #include<fcntl.h> int main() { int fd,rc,i; /* Making A FIFO names as fifo2*/ char data[100]; …

Software Development c
Member Avatar for ishaanarora
0
171
Member Avatar for Gaurav arora

HI all again here with some problem. I m making a project in which i made a form MDI container and on running the application login screen opens within the Main form(MDi). I want that until user logins he should not b able to access main form or its options. …

Software Development
Member Avatar for Jx_Man
0
91
Member Avatar for ruchika beddy

hey frnds, Can somebody tell me how to extract icons ,Cz I have no idea from where to start.

Software Development vb.net
Member Avatar for dmf1978
0
154
Member Avatar for ruchika beddy

Below is the code in VB. I want GetSetting + SaveSetting in VB.Net--- [b]VB[/b] Call SaveSetting(App.ProductName, App.title, "CheckBox1", values) call CheckBox1.value=GetSetting(App.Productname,App.title,"CheckBox1",VbUnChecked) [b] VB.Net[/b] Call SaveSetting(Application.ProductName, Application.ProductName, "CheckBox1", values) Abive SaveSetting is rite or not??? Secomdly. what is the code gor GetSetting???

Software Development vb.net
Member Avatar for iSoftware
0
1K

The End.