43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for aadi_capri

hello folks, can any one please tell me what software can me downloaded to make my own .swf files. i.e flash files........ thank you

Software Development flash vb.net
Member Avatar for NetJunkie
0
165
Member Avatar for Max Hydes

hi people I have a project that requires me to use time.h in animation. can anyone show me a simple code of animation using time.h???

Software Development c c# c++
Member Avatar for Max Hydes
0
896
Member Avatar for lastbencher

What is %u and how and where can we use it?

Software Development c
Member Avatar for lastbencher
0
145
Member Avatar for BaldingEar

Hi guys. I am getting the error: LoanProgram.java:17: variable payment might not have been initialized payment = getPayment (amount, rate, years, months, payment); I am stumped, and the lab is due tomorrow. If anyone could help me out I would greatly appreciate it. :) I'll put an asterisk on the …

Software Development java
Member Avatar for BaldingEar
0
337
Member Avatar for caut_baia

Hello.I've been looking for a free C++ compiler for windows which supports the new standard features but i had little luck so far.Does someone have any knowledge of one? Thank you in advance.

Software Development c c# c++
Member Avatar for caut_baia
0
443
Member Avatar for lastbencher

I was trying to print the location of array elements using the following code [code=c] #include<stdio.h> main() { int arr[]={10,20,30,40,50,60}; int i; for (i=0; i<6; i++) printf("%d ", &arr[i]); return 0; } [/code] Error: [B]printArrayLocation.c:7:3: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘int *’[/B] While i …

Software Development c
Member Avatar for Narue
0
173
Member Avatar for alinutzu

Hi. I have a bounded datagridview and it's work fine. I want to know if I can to add a combobox column to datagridview. Thanks for all.

Software Development vb.net
Member Avatar for riteshbest
0
175
Member Avatar for iefilec

hi. i'm doing a search option in my system where if your searching for a entry even if you didnt typed the whole word, all of the entry that contains the letters that you have typed will appear, well i really cant explain it but it goes like this if …

Software Development microsoft-access sql vb.net
Member Avatar for Mitja Bonca
0
262
Member Avatar for dospy

i really need a GOOD socket tutorial, i've followed some of them from google but they aren't complete, i know that socket programming is forked into many categories, basically i am interested blocking & non blocking sockets, synchronous & asynchronous sockets(used with select() and FD_ISSET macro etc) PS: i know …

Software Development c++ client-server socket-programming
Member Avatar for dospy
0
168
Member Avatar for Zssffssz

Ok so I want to have the user imput a name of a file to decode it. How would I do that? EX: cin>>fill ifstream in (fill)

Software Development c++
Member Avatar for limaulime
0
256
Member Avatar for adarshcu

Hi, I was preparing for SCJP 1.6 and i have the following snippet of code. [CODE]package com.self.trials3; public class Animal { public void Animal(){ System.out.println("Obviously Works"); } Animal(){ //System.out.println("Constructor"); //super();use super or this() as first line in your cons to call other //cons. this("Adarsh"); } Animal(String AnimalName){ //System.out.println("AnimalName >> "+ …

Software Development java
Member Avatar for pavanvusirika
0
153
Member Avatar for dwinn

Hello, I have produced some VBA in Access that creates a spreadsheet. I have also created an SQL query that retrieves records from an Access table. I have 48 tables (each table for a specific institution centre). I have created another bit of VBA code that creates a spreadsheet and …

Software Development vb.net visual-basic
Member Avatar for dwinn
0
141
Member Avatar for rotten69

Hi everyone; I'm working on a c# service that queries the DB and checks if the right info is available for users. It's an Airline tickets reservation system. I am not sure why my code is breaking after it gets the query and it gives an error about sqlclient.. [CODE] …

Software Development c c# c++ dataset
Member Avatar for arunkumars
0
205
Member Avatar for suraj_p

this program calculates all the prime numbers between two input numbers num1 and num2. first an array is created and num1,num1+1,......num2 are stored in that array and then all elenemts of array are scanned and if they are divisible by any odd number except itself or by 2 then 0 …

Software Development algorithm c++
Member Avatar for vijayan121
0
172
Member Avatar for ryl

The input for this program should be like this: How many tests? 4 Grade on Test 1? 95 Grade on Test 2? 88 Grade on Test 3? 80 Grade on Test 4? 96 Your average is: 89.75 <------- this is where I can't get it right, can anybody take a …

Software Development c++
Member Avatar for ryl
0
137
Member Avatar for Undertech

I have nearly finished an assignment that calls for implementing a media library. I have pinpointed my current solution for the addItem method in the library class as a memory leak, but so far I am not certain how to fix it. The addItem method I have so far is …

Software Development c++
Member Avatar for doug65536
0
2K
Member Avatar for rarment

I'm having a severe brain drain moment and can't figure out how to validate user input? I need to make sure that it is an int and it is greater than 2. And I need it to loop until the user meets those requirements. I tried a try-catch block but …

Software Development java
Member Avatar for rarment
0
205
Member Avatar for MUNAM BIN TARIQ

[CODE]#include<iostream.h> int main() { int num,j,c=0,limit,i,k; int*freq=new int[]; int*munam=new int[]; cout<<"How many times u want to enter the numbers\n"; cin>>k; cout<<"tell ur range in which u will enter\n"; cin>>limit; for( i=0; i<k; i++) { cout<<"Enter number\t"<<i+1; cin>>munam[i]; if(num>limit) { cout<<"invalid num"; return 0; } for( j=0; j<limit; j++) { freq[j]=0; …

Software Development c++
Member Avatar for MUNAM BIN TARIQ
0
93
Member Avatar for zack_falcon

I'm not sure how to describe this in the title, so it may be misleading. Basically, I want to change the image of a LOT of buttons. And when I say a lot, I mean 93 of them. So obviously, this approach: [CODE]btnSinglePlay.BackgroundImage = Image.FromFile(buttonN);[/CODE] would take too long, since …

Software Development
Member Avatar for zack_falcon
0
194
Member Avatar for murnesty

if i declare size 5 array [CODE]char ch[5]={'1','2','3','4','5'};[/CODE] Then the null will store at the address ch+5 ? even i didn't declare the size for the null to place. If so mean it may overlap value on that memory address?

Software Development c++
Member Avatar for NP-complete
0
164
Member Avatar for nick6987

Design a cashier change maker that will take as input: a floating point value. Value: "change due" and will convert it to proper currency (from $20 down to pennies) amounts to be handed as change to the customer i am not sure how to use the rounding correctly every time …

Software Development java
Member Avatar for nick6987
0
217
Member Avatar for Jollyyy100

Hi i'm doing a project and i need help. I'm designing a system, whereby am unable to use 2 different login authorities, which are Admin and Non-Admin. I am using VB.NET and Ms. Access and need help for the codes. I want something like, if i click on admin/non admin …

Software Development vb.net
Member Avatar for maccinelyro
0
881
Member Avatar for dragon_chick

Hi all. I'm writing a program to explain and verify the birthday paradox. I am generating 1000 sets (only 10 to test with) of birthdays, checking for matches, then displaying the results. I'm using srand to seed my generator and rand() to get 23 sets. The problem is 2-fold. 1) …

Software Development c++
Member Avatar for dragon_chick
0
415
Member Avatar for gahhon

is possible to work of return statement with Math Class? eg, [CODE]return Math.pow(2,2);[/CODE]

Software Development java
Member Avatar for gahhon
0
149
Member Avatar for dospy

when you want to decript a program's protocol how do you do it? you use an packet listener(eg. WireShark) and try to figure out what each packet means? is this the only solution? cuz it seems to me like a lot of hard work, is there anything to make this …

Software Development c++
Member Avatar for dospy
0
191
Member Avatar for lastbencher

The following code is given in my Data Structure reference book. [code=c] #include<stdio.h> main() { int i, *pi; float f, *pf; pi = (int *) malloc(sizeof(int)); pf = (float *) malloc(sizeof(float)); *pi = 1024; *pf = 3.14; printf("an integer = %d, a float = %f", *pi, *pf); free(pi); free(pf); } …

Software Development c data-structure
Member Avatar for lastbencher
0
156
Member Avatar for Shodow

can u help me convert the cout to printf..i dont have a clue how.. tnx [CODE]#include<iostream.h> #include<string.h> #include<conio.h> int findSimilar(char[],char[]); void checkValue(int,int); int main(){ char boy[50]; char girl[50]; int similarInBoy=0; int similarInGirl=0; int total; clrscr(); cout<<"Enter Boy's Name: "; cin.getline(boy,50); cout<<"Enter Girl's Name: "; cin.getline(girl,50); similarInBoy=findSimilar(boy,girl); similarInGirl=findSimilar(girl,boy); total=similarInGirl+similarInBoy; cout<<"Boy: "<<similarInBoy<<","; …

Software Development c c++
Member Avatar for Narue
0
556
Member Avatar for lastbencher

This code is not running. i'm using gcc [code=c] #include<stdio.h> int main() { struct book { char name[10]; float price; int pages; }; struct book b[5]; int i; for (i=0; i<5; i++) { printf("Enter name, price and pages\n"); scanf("%c %f %d", &b[i].name, &b[i].price, &b[i].pages); } for (i=0; i<5; i++) printf("%c …

Software Development c
Member Avatar for lastbencher
0
126
Member Avatar for Mi_99

So my title was meant to be array not loop I need to create an application that will generate random spots so far my work is this [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; import java.util.Random; public class Shape{ private int x; private int y; private int width; private …

Software Development java java-swing
Member Avatar for JamesCherrill
0
203
Member Avatar for Shodow

[B]BEFORE[/B] [IMG]http://www.daniweb.com/forums/attachment.php?attachmentid=22439&d=1317523788[/IMG] [CODE]#include<iostream.h> #include<string.h> #include<conio.h> int findSimilar(char[],char[]); void checkValue(int,int); int main(){ char boy[50]; char girl[50]; int similarInBoy=0; int similarInGirl=0; int total; clrscr(); cout<<"Enter Boy's Name: "; cin.getline(boy,50); cout<<"Enter Girl's Name: "; cin.getline(girl,50); similarInBoy=findSimilar(boy,girl); similarInGirl=findSimilar(girl,boy); total=similarInGirl+similarInBoy; cout<<"Boy: "<<similarInBoy<<","; checkValue(similarInBoy,1); cout<<"\n"; cout<<"Girl: "<<similarInGirl<<","; checkValue(similarInGirl,2); cout<<"\n"; cout<<"Total: "<<total<<","; checkValue(total,3); cout<<"\n"; getch(); return 0; …

Software Development c
0
65
Member Avatar for cdn88

I have an issue that's really confusing me... Below I am calling an initialize function: [CODE] void Initialize (List *L) { char* initialize = "initialize"; int i; for (i=0; i<MAXLISTSIZE; i++) { strncpy(L->items[i].name,initialize,MAXNAMESIZE); L->items[i].name[MAXNAMESIZE - 1] = '\0'; L->items[i].grade = 0; } L->count = 0; } [/CODE] And it seems …

Software Development c storage
Member Avatar for gerard4143
0
1K
Member Avatar for rockout15

can anyone help me... the problem is that i want to hide a form when i click the button log out and show the log in form since you just log out and not close the form. but it does not happen... here's my code... [ICODE]using System; using System.Collections.Generic; using …

Software Development
Member Avatar for rockout15
0
125
Member Avatar for funwidak

Hello, I have recently joined a orgainization as a [B]Java Engineer Trainee([/B]0 Years of Experience) and working on a project(80% ABAP people are working on project) in mainteance from last 2-3 Years. The Work in the project is of basically in ABAP and [B]Core Java[/B] (Only Basic Java code is …

Software Development java
Member Avatar for peter_budo
0
249
Member Avatar for sidyusuf

hi...i m again here... i have a datagridview on a form which contains studentname (in alphabetical order) and a blank rollno field according to the particular class.Now what i m suppose to do is to assign roll no on button click, starting from first student to last student. Roll no …

Software Development vb.net
Member Avatar for sidyusuf
0
243
Member Avatar for Prasadbabu

Hi Friends, I created one database like credit card statement. Purchases all in one table. Debited all in another one table. I am trying to link two tables using with inner join. But its repeating the data depending on purchases record count. Table1 = Purchases Table2 = Received [COLOR="Green"]SELECT * …

Software Development visual-basic
Member Avatar for Prasadbabu
0
405
Member Avatar for JoshuaBurleson

Early this morning, and I haven't a clue how this slipped by me, I learned about the Android SDK and Python for Android, I did a little research, it's very intriguing. Has anybody worked with this at all? Do most built in libraries and modules work for it? How do …

Software Development android-development gui python
Member Avatar for JoshuaBurleson
0
365
Member Avatar for maverick420

[TEXT]I'm trying to write an application that will input five numbers from the user. The program should print out the largest and smallest numbers. It should print how many of the numbers are two digit and how many of the numbers are three digit. It should also print out the …

Software Development java
Member Avatar for peter_budo
0
254
Member Avatar for gahhon

as we know the code of scanner is like this, [CODE] ... Scanner scan = new Scanner(System.in); System.out.print("something is something: "); [COLOR="Red"][type] [variable name] = scan.next();[/COLOR]... [/CODE] so here is my problem, how can we scan char type?

Software Development java
Member Avatar for stevanity
0
90
Member Avatar for torbecire

I am using an assembly compiler to try and print the first 12 numbers. I have succeeded in adding, but it won't print some of the numbers. I want. 1 1 2 3 5 8 13 21 34 55 89 144 BUT GET. 1 2 5 13 34 89 233 …

Software Development assembly
Member Avatar for ynahneng
0
16K
Member Avatar for Raja Pandiyan

Hi, this will work in Edit button click,Getting values from combobox and given input to query.Oprdgv is my Datagrid. I got the error Like, "unable to cast the type 'system.int32' to type 'system.data.datatable" [CODE] Private Sub EditButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EditButton.Click Dim mcode As String …

Software Development vb.net
Member Avatar for peter_budo
0
297
Member Avatar for fullarmorzz

[CODE]#include<stdio.h> #include<conio.h> main() { char c; printf("Enter the code for the chart: \n"); do { scanf("%c",&c); switch (c) { case 'A':printf("Area Chart\n");break; case 'B':printf("Bar Chart\n");break; case 'U':printf("Bubble Chart\n");break; case 'C':printf("Column Chart\n");break; case 'N':printf("Cone Chart\n");break; case 'Y':printf("Cylinder Chart\n");break; case 'D':printf("Doughnut Chart\n");break; case 'L':printf("Line Chart\n");break; case 'I':printf("Pie Chart\n");break; case 'P':printf("Pyramid Chart\n");break; case …

Software Development c
Member Avatar for ashok1514
0
133
Member Avatar for Marissak

The question I'm trying to answer is: Write an object oriented C++ program to translate an infix expression to postfix. I have done much of it but after I debug the only output is "Postfix:" and I cannot figure out why. This is my code so far: #include <iostream> #include …

Software Development c++
Member Avatar for GouseKSyed
0
234
Member Avatar for J-Dub

I am trying to build an animation. It just has two pictures or scenes. I want it to start at one picture and end at another. When I run my project all I see is a blank screen. I have checked and made sure that my Image paths are correct. …

Software Development image java java-swing video-card
Member Avatar for J-Dub
0
192
Member Avatar for Zssffssz

Ok I know the basics of ofstream and ifstream but it seems as if every tutorial on it leaves this out. How do I delete files in c++ console app. Reason? I want to use a temporary file in my app for transferring betting two programs that open and to …

Software Development c++
Member Avatar for NetJunkie
0
182
Member Avatar for Fireprufe15

I want to save the contents of my richedit to a plain text file. With my current code, only a partial of the richedit's text ends up in the plain text. Could you please tell me what's wrong with my code: [CODE] var fSave : TextFile; begin AssignFile(fSave, dlgSave.FileName + …

Software Development pascal
Member Avatar for AceStryker
0
2K
Member Avatar for knightofsoshi

[CODE] void customer (struct data *cust1); void menu(); void printReceipt(struct data *cust1, float &balance); struct data{ char name[20]; int accno; }cust, *cust1;[/CODE] above is an excerpt from my completed c++ program. my c++ coding is running well and i dont have a problem with it, but i am required to …

Software Development c c# c++ pascal
Member Avatar for AceStryker
0
247
Member Avatar for cdn88

I would like to access the name field from the array items and print the name but I am having trouble. I created a pointer 'L' in callInitialize and set it to the upper struct type List which I named 'studentList'. [code] int callInitialize () { /*Initialize a List*/ List …

Software Development c
Member Avatar for cdn88
0
78
Member Avatar for cdudefire

I have been ok so far but now I am having a problem with counting the amount of time that cars spend in the lot during the day and counting the total cost at the end of the day. Any pointers in the right direction would be helpful. Here are …

Software Development c
Member Avatar for cdudefire
0
458
Member Avatar for minimi

I'm writing a reverse Polish calculator. If the input is 1 2 - 4 5 + *, the output should be 9, but I'm getting -9. Does anyone see where the problem lies? Thanks! [CODE]#include <stdio.h> #include <stdlib.h> // for atof() #include <ctype.h> /* denifitions for main() */ #define MAXOP …

Software Development c
Member Avatar for WaltP
0
262
Member Avatar for NewbieXcellence

Hello everybody! I'm trying to produce a timestamp (system time) in windows (Python 2.7) with resolution equal to or better than microseconds. Calling time.time() repeatedly in a loop it appears it only updates in approximately 0.01 second increments. Using datetime.datetime.today() seems to show similar results. Anybody have a possible way …

Software Development python
Member Avatar for NewbieXcellence
0
503

The End.