199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for calibill

Hey everyone, I am a true beginner programmer, in the crunch of finals week. I need to create a GPA calculator and I am having some difficulties. Anyone who can should help me!!!

Member Avatar for Dave Sinkula
0
184
Member Avatar for Slade

Whenever I go to update visual studio 2003 I get the following message: Visual Studio .net 2003 setup encountered errors while attempting to download required files. Check your web browser configuration settings and your connection hardware, and then try again. Ok... I am connected to the net, what web browser …

Member Avatar for Cybele
0
129
Member Avatar for gambale

Can any help me with this program?? Problem statement: Develop and test a program to read the boot sector of a floppy disk, print the significant parameters therein, find the root directory and print its nonempty entries. You will need to use the BIOS system calls INT 13H, function 02H …

Member Avatar for server_crash
0
186
Member Avatar for B-80

i am making a program that makes java commands similar to c++ ones, i am trying to use an endl statesment as well, it works if i just type c.endl(); but if i use the endl in my actual string it doesnt like this: System.out.print("helloendl"); Also when i use my …

Member Avatar for server_crash
0
106
Member Avatar for Prahaai

Anyone knows what are percents... Some event has some chances to happen. From 0 to 100... if the percent is 0 it means zero chances to happen. 100 means it will happen every time. 50 statistically means it will happen half of times... But HOW can someone give x/100 chances …

Member Avatar for Dave Sinkula
0
268
Member Avatar for edelstahl

So here's a pretty basic question. How do I access a file using C++? I want to be able to have the text file typed into the window of the program. I want to be able to write a string variable to a file, too. And another question, maybe not …

Member Avatar for Dogtree
0
1K
Member Avatar for madt

I have the following assignment due: Design a class -say, fraction - that performs the arithmetic and relational operations on fractions. Overload the arithmetic and relational operators so that the appropriate symbols can be used to perform the operation. Also, overload the stream insertion and stream extraction operators for easy …

Member Avatar for Dave Sinkula
0
273
Member Avatar for pmakanga

Hi, Could anyone out there give me some help in using selectionformula or any other method in printing a report. I have designed a program in vb 6 and i want it to select flight No details and Date using crystal report 8. I have used the following code but …

Member Avatar for pmakanga
0
134
Member Avatar for winbatch

The following works on solaris, but doesn't compile on windows visual studio 6. is there a way to do this differently so it compiles in both places? In ComandLineArg.h ------------------------- class CommandLineArg { private: ..etc.. static int longestDescr; ..etc.. }; In CommandLineArg.cpp ------------------------------- CommandLineArg::longestDescr=0; Error on visual studio: error C2501: …

Member Avatar for winbatch
0
696
Member Avatar for Kus

Hi, im pretty new to c++ and i have created the program below, and for some reason it sets 1 or 2 arrays right then the rest just 0's, when it uses the same code, and the data is getting threw to the calls etc... i have no idea why …

Member Avatar for Kus
0
338
Member Avatar for NewbyChic

I am stuck on this big time, I have been floundering here for like 4 hours and if anyone can help I would be SO grateful, I have this program that I have to write that I cannot grasp. I know ya'll dont like to have us noobs posting our …

Member Avatar for NewbyChic
0
220
Member Avatar for usausa

Hi, Can someone plz help me with copying the files contents into an array. the file contents maybe like... doit.dsp doit2.dsw doit3.cpp I want them to be copied to an array. Thank you

Member Avatar for Dogtree
0
134
Member Avatar for ashishjha54

hello, today i visited the source code section of daniweb and i was amazed to see that codes inside text box were colored according to their syntax.here is the url of the page. [URL=http://www.daniweb.com/code/snippet25.html]http://www.daniweb.com/code/snippet25.html[/URL] in which language this is coded .can i do this in php .can anybody provide me …

Member Avatar for ashishjha54
0
261
Member Avatar for philip.xavier

I'm trying to write an Ascii STL file ysing a poly_shade command in IDL. basically it outputs vertices and polygons where the first numbe rin polygons is the number of vertices and the following numbers are the vertices that are connected. I havn't been able to find any software or …

Member Avatar for philip.xavier
0
394
Member Avatar for rinyunzen

Hello there! This is my firts post, and I'm happy of finding a site like this. I have a little trouble with .net. I'm programming a site (i mean webforms) and something very weird happens. If I have two webforms, both of them connects to a DB and they use …

Member Avatar for rinyunzen
0
175
Member Avatar for Ghost

Hi Everyone, I was wondering if there's a way to write a program that tells console to do certain commands. I think you can do it by using a function and writing the CP command as a string for the arguments. Thanx in advanced for your help!

Member Avatar for Ghost
0
98
Member Avatar for dbenoit64

PROBLEM: ____________________________________________________________ Im trying to create an update on an oracle database and Im having some real trouble with it. If anyone has experience creating transactions and stored procedures from .net or asp and can help out I can use the assistance. My code is returning the following error and …

0
131
Member Avatar for Khishin

When using the Form1.KeyDown, keystrokes don't seem to register. For example, the Click works fine: [code] Private Sub Form1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Click MsgBox("Hello") End Sub[/code] That will display the message box when the form is clicked, but if you change it to: [code] Private …

Member Avatar for makatzena
0
390
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 …

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

Member Avatar for vegaseat
0
156
Member Avatar for missdiva
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 …

Member Avatar for Ghost
0
131
Member Avatar for missdiva
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 …

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

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 …

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++

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.

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.

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 …

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 …

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

Member Avatar for hemanth.balaji
0
151
Member Avatar for fsn812

When attempting to compile PHP 5.0.4 with MySQL 4.0, I received some strange errors from attempting to use --with-mysql and --with-mysqli. After getting it to configure correctly, where it finds mysql and mysqli support, when I run make I get these odd compile errors: == /usr/src/php-5.0.4/ext/mysqli/php_mysqli.h:48: error: syntax error before …

Member Avatar for fsn812
0
270
Member Avatar for t3bruce

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

Member Avatar for t3bruce
0
162
Member Avatar for nelly_1005

Hey there people basically i am currently doing my final year project,about decreasing the time taken to locate functions within mobile phones. therefore i am required to create a menu for a mobile phone which will solve the issue. I am looking to create a search faciltated menu which is …

Member Avatar for gearscout
0
248
Member Avatar for clivey

When I send my form to my email address using php everything comes out great apart from the Field names that had spaces in them like user first name becomes user_first_name Is there a way to put the spaces back in as this is very important as the email goes …

Member Avatar for clivey
0
288
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 …

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 …

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 …

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

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"); …

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

Member Avatar for Tetsu
0
472
Member Avatar for KG800

Hello, I'm trying to make a website that has products in a database, but unfortunately the pages can't be in asp.net. So, I'm using visual studio to connect to my database. Then I write out my category pages as needed, I have them set up in a table format. I've …

Member Avatar for KG800
0
150
Member Avatar for kisseric

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

Member Avatar for kc0arf
0
85
Member Avatar for AhmedHan
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. …

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

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 .

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 …

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 …

Member Avatar for callow
0
222

The End.