199,114 Archived Topics
Remove Filter ![]() | |
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!!! | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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: … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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! | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
| |
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 … | |
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, … | |
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 … | |
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++ | |
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. | |
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. | |
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 … | |
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 … | |
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. … | |
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 … | |
| |
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 … | |
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 … | |
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 … | |
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 … | |
/*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 … | |
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" … | |
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"); … | |
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] … | |
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 … | |
Hi Folks, I am new to Daniweb and new to C++. I will appreciate any help I can get. | |
Does anybody know a free web server that supports PHP? | |
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. … | |
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 | |
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 … | |
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 … |
The End.