132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rutuja

Hi, I have many applets in my application and for loading applets it takes too much time! I found that for adding panel to container it takes 4-5 sec. My question is that how can I reduce this time? or Is there any alternative way by which my applet will …

Software Development java
Member Avatar for server_crash
0
255
Member Avatar for koolhead17

HEY EVERYONE THERE I WUD LIKE U TO TELL THT FUTURE IS "python" everythin is "python" atleast 4 those who hates writin in creepin c,c++ programmin languare which is error prone

Software Development python
Member Avatar for vegaseat
0
156
Member Avatar for missdiva
Member Avatar for vegaseat
0
230
Member Avatar for davejigsaw

I am having trouble undestanding this code, can someone please help. I dont understand what the for loops do also. [code] void Merge( long array[], long left, long middle, long right ) { long i, j; long temp[MAX_ARRAY_SIZE]; for( i = middle + 1; i > left; i-- ) temp[i …

Software Development c c# c++
Member Avatar for Ghost
0
131
Member Avatar for missdiva

can you direct me to a java tut. I learn better by reading

Software Development java
Member Avatar for yassar
0
279
Member Avatar for Prahaai

Related to my game again, i want to choose my options by typing the command. Yet, i am in a big difficulty, because switch() only accepts numbers, or it accepts one letter. Everyone knows how switch works, i dont think i need to give an example. Anyway, i will post …

Software Development c++ first-post
Member Avatar for Dogtree
0
177
Member Avatar for usausa

I am trying to search for files in Directories. like, i have 10 directories..... and consider directory 1, which has 2 files.. this is same with all the files... i want to get a string from each of these files from 10 directories... to be written to a seperate file, …

Software Development c++
Member Avatar for vegaseat
0
460
Member Avatar for Prahaai

I have this game skeleton. Now, as you can see, it is working, but when i choose something first time, i have to type it TWICE to make it work. It doesn't matter if i choose Status, Score, or Battle, or Flee, the result is the same: i have to …

Software Development c++
Member Avatar for Prahaai
0
177
Member Avatar for Ghost

Hi everybody, I followed the Invaders tutorial and I'm trying to make it into an exe file. I have JBuilder 9 and I tried the "Native Executable" tool and it just opens up the program and closes it. Any help would be appreciated. Thanks in advanced, C++

Software Development java
Member Avatar for nanosani
0
463
Member Avatar for vhinehds

Hello guys, its me again... regarding the graph control for VB6, how can i use it like...where to start, where to get it? because i want to try a graph representation for a numeric data. and lastly, is it possible to print its results? thanks a lot.

Software Development visual-basic
Member Avatar for vhinehds
0
101
Member Avatar for vhinehds

Hello everyone... 1. is there a way for me to connect to LDAP? 2. if there is...how will my connection string will be? 3. how can i make a combo box with multiple columns? your replies and help will be a great relief. Thanks a lot.

Software Development visual-basic
Member Avatar for vhinehds
0
125
Member Avatar for azkabancells

I am undertaking a project but am hopelessly stuck. :cry: I have trawled the net, read books and followed tutorials but I just can't move forward. I would be really grateful if someone could help. I need to create a sequential name and address file with the following options: open …

Software Development visual-basic
Member Avatar for azkabancells
0
272
Member Avatar for riturajraina

Hi Friends, Can anyone tell how to change the attributes of a directory through C or C++. I have tried to found in my compiler's help file but it was showing the method to change the file attributes but not the directory's. I want to change the attributes of a …

Software Development c++
Member Avatar for boggsi
0
436
Member Avatar for hemanth.balaji

Hi people, I am doing a project for my college. I am doing the UI part using Win32 Api. I am learing wuite a lot from various tutorials available on the net. I am through with most of the GUI but only get stuck when resizing of controls is required. …

Software Development api c gui
Member Avatar for hemanth.balaji
0
151
Member Avatar for t3bruce

Can anyone suggest books that can help a first time C++ student. ;)

Software Development c++
Member Avatar for t3bruce
0
162
Member Avatar for silkfire

I'm developing a small database application that can add records to a file, but also modify them in a few ways. It keeps the records in a temporary object of my class PersonInfo. The problem now is that it doesn't want to display things correctly, it seems to only be …

Software Development c++ display file-stream
Member Avatar for silkfire
0
188
Member Avatar for Bud4java

Greetings to all, Thanks to all the readers, posters, and moderators for their assistance and guidance this past semester. I am, by no means or stretch of the imagination, a programmer. I majored in Information Systems and have a networking background, but my degree called for some programming exposure. I …

Software Development java
Member Avatar for server_crash
0
134
Member Avatar for Prahaai

/*I used and modified a piece of code i found in here and my main(){} looks like this:*/ [code]int main() { HANDLE hConsole; char welcome_l1[100]; char welcome_l2[100]; char welcome_l3[100]; char welcome_l4[100]; unsigned short k=120; hConsole = GetStdHandle(STD_OUTPUT_HANDLE); ifstream file("ver"); file.getline(welcome_l1, 100); file.getline(welcome_l2, 100); file.getline(welcome_l3, 100); file.getline(welcome_l4, 100); SetConsoleTextAttribute(hConsole, k); cout<<welcome_l1 …

Software Development c++
Member Avatar for Dave Sinkula
0
220
Member Avatar for jean

I really need some help to finish my assignment which is due 2005/05/23 I have the other header and c files but i need to do some more work ........if u can help me i would be very greatful plzzzzzzzzz this is the code that follows for exptree.c #include "exptree.h" …

Software Development c
Member Avatar for Dogtree
0
122
Member Avatar for dejaz

hi guys, i am stuck... we have to show wats in a file.... then at the end show the grand total of the Profits .. heres the report func.... [code]void report() { struct Prods ssg; double prof; FILE *f; f = fopen("data.dat","rb"); printf("\n\n\n==============================================================================\n"); printf("Prod# Type Description Qty Cost Price Profit\n"); …

Software Development c c# c++
Member Avatar for dejaz
0
251
Member Avatar for Tetsu

I'm running into to this problem where the fstream is suppose to read data off a file to store in arrays. I cant continue with my project until the program reads it right. It is skipping some of the datas. Can I get a little help? Thanks in advance [CODE] …

Software Development app-store c++ display ios
Member Avatar for Tetsu
0
472
Member Avatar for kisseric

Hi Folks, I am new to Daniweb and new to C++. I will appreciate any help I can get.

Software Development c++
Member Avatar for kc0arf
0
85
Member Avatar for sydneyrustle

hey guys i'm hopeless with java can someone help me out ?? i am using three classes for my program the following two and a ClientUI class this is the menu in my client 1. Add a new item to the collection 2. Load some items into the collection 3. …

Software Development display java
Member Avatar for NPH
0
149
Member Avatar for moktod

I have two files containing users, but the lists differ. My goal is to take all the users in file1 and remove them from file2. What would be a simple method for completing this? -moktod

Software Development shell-scripting
Member Avatar for Comatose
0
189
Member Avatar for cspikes

I am a new c++ student trying to write code....please help..... I have a telephone entry Name has at most 40 charachters Seven digit number I want to be able to tell the number, name and reset name for name changes and reset the # if a person moves .

Software Development c c# c++
Member Avatar for Dogtree
0
139
Member Avatar for dummy00

java program help.. anyone pls? i have no idea on this.. im a n00b in java Create a program that will input number in decimal number system & convert it to the number system which the user entered Sample Output: Input number in decimal number system (base 10): 25 Convert …

Software Development java
Member Avatar for server_crash
0
230
Member Avatar for callow

ive been trying to figure this out for hours, and would appreciate any help. im clumsy with java, have only really had c++ experience and am at a bit of a loss trying to figure out GUI's, my problem goes like this..... basically i need to create different frames or …

Software Development gui java java-swing
Member Avatar for callow
0
222
Member Avatar for sydneyrustle

hi all, just looking for some help with setting up an array of items for a stocktake program. i have an item class that works, and now i need to create an array to hold an array of the items. the item class code is class Item { private String …

Software Development java
Member Avatar for yassar
0
120
Member Avatar for t3bruce

[code]using dice std; # include <cstdlib> int dice( ) { int. random_ interger = rand ( ) cout << random_ interger << end 1 }[/code]<< moderator edit: added [url=http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#code][co[u][/u]de][/co[u][/u]de][/url] tags >> . Write the member function definitions for each function listed: 1. Object Type: a pair of dice Knows: The …

Software Development c++
Member Avatar for Dave Sinkula
0
180
Member Avatar for hzuniga4

For some reason the code is not printing the error string in the output screen of the operating system. Go figure? This code is directly out of the book. [code]#include<iostream.h> #include<fstream.h> #include<stdio.h> #include<stdlib.h> #include<conio.h> ofstream fileout; ifstream filein; void main() { char file[20]; //you must type in filename and extension …

Software Development c++ ios operating-system
Member Avatar for Catweazle
0
127
Member Avatar for Funktar

omg i need help so bad. I've been working on a school project for what seems like an eternity and i'm close to deadline. Using FIFO's (i ahve to) to communicate between parent and child proc's. Right now I'm stuck on a read/write. fifomsg is a struct with int length …

Software Development c c# c++ unix
Member Avatar for Dogtree
0
175
Member Avatar for silicon

Hi everyone, I am still having a few issues with my program. It definitely runs but it just seems to run poorly. I think my problem lies within the following 3 sections Quicksort, Partition, and Insertion I've written comments next to each line of code just to make sure that …

Software Development c++ ios
Member Avatar for Dogtree
0
130
Member Avatar for sinrtb

HAving trouble with my pointer arithmetic, any ideas appreciated My orgional code [code] Activity p[51]; for ( int i = 1; i <= n; ++i ) { // Read the activity records. pert >> p[i].i >> p[i].j >> p[i].pt >> p[i].prt >> p[i].ot; pert.getline(p[i].desc,21); [/code] converted but wrong [code] Activity …

Software Development c++
Member Avatar for Dogtree
0
456
Member Avatar for JoBe

Good evening everyone, This next exercise, I have to do the following: Write a ClassTemplate for a linked list. Demonstrate it by using two linked lists. The datafield of the first type is int, the second one is double. What Ive got sofar is this: [code] #include <iostream> #include <vector> …

Software Development c++ linked-list
Member Avatar for Dogtree
0
228
Member Avatar for M.Rodz

Hi. I have to write a program that will return the amount of all the vowels on a string.. I already did it, but it freezez during the execution :sad: . Any suggetions are welcome. ps.I must say that I am a begginer on this... :o Here is the code: …

Software Development c++
Member Avatar for Dogtree
0
210
Member Avatar for tyczj

ok im stuck how do u print to the screen in the main file from a class? this is what im doin [CODE]ostream &operator <<(ostream &outs, const Point &p) { outs << "(" << p.getX() << ", " << p.getY() << ")"; // print out the value of the point …

Software Development c++
Member Avatar for Dogtree
0
231
Member Avatar for SquirrelProdigy

Why is it that a major class should be defined in a header file, then given a source file to define it's functions?

Software Development c
Member Avatar for Dogtree
0
165
Member Avatar for M.Rodz

[COLOR=Blue][FONT=Arial Narrow]Hi. I am a begginer :cheesy: on the programming area and I am currently taking a course on C++. I have doubts :o about how to use the strchr function. Can somebody give me some hints? :?: Thanks.[/FONT][/COLOR]

Software Development c++
Member Avatar for vegaseat
0
194
Member Avatar for AhmedHan

I'm using GNU Pascal. For my homework (due to next Friday) I have to learn how to set up the cursor position, and how to change text and background colour. And how can I learn more about such commands?

Software Development pascal
Member Avatar for AhmedHan
0
194
Member Avatar for pomahony

Hi, I have an application (a web browser control within a vb6 form) which shows users their weekly schedule. At the moment they have to input their user id to see the schedule. What I want to do is have their schedules automatically appear according to their network login. I …

Software Development novell vbscript visual-basic web-browser
Member Avatar for Comatose
0
415
Member Avatar for Scuuba

Hi, sorry I'm posting so much all off a sudden, but I recently found these forums, and they've been a lot of help. I'm have to read into the program from a file and output into another file. The problem is in function calculateGrade. When I output, I get a …

Software Development c++
Member Avatar for Scuuba
0
124
Member Avatar for madt

can someone help me with this, or just help get me started. write the definitions of the functions to overload the increment, decrement, arithmetic, and relational operators as a member of the class rectangeType. write a test program that tests various operations on the class rectangleType

Software Development c++
Member Avatar for Dogtree
0
169
Member Avatar for fareen

Hi all, I'm fairly new to Perl I am confused ? I will try to explain it. What i am trying to do is we have 26 branches and our central office generates data files like for income files (003.inc010105,003.inc020105,) /sales(003.sal010105) and many more reports on dialy basis in text …

Software Development perl
Member Avatar for fareen
0
688
Member Avatar for Auron

Hey everyone. I am not sure of any of you are familiar with the term MUD (which is Multi User Dungeon, a text-based game). If not feel free to go over to [url]www.mudconnect.com[/url] to check it out. Anyway, back to my post. What I am currently planning on doing is …

Software Development c first-post
Member Avatar for Libertate
0
293
Member Avatar for apcxpc

Hi all I've programmed a relay chat system in Java. Just having two GUI-related problems with the chat client itself. [B][U]Problem #1[/U][/B] : I can't get the chat windows to scroll as new text appears in them. The scroll bar [i]does[/i] appear when it needs to, but it remains at …

Software Development gui java
Member Avatar for jwenting
0
394
Member Avatar for MrConfused

I use VB5 and I have a form which has very close to VB 5's limit of 255 controls per form which is starting to concern me. Can someone tell me if the limit for VB6 was increased and let's not forget VB net if possible (although changing the code …

Software Development vb.net visual-basic
Member Avatar for Comatose
0
319
Member Avatar for nathanj99

Hi Im using C++ builder 6 and need to print off some text. The text will be in the form of strings. I guess I need to use TPrinter. Can someone point me in the right direction on how to print stuff out from C++. I need to be able …

Software Development c++ printer
Member Avatar for vegaseat
0
180
Member Avatar for tricia

I need to show three frames consecutively for 500 msecs on a form then move to a new form. I have tried calling a sub procedure to do this but it doesn't work. Can anyone help please?

Software Development visual-basic
Member Avatar for Comatose
0
228
Member Avatar for MrConfused

1. With VB5 you can either create an EXE file while you are running VB, or use the separate setupwiz utility to create a .EXE file. The setupwiz way results in a smaller EXE file. Is this the only advantage? Also the setupwiz way results in the program doing something …

Software Development client-server visual-basic
Member Avatar for Comatose
0
294
Member Avatar for tat2dlady

I know you use strcmp() with strings and that if it is equal to zero, they match. But, how do you see if one string is less than the other? I want to compare SSN's to see if 12345620 is less than or greater than 123456708. Thanks for any input.

Software Development c
Member Avatar for Dogtree
0
1K

The End.