199,114 Archived Topics
Remove Filter ![]() | |
[COLOR=#008000][/COLOR]after hours of trying (im really new to C++), i got a program to run that will find the mean, median, mode, and standard deviation of an array of numbers. However, if there is no mode (every number only appears once), it just returns the first number for mode. if … | |
I realised I cannot run Win32 programs compiled with Visual Studio 2005 on any other computer. When I try running my programs on a computer where no VS2005 is installed I get an error: [CODE] This application has failed to start because the application configuration is incorrect. Reinstalling the application … | |
Hello, We just started studying classes right now, we are studying classes. Unfortunately, my teacher is not very helpful. I was given a study guide for my midterm and one of the questions there was to create a half adder. I already did the .h part and i believe it … | |
Hello, It's my first post and first topic in this forum .. actually, I found very useful information here through "search" ( in fact, throught google to be more accurate :D ) . << ok thanks, let's get down to work ? Iam working on Bootable Disk using Assembly, probably, … | |
I am new to C++ and programming in general, and am working on an upcoming homework assignment. I have run into several problems and would greatly appreciate assistance. The assignment is to write a code to determine area and volume in C++, using a While Loop. I am stuck with … | |
hi friends, This is my very 1st message on this site. Can someone please help me out in designing a small function in c programming to accept decimal value as hex value, i mean lets say if user inputs a decimal value say 49, the processor should read(and futher processes) … | |
[COLOR=#000000]I have two record sets. One is transactions and another is GL posting. I am aiming to create a third table to find out the customers are from which country inflate our GL.[/COLOR] [COLOR=#000000]For example GL Table has following fields[/COLOR] [COLOR=#000000]GLCode[/COLOR] [COLOR=#000000]GLDescription[/COLOR] [COLOR=#000000]GLAccount[/COLOR] [COLOR=#000000]GLAccountCCY[/COLOR] [COLOR=#000000]Balance[/COLOR] [COLOR=#000000]BalanceUSD[/COLOR] [COLOR=#000000]Transaction Table has the … | |
Ok guys I just started learning visual basic. For my tutorial It says to click the "event" button. I have been searching for ages and I cant find it. Please someone just take a screenshot and upload it says were It is and or tell me. Btw Im useing visual … | |
So far as you can see below Ive got the program accessing the file and just reading the lines; Ive got the file set up like so... What is the Answers? A Do this B Do that C Dont do that D Definitely this A So this method is set … | |
hi there, i am trying to make a client/server program for my project. i have created a menu that gives 3 options which in turn would take you to its corresponding method in my client. the method would run and send over some info to the server as a string. … | |
I've written this program which at the mo only has two buttons. One to exit the program and the other to open a report from an external Microsoft Access database file. I'm getting this error message: [B][U]Debugger Exception Notification[/U] - Project Project1.exe raised exception class EOleSysError with message "Operation Unavailable". … | |
Hey, I'm learning Ruby and I've just about got it sorted. I have just one (or maybe more) question(s): What is marshal.dump and does it allow you to save data to a file outside of the Ruby program? If not, how do I create saved data (ie. character attributes inside … | |
Hi everyone, I am not sure if this is the right forum for this, but I have a question about Microsoft Sharepoint that I cannot seem to find. I am wondering if it is possible, for example, to add a link to the quick launch sidebar where this link only … | |
:p Hello, I'm a new member here, and in serious need of advice! :-| Well, here's the story... I'm off to college this fall and my plan is to major in Computer Science, and minor in both Math and IT. By the way, I've been wanting to do this since … | |
Hi, for some reason the build of my project the code and form is screwed up. I tried under build clicking build project. This keeps happening to be on both .net and 2005 and on 2 different computers. And help would be very greatful.:@ | |
Hello I have changed the process code abit so it receives the data from the form and ensures the data in array format. This has eliminated my previous error. The problem I am experiencing is the looping is not displaying the all contents of the arrays. Do you have any … | |
I am trying to delete a member of staff from a table using php using a drop down menu of staff id's he is my code <!-- deletestaffmember.php --> <html><body> <?php putenv("TNS_ADMIN=/u1/oracle/Products/shu10g/network/admin"); $conn = OCILogon("wkagonye","maniki", "shu10g"); $query = "select StaffNo from tblstaff"; $stmt = ociparse($conn, $query); ociexecute($stmt); ?> <form action="deletestaffmember.php" … | |
Hi, I am writing a query that requires as input the difference in days from two dates (Project_End - Project_Start, both of data type DATETIME), how can I find it? Can I subtract the two dates? Thanks, Robert | |
Hi all.. I have two dropdown list boxes in an aspx page to which i have to load items from the database..When i run the application i am getting the following error... Auto- attach to process '[3236] aspnet_wp.exe' on 'machine 171' failed Someone help in this regard..very urgent.. Regards, Balaguru | |
I cant find a good solution for my fist java script class. Can someone help me here. The result is not showing up here. [code=javascript] <script language = "JavaScript"> document.write('<center><h3>-- Myname 23 -- ') myDate = new Date (); document.write(myDate.toLocaleString()); document.write('</h3></center><hr>'); </script> <script language = "JavaScript"> // Add, subtract, multiply, … | |
In Microsoft Word, I have a VBA textbox ("TBox") and some verbiage in a bookmark field ("BMark"). I want to link the bookmark field to the textbox's ControlSource such that the verbiage appears in the textbox (as the textbox Value). I've failed with multiple different entries into: 1) the Properties … | |
c++, Debian linux system, g++ compiler Alright, I have a serious problem. I keep getting a segmentation fault everytime cin recieves a string with a period in it and stores it into a string. I used couts to find the location of the segmentation fault. it happens EXACTLY after [inlinecode]cin … | |
Hello, I need help with Lee algorithm. Just a quick reminder of what it is: Start at a point, assign the cost of 0 to that point, and expand vertically and horizontally until target is hit. See below: ______3 ____3 2 3 __3 2 1 2 3 3 2 1 … | |
Ok... I have backups of all my movies on my computer... I am trying to make a database of them using VB. I already made one with OOCalc (Open Office Excel basically). Anyways... my code to enter a movie in the data base is as follows: (Please keep in mind … | |
All, New to python programming so bare with me but I haven't quite seen an easy way to do this and looking for some suggestions. I want to be able to replace some contents of an [B]exisiting[/B] file either by both inserting new statements or modifying/replacing new ones withiout touching … | |
G'day, First of all a very big thank you to both Jeff and Vegaseat for their great help...but sadly :icon_sad: it's not what I needed. Being a novice at Tkinter I did not realize what Tkinter was and was not capable of and I therefore blame myself :icon_redface: for any … | |
Hi, I installed Dev C++ on my PC ...its the first time I am using it. Can somebody tell me how I can link and compile a .cpp and it's corresponding .h file to produce the required .exe ? I want to know how to build on Dev C++ basically. … | |
How to pass a 2D array by reference? Can somebody guide me? if I created an array as follows: char **sarray; 2Darray = new char* [row]; for(i=0; i<row; i++) 2Darray[i] = new char[col]; (NOTE: I get the values of row and colume via some calculations in my code ....basically, I … | |
how to allocate memory for a two dimensional array dynamically please need code for that one | |
this is my function... [code=c++] int showScores(int player, int computer, int tie) { return ( cout << "User: " << player << endl << "Computer: " << computer << endl << "Ties: " << tie << endl;); } [/code] I get these error messages hw3b.cc: In function 'int showScores(int, int, … ![]() | |
I have apache in this dir C:\Program Files\Apache Software Foundation\Apache2.2\ and Mail.php and PEAR.php are in this dir C:\php\PEAR\pear When I add the files to the dir the log file is complaining about below, the wiki spits out the following: [code] Could not send confirmation mail. Check address for invalid … | |
Guys I have to subit my lab record tommorow.....i just have some programs left which iam not able to do.:'( 1. Write a program to print the pascal triangle 2. Write a program to concatenate two strings without using teh library functions, by pointers 3. WAP to compare two strings … | |
bubblesort will not work for me [CODE] [COLOR=#008000] //Laura Patrick //EGR 126-11 //March 20, 2007 //Ex 11.5 #6 [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<iostream> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<cstdlib> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<iomanip> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<string> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<fstream> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<vector> [/COLOR][COLOR=#0000ff]using[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] std;[/COLOR] [COLOR=#0000ff]struct[/COLOR] players { string fname; string lname; [COLOR=#0000ff]int[/COLOR] atbats; [COLOR=#0000ff]int[/COLOR] runs; [COLOR=#0000ff]int[/COLOR] hits; [COLOR=#0000ff]int[/COLOR] doubles; [COLOR=#0000ff]int[/COLOR] triples; … ![]() | |
Alright, lets get a rundown of what I think I should use for game Programming [B]1) Thinking in C++, Volume 1: Introduction to Standard C++ (2nd Edition)[/B] [B][/B] [B]2) Thinking in C++, Vol. 2: Practical Programming, Second Edition[/B] [B][/B] [B]3) Game Programming Gems 1-8[/B] [B][/B] Alright, That what I am … | |
Hi, I have created a stored procedure that would insert new records in one of my database tables. I have tested the procedure in SQL Server 2005 and it works all right. What I want to do next is to connect the stored procedure to my form in VB.Net so … | |
[code] [COLOR=#0000ff]#include[/COLOR][COLOR=#800000]<iostream>[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] std;[/COLOR] [COLOR=#0000ff]const[/COLOR][COLOR=#0000ff]int[/COLOR][COLOR=#000000] ArraySize = 8;[/COLOR] [COLOR=#0000ff]int[/COLOR][COLOR=#000000] seqSearch([/COLOR][COLOR=#0000ff]int[/COLOR][COLOR=#000000] list[], [/COLOR][COLOR=#0000ff]int[/COLOR][COLOR=#000000] listLength, [/COLOR][COLOR=#0000ff]int[/COLOR][COLOR=#000000] searchItem);[/COLOR] [COLOR=#0000ff]int[/COLOR][COLOR=#000000] main()[/COLOR] { [COLOR=#0000ff]int[/COLOR][COLOR=#000000] index;[/COLOR] [COLOR=#0000ff]int[/COLOR][COLOR=#000000] intList[ArraySize];[/COLOR] [COLOR=#0000ff]int[/COLOR][COLOR=#000000] name;[/COLOR] cout<< [COLOR=#800000]"Enter 8 names: "[/COLOR] << endl; [COLOR=#0000ff]for[/COLOR][COLOR=#000000] (index = 0; index < ArraySize; index++)[/COLOR] cin>> intList[index]; cout<< endl; cout<< [COLOR=#800000]"Enter a name to search for... … | |
Hello, i need to make program which can do squaring, so x^n. I can do it with pow(x,n): [code]#include <iostream> #include <cmath> using namespace std; int main() { double x, c; int n; cout << "Alap = "; cin >> x; cout << "Kitevo = "; cin >> n; if … | |
Hello... I use javascript countdown timer in my page. Each time the page is being refreshed, the countdown is restarting. I blocked the F5 function to avoid the page being refreshed. It works, but it doesnt block the browser's refresh button. So what i gonna do is unblocked the F5, … | |
any body can help me give any suggestion for my final year project? i want a project web based. any body have an idea?? | |
Hi everyone. I just started learning Java and did a few application to familiarize myself with it. I wrote an application to output a 2D array table but i can't seem to do it in an applet. Can anyone guide me along here? Problem is when i tried to output … | |
[HTML]Is there a way(function) to distingusih between different data types?[/HTML] If u can, provide me with the function code, please?:) | |
I have a hw question that asks us to create an STL funciton that takes an argument of type map<string, int> and an integer and returns vector containin all positions in map for which the integer value is found. The function works from what I can test. But I wanto … | |
[COLOR=navy]I'm new here and hoping for a bit of help - I've got an table that has event name, start date, end date. For instance: EventID: 1 MEETING_NAME: My Event START_DATE: 1/1/2007 END_DATE: 1/4/2007 Right now we just display the name, start date through end date (if there's a different … | |
Hi, I'm a bit stuck. I've been breaking my head quite long figuring how to do this. I need to generate areport that is grouped by week. i need to display total number of patients who are enrolled in the system. And they are grouped by the weeks in a … | |
Hello guys! im a newbie in programming and i need help..Anyone familiar with array??below is the case and i hope someone can help me.. thx.. Write a program to assign seats on each flight of the airline’s only plane (capacity: 20 seats). Your program should display the following menu of … | |
ok so i got the last part finished and working now for the bit i havent done before at all. instead of the pickle file the customer data has to be read in from a data base i have been supplied with the data base and the code but i … | |
I want to use javascript and php to make black dots appear on the screen. So far, I have the following code, which isn't working. What am I doing wrong? [code] function dots() { var dot = document.createElement("div"); dot.style = "position: relative; background-color: #000; height: 10px; width: 10px;"; document.body.appendChild(dot); }[/code] | |
hi guys, absolutely no idea where to start and im sure its a really easy thing to do. i just want to use a button to print the current form to the computer's default printer. thanks | |
what is wrong with my code? [code] Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load MyConnection.Open() Dim strSQL As String = "SELECT * FROM Question WHERE SurveyID=83 Order By QuestionNum" Dim cnCommand1 As SqlCommand = New SqlCommand(strSQL, MyConnection) Dim Rdr As SqlDataReader = cnCommand1.ExecuteReader() 'execute reader … | |
Would somebody mind looking at this code and giving me some advice as to the copy constructor and assignment operator overload function? When I try to use this class in my program, I get the following error: error C2679: binary '=' : no operator defined which takes a right-hand operand … |
The End.