132,726 Archived Topics
Remove Filter ![]() | |
| |
I needed to get links to some good Java, J2EE tutorials and was surprised that daniweb::Java didn't have a thread on that.. Of course it's easy enough having Sun provide tutorials on most things, there might be some covering specific topics in better ways. Anyway here are the links I … Software Development api daniweb-api dns gui java java-jsp java-swing machine-learning session software-architecture streaming-service user-interface visual-basic xml | |
Hey, I'm making a very simple program to find out how many months it would take to pay off credit card debt [code=C] // Calculate Credit Card Debt and How long it would take to pay it off #include <iostream.h> using namespace std; int main(void) { double Debt, APR, MinMonthPay; … Software Development c++ | |
Help me on this, I'd like to know how to use SQL in VB? Software Development sql visual-basic | |
I'm having some trouble understanding the advantages and disadvantages of using scanf over fgets. When we have allocated memory using an array for eg, it is not wise to use scanf since buffer overflow can occur. But in what way does fgets prevent that from happening? Also, if you are … Software Development c | |
Our group has been banging our head against the wall in this one and cannot seem to figure it out. Our program is to be able to set up menus (done), allow user(s) to input 'student names' and save them to a data (*.dat) file and add names to the … Software Development c++ file-system ios | |
I have a left join in my select statement which works printing all the info from tbl1 with matching info from tbl2 I also want to print true or false depending on if there is any match for each record of tbl1 in tbl2. How would I do this? Software Development visual-basic | |
This program is wrotten by me college's teacher, and i so confuse and do not understand why is like this coding. [code=c]#include<stdio.h> void main() { int i,j,class_size,mark; int freq[11]={0}; //why make freq[11] for 11 variables?// printf("This program produces a bar chart\n"); printf("showing marks distribution...\n"); printf("\nHow many students?"); scanf("%d", &class_size); //make … Software Development c | |
Hi Folks, Total C++ newbie here so please excuse my errors! I have been tasked with writing a small program and I can't get it to work. Here is the task description... "A restaurant has 4 lunch combos for customers to choose: Combo A : Fried chicken with slaw [price: … Software Development c++ | |
Well i am a newbie to webservices and have still having a bit of trouble understanding the concepts. Anybody want to take the time to write a quick introduction to it? Please please! Software Development | |
Hi everyone, I have been assigned a project where I must design a information extraction system for computer science conferences. This system must use java as its programming language. It must have a page where you can enter a keyword for example 'computer science' and the extraction system must search … Software Development java web-design | |
Hey All I am having issues with my code and it has something to do with the way my double linked list is working. I cant figure out if its not setting the m_prev pointer if at all and what is going on with my m_next pointer. Any help would … Software Development c++ linked-list operating-system queue unix | |
#include<stdio.h> #include<conio.h> #define n 20 main() { int d,p; int b,i,n,bt[20],at[20],num; int arr[20]; clrscr(); printf("ENTER THE NUMBER OF PROCESSES: "); scanf("%d",&n); for(i=0;i<n;i++) { gotoxy(10,5); printf("PROCESS: %d",i+1); gotoxy(25,5); printf("BURST TIME : "); scanf("%d",&bt[d]); gotoxy(50,5); printf("ARRIVAL TIME :"); scanf("%d",&at[p]); } gotoxy(29,20); printf("SELECT ALGORITHM"); gotoxy(29,25); printf("\n[1] - SJF"); gotoxy(29,30); printf("\n[2] - SRTF"); gotoxy(29,35); … | |
Please help me im having trouble with a dice roller im making. Its kind of working except i was wondering why it is that every time i start it up it always throws up the same numbers in a row if you put in 100. It probably does that with … Software Development c++ | |
hi, in my last lecture i had faced a quiz, it was related to two dimensional array.i was unable to solve it.the question is "you are required to find a generic formula of the two dimensional array that how memory is being allocated for two dimensional array ?how compiler know … Software Development c | |
I need to create a C program that goes like this: The user wil enter the number of seconds that the stopwatch should run starting at the equivalent time in hours, minutes and seconds of the input. The stopwatch runs until the time becomes 00:00:00. I don't want you guys … Software Development c | |
Hello, Since you all helped me so well the previous time, I have a second question for you. I think it's fairly simple, but for some reason I can't find the answer. I want to write to a file, in a certain format; however, it doesn't write it exactly as … Software Development c | |
I have created a project of fetching data from a Url in [B][COLOR="Red"]VB.NET[/COLOR][/B]. Now I want that code to called in function Get data() in the class. How can I do that?? PLZ help soon :icon_rolleyes: Software Development vb.net | |
How can we check if web page is open or not using [B][COLOR="red"][COLOR="red"][COLOR="Red"]vb.net??[/COLOR][/COLOR][/COLOR][/B] :icon_cry: Software Development vb.net | |
hi everyone i have a very a very basic question in mind .. i wanted to discuss .. Difference Between these? String s1= new String("java") ; String s2="java" ; and also what for 2 different classes are there in garbage collection? System.gc and runtime.gc ( both are doing the same … Software Development java | |
Greetings, first time I've posted here. Forgive me if I touch on any taboos unique to this forum. My teacher isn't very good and my textbook is virtually useless or I wouldn't be seeking help on the internet. I did read the homework sticky, though. It's basically an exercise in … Software Development c | |
Greetings, I'm working on this number guessing game which works, sort off... after it get the guess, it's suppossed to check that number in the void test(int guess, int target) function. It seems that it's totally skipping this. I've been looking at this for a while and don't understand why. … Software Development c | |
got to develop a project for online railway reservation. please help me & guide how to start with.need help urgently Software Development vb.net | |
[B]How do I convert a FILE* to an IStream![/B] Using GDI+, I want to save an HBITMAP to a disk file as JPG. However, I am doing this within a legacy function that provides an already opened FILE* as a parameter. I have found nothing in the docs. [code=c++] static … Software Development c++ file-system | |
Hello, I've just started learning C, and now I have a problem (and I couldn't find a solution on the interweb ;) ). I want to multiply two matrices (2x2). First it 'reads' two matrices, and after that it needs to multiply it. It reads the matrices using double for-loops; … Software Development c | |
Hi all, I've written a configuration file parser, which is just basically gets a bunch of rules, each ended by ';' To get the rules I use a loop: [CODE] ifstream cfgFile; for (int iI = 0; iI < iMAX_MONITORS; iI ++) { ... cfgFile >> someFloat; // test for … Software Development c++ file-stream ![]() | |
Hi all, I have just start to work on C++. I want to open a text file, then write few text there. This is the code I wrote for that. [CODE]#include <iostream> #include <fstream> using namespace std; int main() { ofstream file; file.open ("example.txt"); if(file.is_open()) { file << "Write a … Software Development c++ file-system | |
there seems to be nothing much happening in the c++ forum today. so here is something to chew on for programmers who are relatively new to templates: c++ can also be used as a metalanguage. [code=cplusplus]#include <iostream> using namespace std ; // compile-time computation of fibonacci numbers template < int … | |
Hey, everyone. I am having getting my code to work. I have tried to add in a selection for the users. Not to mention I think I broke my table. here is the errors I get. 1>c:\users\keith\documents\visual studio 2005\projects\wk5mortgage\wk5mortgage\wk5m.cpp(51) : error C2446: '!=' : no conversion from 'int' to 'void … Software Development c++ ios visual-studio | |
[code] #include <iostream.h> void prime_num(int num,int cut); void center_list(int primes[],int len, int c,int n); void main() { int N,C; cin>>N>>C; while(N>0) { prime_num(N,C); cin>>N>>C; } } void prime_num( int num,int cut) { int prime_list[169],k=0,i; bool isPrime=true; for(i=1;i<169;i++) { prime_list[i]=0; } for ( i = 1; i <= num; i++) { … Software Development c++ | |
Hello, I recently finished a tutorial on C++ and I have written a small program. Could you please take a look at my code and give me feedback on it? It's a program that will ask you for two values and then add them together. Please be nice, since it's … Software Development c++ | |
Hi :) How to make a package from the project ? How to make from it a package so i can install it on diffrent compuer ? Im using visual c# 2005 express edition. Thanks. Software Development | |
Hi Everyone, I have to read data from a file into an array. I have that part figured out. I can't get my function to work. I have to write a sumArray, avgSales, highSales, and lowSales. Here is what I got so far. Could someone please help me with one … Software Development c++ file-stream ios | |
I've revived an old java project I did in college. Basic chat type program like ICQ which stores offline messages and users in a database etc, etc. I've recently switched the database from Access to MySQL and am considering some other alterations. I've been reading a bit on RMI. I … Software Development client-server java | |
Hi all, Does Visual basic net support inline c or c++ code and if so what keyword method, etc. ,do I use to do this. Thanks in Advance. Software Development c++ vb.net visual-basic | |
Can VB6 only link to access97 but not work with accessXP? and can i use vb6 in windowsXP? Software Development visual-basic | |
hi, i need help with the system() function. I need to open up a command line instance, change directory to a certain file, and open a file there. Problem is, every time call the system() function, it calls up a new command line instance. I need to do as i … | |
[B]char *(*c[10])(int **p); [/B]Ok, what does the above mean ? I compiled it fine. But I can't figure what it means :( Also, how to make sense of any such questions ? I know pointers, and have a concept of it. But this one really baffled me ! Can anyone … Software Development c++ | |
i need to know how to use powers in c++. so if i enter to and then 3 for the power i get 8. this is what i have so far [code]#include <iostream> using namespace std; double power(double,int); int main() { double n; int p; cout << "Enter a number … Software Development c++ | |
I was playing with a bunch of new things today and came up with this. Did I do anything wrong? [code=c++] /* binary class manipulator Print values or strings as binary by Kimberly Hamrick */ #include <iostream> // for C++ I/O #include <string> // for C++ strings using namespace std; … Software Development c++ | |
[B]hello all please help me out,I have designed a database in access having two fields(1.Regno 2.Smartid).I hav also kept some dummy values in RegNo,But the Smartid is empty. Now what code should I write to retrive the RegNo for which the Smartid is empty. I hav used only these three … Software Development vb.net visual-basic | |
Hello wall, Is there any way to be rid of the red Tk in the upper left hand corner? I remember reading somewhere that you can replace it with another icon, but can you completely remove it, leaving nothing but a blank space? Or can one replace it with: [code=Python]root.title("Any … Software Development python | |
dear all, i have to need the difference between vb and vb.net thanks Software Development vb.net | |
I'm just trying to make a four-player card dealing game! But my problem is that my deck is eternal! I wan't it to deal 52 cards. So 13 card per person! The name of my persons are JLabel1,2,3,4! Can someone help me out! I'm working with Blue J and I … Software Development java java-swing ![]() | |
(I have 2 queries) I have made a html parser but the memory leaks, as it seems from the message below; is killing me. I am getting this message from gdb debugger (cygwin build). Heap block at 003D2CA0 modified at 003D2CB3 past requested size of b Also now not all … Software Development c++ | |
so when i run this in python interpiter it works [CODE] >>> import os >>> b= os.path.getsize("/path/isa_005.mp3") >>> b 2071611L >>> [/CODE] but when i run it in a script [CODE] b= os.path.getsize("/path/isa_005.mp3") FILE.writelines(b) [/CODE] i get an error. any one know how i can get it to print the … Software Development python | |
i've gone through some threads from people asking for help that have posts from these users saying things such as [quote]still the program doesn't do what i want it to do[/quote]This is why i would like to say to all users: [B]When we post solutions to your questions, most of … Software Development c | |
im compiling a basic sorting algorithm that utilizies POSIX threads (pthreads) .... everything was compiling fine, until i put the thread implementation in .... all of a sudden, it gives me this: [code]-bash-2.05b$ gcc project4a.c -lpthreads project4a.c: In function `main': project4a.c:32: subscripted value is neither array nor pointer project4a.c:33: subscripted … | |
Elow, I'm new member of this forum and also new in C++.I'm just start to learn it I need help.....i want to write a program that will ask the use an integer number and output the word equivalent ofthe input(1000-3000)limit inclusive example input:1525 output: one thousand five hundred twenty-five i … Software Development c++ | |
I cannot figure out why my program gets the wrong output but I am assuming it has something to do with the array or the switch statement. Can someone guide me in the right direction? I am at a point where I am making no progress right now and now … Software Development c++ |
The End.