199,114 Archived Topics
Remove Filter ![]() | |
I'm at the end of chapter 2 of Michael Dawson's Beginning C++ Game Programming. The first exercise at the end of the chapter, has me rewrite a program earlier in the chapter using enumerations. The program is just a simple choose your difficulty level. You enter a number that represents … | |
Well, blast. My first attempt took too long, and I autodisconnected. Short version: Not doing homework, on internship(first gainful employment). Task: Make GUI for existing Console app that takes binary input file. Milestone: By Monday, create windows App that displays output of binary and text input files using MFC. Assumptions: … | |
Hi, I am running a system which consists of eight concurrent Java processes. All these processes run on the same box and are backend daemon processes which means they are designed to be started and then run continuously, as they are backend processes they have no user interface. Thus the … | |
Is there anyone here who could teach me php? I am new at php and I do not understand it too well. Sorry if this is in the wrong fourm. | |
Hi folks, this is what I want to do and I don't know how. I want to play a midi file in VB and in real time alter the voices of the channels whilst it is playing dependent upon user inputs - these will be determined by inputs from pressure … | |
Is there an API to view all running processes? Thanks | |
hi all, i want to migrate from SQLSerevr 2000 to MySQL 5.0.4. i've got a column type varchar(8000) in my source db. the reason of selecting varchar(8000) instead of text type is: we can't compare two text fields in SQLserver and i need to compare them some times. i don't … | |
hi, i'm fairly new at java, and i'm expected to make a plotting program soon, and i am stuck as to what to do. i haven't found any good tutorials online (most of them just confused me or they made a plotting program that i didn't exactly have in mind)... … | |
Hello everyone, I am looking for education materials of developing C++ application with Eclipse. Could anyone recommend some good education materials? Thanks in advance, George | |
I'd like to suppress MySQL errors being printed in the header, so that errors can be passed back into the PHP page... My current code is as follows: [PHP]if ( ! mysql_connect($server, $database_username, $database_password) ) { $error = "There was error when attempting to connect to the specified database server: … | |
im new to vb, i need to use vb6 to connect to local sql server with the local system account and get all the databases. ill be very thanksfull for any help. | |
Guys, Either there is a bug in the compiler or I'm getting dumber by the day. I want to read an entire file into memory. (Very small file, so no worries about size here). I followed the example here (from [url="http://www.cplusplus.com/"]www.cplusplus.com[/url]) [code]// reading binary file #include <iostream.h> #include <fstream.h> const … | |
I have this code that I am using in C# calling a Response.Write to call another aspx page within a frame. [B]Response.Write("<script language=javascript>parent.Frame.location.href('detail_search.aspx?NameOrCat=1&strFor="+strName+"&catDesc="+strCategory+"&clickedButton=0&Where="+this.WhereSelect.SelectedValue+"&searchOption="+this.rbtnStartsContains.SelectedValue.ToString()+"§ion_id="+this.ddwnSection.SelectedValue.ToString()+"');</script>");[/B] This logic works on explore 6.0 but I can not figure out why it does not work on explore 5.0 and explore mac. Does anyone know how … | |
Please help !!! I am designing a database system and I am a bit stuck and do not know my next step forward. I am using SQL Server 2000 to develop a database system from scratch for a medium sized company which does not have an IT dept therefore I … | |
I have a textbox where user can enter the date in format of MM/DD/YY, now I want to set a rule only accept the date within one month from current date, how can I do that, anyone help will be appreciated. | |
![]() | Ok, I am fairly new to php, so please bear with me if I have done something stupid. I am trying to write a CMS, right now I am writing a piece of code to get the article title from the database. I used [code]<? include('dbconnect.php'); //Get the article title … |
Hello i got an assignment to do on classes, basically i got 90% of the program working except for some minor issues which i cant seem to figure out. Here is the code: [code] #include <iostream.h> #include <assert.h> #include <cstring> class weather { private: int day; int month; int year; … | |
Sorry , one simple question how do i get the current time ? In the sense of mm/dd/yy . My java is weak I know must make use of the calendar class but im not too sure how it works | |
Hi there, I'm using asp.net (c#) framework version 1.1 and trying to connect to my Oracle database 10G (10.1.0.2.0) which installed on the same server as the IIS and I'm getting the following error: OleDbException (0x80004005): error while trying to retrieve text for error ora 01019 I can connect through … | |
Howdy folks! I'm having a bit of a dilema with a small piece of my coding. I'm working with a database that stores tour/gig dates for a band. The table has fields that include year, month, day, date, venue_name, name_ext, address, and a couple others. The field "venue_name" is the … | |
I'm glad I found this forum. Just doing seraches has helped me already. However, I am having a problem with my assigment. I want to open data.txt file, read the file line by line. Each line has four items, int, string, int, and double. Then put the items into an … | |
im confused as to how to get the pointers to save values... anyone with helpful advice??? this is where i have gone so far.... [CODE]#include <iostream> #include <cstdlib> using namespace std; int main () { typedef struct dataNode { char arriveCity[30]; char departCity[30]; int totalPassengers; int passengers; int flightNumber; struct … | |
I am just beginning to learn how to program. I'm using the "Beginning C++ Game Programming" book written by Michael Dawson. One of the programs in the book isn't working out like it should. Would this be the forum I use to get some advice on what I might be … | |
Hello, I am relatively new with Python and Pygame, however, I am an experienced PHPer, so programming isn't something new to me. My problem is this: I got Python 2.4 installed and Pygame 1.6 for Python 2.4 installed. I know Pygame works because I can make calls to the Pygame … | |
Hi there, I'm using asp.net (c#) framework version 1.1 and trying to connect to my Oracle database 10G (10.1.0.2.0) which installed on the same server as the IIS and I'm getting the following error: OleDbException (0x80004005): error while trying to retrieve text for error ora 01019 I can connect through … | |
Now, in this particular one, I'm attempting to make a two-dimensional container that stores vectors. Of course, I wanted both dimensions to be dynamic at first, but once convinced that even attempting to do a 2D vector was nearly impossible or required a heap of used memory via the resize() … | |
hi all computer programming is one of those areas that i know absolutly zero about, how dialogue boxes/buttons and toolbars are created. so went to local library and got claton walnums vb6 for dummies, this comes with a learning edition of vb6. installed vb6 in vb6 there are toolbars/blank buttons … | |
i want to create a toolbar just like the one appears in ms access for showing table , reports , queries etc using vb.net Please somebody help me Neeraj | |
hi , Please take a moment to read this i am trying to write hexadecimal.cpp program for my C++ programming class but i dont know how to do it. the Project says as follows You have to design and implement a C++ program that reads numbers from a file,converts them … | |
i write c++ program using template class that program take lenght and width of rectangle as integer, float and double and display the area and perimeter of rectangle. but my program does not run. please some one check this mention mistake or write this in a better way code: [code]//header … | |
The structure: [code] typedef struct{ int val[256]; }values; [/code] The function(needs to pass information into the structure array 'val'): [code] void changeval(values *obj, int v, int a){ (*obj).val[v]=a; } [/code] ^^That piece is the piece I am having issues with... And finally, the call: [code] int main(){ values item; changeval(&item,0,50); … | |
What i am trying to do is to make a like that sends some info to next page so that PHP could use query for the deta sent. OK here is how the hyper link looks like and i want it to send some variable to next page: [HTML]<a href="index.php" … | |
what i am tring to do it to show a catalog with php and stop php from displaying any data to the cusomer if table does not have any information it. for example i want to use if state ment to stop and skip if data in the database table … | |
I read that session variables in ASP were a security threat. Is this true for session variables in .Net? thanks, ed | |
Hi! I am new to this, and new to the programming. To be honest, it's not easy. I am having this problem with doing Complex numbers. Basically, I have to write a program to show the Amplitude and Phase of a Complex object. First, because Amplitudes are usually absolute values, … | |
Potion of my code: [code] class UserCommand{ string cHandle; //definition of command int numPara; vector<int> cPara; //parameter of command public: UserCommand(string ucData); //copy constructor UserCommand(const UserCommand& uc); inline const string getHandle(){return cHandle;}; inline const int getPara(int i){return cPara.at(i);}; inline const int getNumPara(){return numPara;}; //overload operator = here inline UserCommand operator=(UserCommand& … | |
Hi to everybody! I'm writing a program that has to simulate a working system for deliveries of goods to some cities. I get several mistakes from the compiler while temporarly checking the code but they can't point me out the problem good enough.. Therefore I dare to bother you with … | |
I was wondering if someone could point me to some good online tutorials and exercises. I most importantly would like a site with some exercises to help me learn further. I have a book called "JavaScript in 24 hours" and I have to admit, this book is terrible. It teaches … | |
I just want to say that I am very disappointed with Guido van Rossum's latest tutorial. I like to follow along typing in the examples and seeing how they run. I seem to catch on to things better that way. But this tutorial's examples haven't been throughly checked because some … | |
Here is my [b]Stored Procedure [/b] stored in SQl DB. [code] CREATE PROCEDURE qparmVerifyLogin @First_Name varchar(30), @Last_Name varchar(30), @SSN varchar(9) AS Select First_Name, Last_Name, SSN, ADDRESS1, CITY, STATE, POSTAL, DEPTID, EMPLID FROM PERSONAL_DATA_TBL WHERE First_Name = @First_Name AND Last_Name = @Last_Name AND SSN = @SSN; GO [/code] [b]Below is the … | |
Hi folks, I have to answer the following question: "Write an applet which contains a panel whose background colour varies as the elevators of three Scrollbar objects are varied. Each Scrollbar object affects one colour constituent." I think I'm pretty close, but I can't figure out why only one of … | |
HI ive been trying to do some java program and when ive tried to run this program which, ive had 3 errors saying cannot resolve symbol for 'DrawFrame/DrawPanel' im not sure wat the issue here is, the program is as follows: import java.awt.*; import java.awt.geom.*; import javax.swing.*; public class Drawing … | |
hello, i'm harish from chennai. i'm in my final year M.Tech (I.T.). i'm planning to do my final year project in java. I would want some suggestions for the title for my projects. i would appreciate your early response. My mail id is [email]venugopal.harish@gmail.com[/email] | |
want to load some external content into a hidden iframe. The hidden iframe will function as a buffer from which i can load the content into a <div>. The reason i am attempting this approach is because the external pages are located on a different domain at my company and … | |
dear programmer A pharmacy needs to automate drug inventory management system. Every drug has chemical Name, Chemical Composition, date of manufauturing, expiry date, and courtry of origin, quantity, category and others. the pharmacy has a policy to dispose expired drug before use. however, it is not an easy task to … | |
Hello.. it's me, again :mrgreen: sorry but I really need code for locking folder not a code for changing the attribut. :( 'cause i want to put my precious file in that folder :( so my friend can't steal it :evil: . Everybody in the world who can/want to help … | |
Dear All, How do i send SMS Message from my asp.net (vb.net or c#) application. can u guide me help, please........... Thanks, Suresh U. | |
allright here is my question!!! if i have a login page with user name and password and i have a situation where in two users are logging in with the same id with a little time gap though (assuming that the other user is still logged in) how will u … | |
Hi When I am trying to connect to mySQL from PHP, I am getting the error "Client does not support authentication protocol requested by server; consider upgrading mySQL client" . I am using PHP 4, mySQL 4.1 and Win XP Pro. The error is occuring both for Apache & IIS. … | |
Is there a way to send a command to CP (like run an exe file)? In C++ you can use the system() function, but i think in java you use Runtime. Thanx in advanced! |
The End.