132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shiman999

hi everbody.. its really a challenge to write a virus program but eventually we should not harm anty bodys computer.. we should learn virus programming becoz we can write an anti virus for it. if we know how the virus programs are written and defnitly we can built an anti …

Software Development assembly
Member Avatar for Ancient Dragon
0
81
Member Avatar for Marks256

As you probably have already read, i am new to c/c++. I have a simple little question, as i am not sure what happens in c/c++. If i were to start using Visual C++ Express 2005, would some of that knowledge work with something that is not visual? I know …

Software Development c++
Member Avatar for WaltP
0
146
Member Avatar for Noora

hey everyone.. Im new to this website and I really like it a lot:p I would like to ask you please to help me with the following assignment.. OC Transpo is doing a survey of its service. They have had somebody record the times at which #95 busses pass the …

Software Development c++
Member Avatar for John A
0
119
Member Avatar for ankit_the_hawk

I am going to start off with Java, already knowing C/C++ So i needed to know which compiler should i download for the purpose of programming on Java ( for the Windows platform). (which consists of the editor, compiler,etc.) I need something i can download from the internet like Dev …

Software Development java
Member Avatar for aniseed
0
156
Member Avatar for stan yost

How can I run some code when I click on an arrow of a data control?

Software Development visual-basic
Member Avatar for stan yost
0
81
Member Avatar for flageolet

The code below works for the first question (first half of the code), the program then proceeds to the second questin, but it never stops to await the answer. I can't seem to figure out what I'm doing wrong? Thx [code] #include <stdio.h> using namespace std; char answer; int main(int …

Software Development c
Member Avatar for flageolet
0
221
Member Avatar for donaldunca

I have a question: I create a file named "number.inp". This file has a row of numbers: 5 4 4 3 3 3 2 note: 5 is the first number, haven't any space or char in front of 5 [CODE] #include<stdio.h> #include<conio.h> #include<stdlib.h> main() {clrscr(); int ch,v[10],count=0,i=0,j=1,n=0,a[10]; FILE *f; f=fopen("number.inp","r"); …

Software Development c file-system
Member Avatar for donaldunca
0
100
Member Avatar for ankit_the_hawk

I wanted you people's point of view on this project I made in C++ sometime back...I would be glad to recieve comments from anyone and everyone...Pls do check it out...So that I can know the quality of my project

Software Development c++
Member Avatar for ankit_the_hawk
0
116
Member Avatar for Mushy-pea

Hello everyone. Is it allowed to have a "use" statement inside an eval that is compiled separately to the enclosing program (i.e. eval EXPR, not eval BLOCK). The reason I want to do this is, I have modules of code that I don't want to be compiled every time my …

Software Development perl
Member Avatar for MattEvans
0
140
Member Avatar for sneekula

I keep reading threads here, some use the Tkinter GUI toolkit and others use the wxPython GUI toolkit. Why would one use one or the other?

Software Development gui python tkinter
Member Avatar for sneekula
0
1K
Member Avatar for Katrin

:!::!::!::!: I have an Assignment and Iam very new In [COLOR=DarkRed][U][B]JAVA LANGAUGE [/B][/U][/COLOR] , Anyways I need some help if someone can help me i will be very thankful, really i need it !!! :?: I need a code in Java , that maked a [U][B]SMall[/B][/U] program , that let …

Software Development email java
Member Avatar for jwenting
0
106
Member Avatar for pallavimahjan

Hi i am facing this problem, please help me in my korn script ------------------------------------------------------------- export $job_ids echo "#Message creation" >message-typing.typ chmod 777 message-typing.typ echo "orderParser:1:999:210:T" >>message-typing.typ echo "*REQUEST=FLOWTHRU;[B]JOBID=${job_ids}[/B];OLD_DD=20050629000000;%" >>message-typing.typ cat message-typing.typ ------------------------------------------------------------- Now the job_ids is a variable consisting of job id, and if u see i have exported this …

Software Development shell-scripting unix
Member Avatar for pzwcsx
0
102
Member Avatar for skol10

I have already turned this so my grade will off anyway but I just need to know. I cannot get the right figure for this calculation, here is what I have and it gives me the wrong calculation of 7178. when its supossed to be 1167. Any help would greatly …

Software Development java
Member Avatar for skol10
0
206
Member Avatar for khoramdin

[COLOR=#000000]Hello everyone,[/COLOR] [COLOR=#000000]I wish to develop an application which can be downloaded from WEB to user's PC (With the KNowledge of the users) and then it creates some soft of interaction with the hardware device of the user's computer. I basically wish to know when the CD/DVD player has been …

Software Development c++
Member Avatar for khoramdin
0
123
Member Avatar for edek

Would you be so kind and tell me what does ^ symbol mean in definition of object, example: [code]class ^Object[/code] Thanks in adv

Software Development c++
Member Avatar for Ravalon
0
952
Member Avatar for inxs_vf

hi!! i need the code for 32 bit multiplication... The numbers are in IEEE 754 and it won't be needed to deal with over and underflow cases, and when the exponent is 0000000 or 11111111. thanxx in advance ;P

Software Development assembly
Member Avatar for MacGyver Orca
0
388
Member Avatar for Covinus

--------------------Configuration: <Default>-------------------- C:\Documents and Settings\mykel\Desktop\auto.java:4: unexpected type found : char required: reference Set <char>setAlpha = new HashSet<char>(); ^ C:\Documents and Settings\mykel\Desktop\auto.java:4: unexpected type found : char required: reference Set <char>setAlpha = new HashSet<char>(); ^ 2 errors how come i cant cast a char on a set??? it works well with …

Software Development java
Member Avatar for jwenting
0
205
Member Avatar for shiman999

i have written a small application in vb, and i want to write a installation program, so as if we click on setup file my application should start installing, and even i want to detect other hard drives that exsits on the system and want to copy the application backup …

Software Development visual-basic
Member Avatar for jbennet
0
102
Member Avatar for jd_1604

O.K. Ive compiled my program for debugging. I really don't know where to start looking. My program consists of two blocks of source code (Robotmoves.cpp and Character.cpp) and one header file (Character.h) Once I have compiled and attempted to run the program the error tells me my Robotmoves.EXE had triggered …

Software Development c++
Member Avatar for Salem
0
97
Member Avatar for Matt Tacular

In python if I divide 6/3 I get 2, that's fine. But I divide 6/4 and get 1... Why aren't I getting a decimal? I would like to know because I want to make something that can detect wether or not a number is whole. (I need help with that …

Software Development python
Member Avatar for Matt Tacular
0
108
Member Avatar for parthiban

Hi all, I have download Apache POI(2.5.1) to convert a Excel file to XML using NetBeans5.0 . After Unzipping i got three Executable JAR files 1.poi-2.5.1-final 2.poi-contrib-2.5.1 3.poi-scratch-2.5.1 Please tell what steps i have to do to install it (or) just it's enough to just point out that JAR files …

Software Development apache java xml
Member Avatar for parthiban
0
509
Member Avatar for jd_1604

Hello all. I have been trying to run a program on my VC8 compiler which incorporates the Allegro enviroment. It enables users to move a small robot.bmp image around the screen by using the arrow keys. Problem is I get my main window up and first animation frame displayed, but …

Software Development c visual-studio
Member Avatar for Ancient Dragon
0
236
Member Avatar for covertx

Hey all, I'm trying to split a string of characters and after a day of trying every possible way of splitting a string into groups of 7, I'm still hopelessly stuck! Bascially, the user enters/pastes a string into "txtArea" (the first text box), then click an encrypt button... the program …

Software Development
Member Avatar for plazmo
0
95
Member Avatar for bosko

Hi all! I have some biginner question: I've started to learn C from the Kernighan&Ritchie book, using Pelles C compiler. Why this code (from the book) dont work: [code=c] #include <stdio.h> /* count characters in input; 1st version */ main() { long nc; nc = 0; while (getchar() != EOF) …

Software Development c
Member Avatar for ~s.o.s~
0
124
Member Avatar for theflier13

Hey, I am in the process of writing a program that stores a integer entry into an array where each element in that array directly corresponds to a date on the calendar for that month. I think I have my code working, or at least almost working. My problem comes …

Software Development c++ google
Member Avatar for Ravalon
0
234
Member Avatar for jdk1.5

Hello everyone i m having three swings textboxes mm.dd.yyyy i want a simple code for validating date & leap years plz help me

Software Development java
Member Avatar for peter_budo
0
60
Member Avatar for rpjanaka

hi all, i want to know about simple java concept, public class Operator{ //this is a bean class and there is a method to insert object of this class, into the database. public int saveObject(Operator _operator){ //here are codes for insert the given object in the database. }//end of the …

Software Development java
Member Avatar for aniseed
0
110
Member Avatar for jorritgoddijn

hi, i need to insert a character in a certain text file. i cannot change the original files so i have to work with that, luckily the files are written in a way that at the end of every second line a semicolon ; has to be inserted. How can …

Software Development shell-scripting
Member Avatar for jim mcnamara
0
96
Member Avatar for bucci

hi experts, i'm new on scripting on sun solaris 8 sparc, need some advices. i have some data in a file like : 20061221 163826.485 20061221 163925.144 058.659 6123456789012 00000E8A 047 08 002 465 00010022 510105642138069 20061221 163915.163 20061221 163925.336 010.173 6123456789012 00000F4F 037 02 002 999 00010022 510103242202784 20061221 …

Software Development shell-scripting
Member Avatar for jim mcnamara
0
153
Member Avatar for amirwan

hi may be i ask this question befor but i did not get a good reply. i want a socket library that help me to send and recieve packet and deal with them simply like PacketX library. but the problem here is that the application that i want to write …

Software Development c++
Member Avatar for Ancient Dragon
0
364
Member Avatar for cusado

im writing a program that opens a file, reads until it arrives at a colon, then jumps over the colon and reads the number after the colon the txt file contains pi:3.14159 feetPerMile:5280 0FinDegreesC:-17.8 Count these words:3 Space before number: 2.0 What about comments: 6.024e23 so i want to skip …

Software Development c
Member Avatar for Lerner
0
126
Member Avatar for Jishnu

I have seen that writing anything after the completion of any pre-processor compiler directive does not affect either compilation or running of the program. i.e. #include<conio.h> 123as!#@ #define M 100 *&^asdf is perfectly valid. How can such athing happen ?

Software Development c
Member Avatar for Ancient Dragon
0
137
Member Avatar for amitc

hey friends, I m in a process of automating Sudo test plan, where i need to invoke another shell within a shell automatically, then need to append a line into that script in sub-shell, then save it and quit from it..all automatically. I m able to do evrything but not …

Software Development shell-scripting
Member Avatar for ghostdog74
0
122
Member Avatar for flageolet

Why won't the 'luck' function get executed? Pasting the code of my tutorial in my compiler creates the exact same error as the little test code below: 'luck' undeclared. First use this function. I use dev c++ Thx ;) [code] int main() { printf("hellow (printed in main)\n"); luck(); return 0; …

Software Development c++
Member Avatar for flageolet
0
122
Member Avatar for flageolet
0
73
Member Avatar for flageolet

hi these are some variables: [code] struct TIJDSTIP { int dag; int beginuur; int operatiekamer; }; struct ALLE_PATIENTENDATA { int nummer; char naam[20]; struct TIJDSTIP tijdstip ; int leeftijd; int discipline; }; [/code] first I only fill: nummer, naam, leeftijd and discipline (so the main strucure) using scanf. example: [code] …

Software Development c++
Member Avatar for flageolet
0
117
Member Avatar for jaden403

I am trying to write a recursive function that will produce a fractal snowflake, but am not getting the correct results. For some reason it gets caught in an infinte loop, but I cannot figure out why. Any help is appreciated. [code] [COLOR=#941edf]private[/COLOR] [COLOR=#941edf]void[/COLOR] recursiveDraw([COLOR=#941edf]double[/COLOR] x1, [COLOR=#941edf]double[/COLOR] y1, [COLOR=#941edf]double[/COLOR] x2, …

Software Development java
Member Avatar for jaden403
0
101
Member Avatar for parthiban

Hi all, I download JOnAS 4.8.4-tomcat5.5.17, APACHE Ant 1.7.0 and installed by setting JONAS_ROOT and ANT_HOME. When i check the environment using "jonas check" I'm getting following message [B]" The system cannot find the path specified. The system cannot find the path specified. JONAS_BASE is set to '-Dinstall.root' is not …

Software Development apache java
Member Avatar for parthiban
0
85
Member Avatar for wandie

I have a program that displays its results in this manner. I added the results in an array this is what I got. [code] [20] [35] [40] [84] [100] [245] [260] [300] [440] [521] [650] [/code] How can I put it in this way ['20','35','40'] i used append but it …

Software Development python
Member Avatar for ghostdog74
0
161
Member Avatar for Sp!ke

I'm learning Java right now, and one of the projects I've been working on as practice lately is just a simple text editor (using Swing). The one thing, though, that I can't for the life of me figure out, is how to add scroll bars to the text box if …

Software Development java java-swing
Member Avatar for iamthwee
0
275
Member Avatar for hoosier23

I have a spreadsheet that has many rows and columns of data. Also, 20 fields need to be evaluated with around 15 variables. If I were to create a program that filters this data and finds the lowest cost option, how would I go about doing that? I have heard …

Software Development vb.net
Member Avatar for iamthwee
0
103
Member Avatar for MarkWalker84

Hi everyone! Im stuck... I'm currently writing a GUI program to control a piece of machinery. I am using wxPython along with a few other bits and bobs including USPP for serial access. My problem is that i need some way of 'pinging' the machine. ie I want to be …

Software Development gui python
Member Avatar for bumsfeld
0
81
Member Avatar for Jaseva

I am doing a project for my VB.NET class and I am a complete beginner, so please go easy on me :) I have a windows form that will collect information from a user. When they click a button, I want to display all their information in a completely new …

Software Development display vb.net
Member Avatar for Dukane
0
110
Member Avatar for fesago90

Aright, now all of you might be tired of my sometimes info-lacking posts about binary files. ... but I have another quick question: How do I write and read a double in a binary file? Code as simple as the following does not work (which is the usual code for …

Software Development c++ ios
Member Avatar for Ravalon
0
5K
Member Avatar for !=logical not

Does anyone know how to make a console application open in fullscreen mode...Iv searched google,yahoo,MSDN, and other fourms and there was no specific C++ code for a console app fullscreen mode...Does anyone by anychance have an Idea on how to go about this?? :mrgreen:

Software Development c++ google
Member Avatar for bops
0
2K
Member Avatar for gabs

hey people!! how are you all? I need some help here: 1) is there any way easyer to do this: [code] [COLOR=#008080][COLOR=#008080]DataSet[/COLOR] DS = [COLOR=#0000ff]new[/COLOR] [COLOR=#008080]DataSet[/COLOR](); [COLOR=#0000ff]foreach[/COLOR] ([COLOR=#008080]DataTable[/COLOR] t [COLOR=#0000ff]in[/COLOR] DS.Tables) [COLOR=#0000ff]foreach[/COLOR] ([COLOR=#008080]DataRow[/COLOR] r [COLOR=#0000ff]in[/COLOR] t.Rows) [COLOR=#0000ff]foreach[/COLOR] ([COLOR=#008080]DataColumn[/COLOR] c [COLOR=#0000ff]in[/COLOR] t.Columns) CBx.Items.Add(r[c]); [/COLOR][/code] 2) how can you order a combobox …

Software Development dataset
Member Avatar for Aun Muhammad
0
119
Member Avatar for mailsteam

[CODE]#include<stdio.h> void myalloc(int **b) { *b=malloc(sizeof(int)); **b=10; printf("**b=%d\n",**b); } main() { int *a; myalloc(&a);// is this convention is correct? printf("*a=%d\n",*a); }[/CODE] i have not initialised *a. can i pass the &a(address of a pointer) without initialising it. Please look at my small program and help me out. is it a …

Software Development c
Member Avatar for mailsteam
0
80
Member Avatar for d1e9v85

[CODE] #include <iostream> using namespace std; #include <string> using std::string; using std::getline; int main () { char string1[256]; char string2[256] ; cout << "\nPlease enter the first array string: \n"<<endl; gets (string1); cout << "\nPlease enter the second array string: \n"<<endl; gets (string2); int length1 = strlen( string1 ); int …

Software Development c++
Member Avatar for Nick Evan
0
109
Member Avatar for mgland

I have a project that I am working on for 5 days, and I am stuck. I have been able to generate some numbers, but no based on the instructions below. Can you please provide some assistance on what I missing and what I need to do to get this …

Software Development java
Member Avatar for aniseed
0
168
Member Avatar for madrasparty

hello currently i have joined in a software company in bangalore. i have knowledge in jsp and servlet. in my company core java is needed. i dn have tat much knowledge in java . kindly help me to get source code from online. wat r the websites available. how to …

Software Development java java-jsp
Member Avatar for masijade
0
111

The End.