132,726 Archived Topics
Remove Filter ![]() | |
Please Help, I have our first assignment here on functions. It is pretty difficult, at least the one part that I keep getting stuck on. I seemed to manuver through the other parts I was having trouble with so far. But to start our assignment is to write a program … Software Development c++ | |
i need help writing a program that compares 5 numbers and returns the max, i have the code that compares 3 numbers but i don't know how to expand it to 5. here's the code for the max of 3 [CODE] (define max3 (lambda (x y z) (if (> x … Software Development | |
I need a robust shell script fast and don't have time to learn how script it myself from scratch. Summary: An existing PHP Application allows consumers to place an order for a product and upload files necessary to build that product. These files are stored in folders on the webserver … Software Development open-source session shell-scripting | |
[COLOR=green]Hi Guys,[/COLOR] [COLOR=green]I have a problem loading data into datagridview control. I have 2 forms with datagridview on both forms. when the user selects a record in form 1, the related records is then displayed in the datagridview in form2. These all works fine but my problem is, when the … Software Development vb.net | |
can anyone give me more info on the system command? It allows you to execute dot exe programs from your code. I am in particular looking for return values. Can one get the system function to let the called program write its output to a variable instead of writting it … Software Development c++ | |
I want to convert a vector into a string array. I have put in my code: criteria = (String []) tokenVector.toArray(); I get a ClassCastExceptionError (I can understand why since Vector holds objects which are 'bigger' than strings) - and yet I cannot understand how to resolve it - any … Software Development java | |
dear all i am new to this forum ,i was writing a vb code and i need to display a saved word or exell file on a comand clike, but it replies me file not found. but my code can open a notepad.if any one can tell me the right … Software Development visual-basic | |
[COLOR=#000000]Hello,[/COLOR] [COLOR=#000000] I am using widows media player 10 (WMP sdk 10 is installed in my pc) and vb.net 2005, when I play clips from my play list for first few times it plays well but after some time all the video clips from my play list are playing in … | |
Hi, I wonder what the best way to compare one value in a tuple/list with all other, and not itself. I'm taking my values from a file and thos file can be very big so I also wonder how to optimize this, not to much so you can't see what … Software Development python | |
I am trying to call a C# function which returns byte array from C++. Can anybody have some sample code. Thanks njvr | |
I am searching for projects done in java.I am a M.C.A student and as per my academic requirements i'm asked to do projects.Please Help me Software Development java | |
I am a beginner in computers, i would like to be assisted in writing a simple program that inputs a fraction in the form of a/b and c/d and culculates the sum and returns the answer in the simlest form as in p/q. Notes do not allow zero as the … Software Development c | |
i have a datagrid that has null values. I can't remove the column because there are rows that does not have a null value. is it possible to replace cells with null values to blank spaces? i know this is possible to do manually by selecting a cell and changing … Software Development vb.net | |
learn about listview control please...........suggest (in vb.net) | |
I recenly read this piece of code: [CODE]heap.push((Edge){x, 0});[/CODE] where Edge is something like [CODE]struct Edge { int a, b; }; [/CODE] I wonder how standard this syntax is? do all compilers understand this and is it ok to write such code? Software Development c++ | |
Well this is my problem, I wrote a function to sort a 2d char array but right now the second dimension bound cannot be variable so it has to be hardset (which I don't particularly like) This is what I have [code=c++] void multi_charSort(char array[][5]) { int i,j; char temp2[5]; … Software Development c++ | |
I wrote this trying to understand templates, functors and inheritance. it works but I want to know if there's a better way. Is a base and derived class overkill for a sorting function? How cand I make it better? [code=cplusplus] /* sorting test Class based sorting by Kimberly Hamrick */ … | |
Hi, Does anyone know anything about stack size reduction? I`ve gone thru the C forum and I did not find anything. Wat r the standard techniques to reduce the stack size? From wat I`ve heard, one of the best ways is to try and avoid static arrays in functions. Is … Software Development c | |
Alright guys.. I'm back in the java forums for help/suggestions. I'm sure one of the Daniweb java programming geniuses will be able to decide if this idea is too difficult or needs to be revised. I was thinking of writing a stock trend analysis program. There will be a stock … Software Development java | |
Hi, I would like to use a timer with vb6 but i am not allowed to create an object timer with CreateObject. The main problem is i need to make a delay until the connection is successful. I tried sleep function but it seems it stopping everything. Please If you … Software Development visual-basic | |
I am currently reading about bit sizes or something.. is knowing these bit sizes important? Because I don't really get this, and if it's not important, I won't have to keep rereading this thing. Type Width in Bits byte 8 [B]<-- is knowing this important?[/B] short 16 int 32 long … Software Development java | |
I am using a servlet, in that servlet I used a doPost() method by extending the HttpServlet. then who implement the all remaining methods( doGet,doPut,doHead,doOptions.......) Software Development java | |
can anybody tell how to implement a trigger in a jdbc program? Software Development java | |
hey there, umm so i have an array of words and now i need to be able to randomly choose one of those words when the appropriate button is clicked, its for a hangman game... i know that randomize; goes in there sumwhere... thanks heaps.. Software Development pascal | |
I have a question to drow a line in GUI programming. I hope you could help me:) In fact, it's not a continuous line, it's a line with break. The function I use to draw this line is like this: Void DrawBreakLine(int nStartPoint, int nEndPoint, BYTE bPattern) the last parameter … | |
How to pass char* as refrence in a funstion? Software Development c++ | |
I am trying to work with MSAccess through the use of ADOBC with VB6. I am having trouble with modifying current values. I have 3 input text fields in the form. FCUIPADDRESS, MCASTIPADDRESSA, MCASTIPADDRESSB. The MCASTIPADDRESSA+B are associated with the FCUIPADDRESS. For example: 204.168.11.234, 192.168.1.1, 192.168.1.2 I also have the … Software Development visual-basic | |
Hi Everyone:* I am working on Database project using DAO. Now I got a problem in counting all the data from one Field:-/ . Please help Me in this problem. :confused: And Tell Me how can I get the total of any field by using SQL STATEMENT? Thanks In Advance Software Development sql visual-basic | |
i used visual studio 2003 ,i am newbie i Created a simple database access and link it below ,i want to use dataset and oledbapdater compare the input from textbox with username and password colums in file .mdb . [url]http://mkptrans-nt.com/BaiTapTn.mdb[/url] [B]interface drag drop [/B] [B][U]Login page :[/U][/B] [url]http://mkptrans-nt.com/pic1.JPG[/url] [B][U]Viewmark page … Software Development asp asp.net dataset microsoft-access open-source session user-interface visual-studio | |
I want to know how to write a program to print all ascii values and equivalent characters using a while loop. ascii values vary from 0 to 255. Software Development c | |
Hi i have been asked to write a program to generate fibonacci as well as non fibonacci numbers till a certain value. i have just started learning c++. i managed to find the fibonacci series but i am unable to find the non fibo one. how do i go about … Software Development c++ | |
Hi friends. Do you know a library/header file/...etc. which has codes/instruments to write codes related to (how to read frame/frames from multiframes images or from video file? ) Thanks. | |
hi, i am a newbie... would anybody please to tell me, how is the codes, to directly changing windows default printer, from within visualbasic code, without poping: windows select printer dialog box best regards ndutz Software Development printer visual-basic | |
[CODE=CPP]#include <iostream> #include <cstdlib> #include <cmath> #include <ctime> using namespace std; int main() { srand(time(0)); int randNum = rand() % 100 + 1; // Generates random number between 1 and 100 int num = 0; int name;//Name of player cout << "Welcome to the Random Number Guessing Game!!"<<endl; // Name … Software Development c++ | |
we r doing a project on data recovery...... is there any way how to access hard disk directly..... Software Development c++ | |
I'm fairly new to C++, and I can't seem to find any sources on opening applications or files straight from the program. I looked up the system() function on this site, but all that it did for me was verify the file's path and post it's size. I need the … Software Development c++ | |
wht's Visual studio 2005 team edition sp1; wht's visual studio 2005 .net (RTM) wht's better among those two;and wht's the newest plz help me...i wanna buy one of these Software Development vb.net visual-studio | |
guys, i have just joined this forum. I want to ask you if you know where i can find ready-to-use java servlet and jsp code for a search engine. i need this in order to complete my thesis. thank you very muchin advance | |
:) guys im a firt timer. im making a program which reads floating point numbers from cin and compute 2 averages: the average of the positive and negative nos. im wonderin wats wrong in my program>> #include<iostream.h> #include<conio.h> int size,i,sumpos,sumneg; int num; main() { clrscr(); cout<<"input size\n"; cin>> size; for … Software Development c++ | |
Hi there, I'm completely new to C++ programming and need to find out/verify something in the code below... [code]// my first program in C++ #include <iostream> using namespace std; int main () { cout << "Hello World!"; return 0; }[/code] From a web site I (believe I) understand the following … | |
I have created an app using Microsoft VB6, using error handlers in every sub and function (no errors generated). I created an executable, which runs fine on the machine that has VB6 installed on it, but the app does not run on my other box. I get "Run-time error '5': … Software Development visual-basic | |
Hello all, I am currently attempting to create an instant messenger program, using Visual Basic 6.0 I have no idea where to start and am open to all information/help available. Please respond with links to help sites or any other references of information. Please dont hesistate to email me either … Software Development email visual-basic | |
Write a program that simulates a lottery. The program should have an array of five integers named lottery, and should generate a random number in the range of 0 through 9 for each element in the array. The user should enter five digits which should be stored in an integer … Software Development c++ | |
Hello, I am new at this java thing... like really, 1 day new. I have this book called Java 2: A Beginner's Guide (Second Edition). I got stuck on the second step which tells me to.. use javac to compile Example.java.. I read old posts that were posted here through … Software Development java | |
[code] Private Function atoz() As String ' Lower Case Chr(97 + Rnd() * 862150000 Mod 26) ' produces a-z End Function Private Function ZerotoNine() As String ' Numbers Chr(48 + Rnd() * 862150000 Mod 10) 'produces 0-9 End Function[/code] Hi, Quick question(this is not homework by the way)the above code … Software Development visual-basic | |
hi, i made a program it works fine on my computer but if I try to run it on other computer it has an error "Run Time Error 429 Active-x Can't Create Object", OS is XP, already installed the runtime files, and someone advice me to install the latest IE … Software Development os-x visual-basic | |
Hi , I have little bit of knowledge in C++. When I run the following program its gives me segmentation error. I tried to do all the possible things by reading online but not able to figure out the error. I ran it suing gdb debugger but still it stays … | |
including the 2 conditions that r chekd for prime numberS Software Development c | |
:?: How do I change the input and display of the dtpicker control to "dd/mm/yy" format. Also how do I store it in an MS-Access database in the same format (ie. dd/mm/yy ) . ... need help urgently! Regards, Swati Software Development visual-basic |
The End.