199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Decessus

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 …

Member Avatar for zyruz
0
651
Member Avatar for Drowzee

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: …

Member Avatar for Drowzee
0
274
Member Avatar for Kate Albany

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 …

Member Avatar for Kate Albany
0
196
Member Avatar for Yuki H.

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.

Member Avatar for pulse
0
130
Member Avatar for artybrum

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 …

Member Avatar for techniner
0
1K
Member Avatar for 3nCrypti0n
Member Avatar for Chagh

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 …

Member Avatar for filip_scm
0
362
Member Avatar for NewAtJava

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)... …

Member Avatar for techy
0
113
Member Avatar for George2

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

Member Avatar for George2
0
129
Member Avatar for bgharper

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: …

Member Avatar for bgharper
0
150
Member Avatar for abdadak

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.

Member Avatar for techz_boy
0
93
Member Avatar for winbatch

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 …

Member Avatar for winbatch
0
318
Member Avatar for RobRet

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()+"&section_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 …

Member Avatar for RobRet
0
123
Member Avatar for wchitamb

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 …

Member Avatar for Kate Albany
0
168
Member Avatar for michael123

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.

Member Avatar for michael123
0
139
Member Avatar for zeshon

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 …

Member Avatar for RamiroS
0
184
Member Avatar for lallous

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; …

Member Avatar for lallous
0
107
Member Avatar for nccliang

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

Member Avatar for Easter Bunny
0
118
Member Avatar for adi75

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 …

Member Avatar for Kate Albany
0
1K
Member Avatar for Mike D

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 …

Member Avatar for Mike D
0
94
Member Avatar for JOskydive

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 …

Member Avatar for JOskydive
0
101
Member Avatar for jhdobbins

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 …

Member Avatar for jhdobbins
0
247
Member Avatar for Decessus

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 …

Member Avatar for Dave Sinkula
0
246
Member Avatar for Flinch

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 …

Member Avatar for vegaseat
0
746
Member Avatar for adi75

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 …

Member Avatar for Paladine
0
3K
Member Avatar for Kazastankas

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() …

Member Avatar for Kazastankas
0
177
Member Avatar for mickyboy

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 …

Member Avatar for jwshepherd
0
435
Member Avatar for neeraj_th

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

Member Avatar for Letscode
0
339
Member Avatar for desidude

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 …

Member Avatar for Kazastankas
0
265
Member Avatar for shahid

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 …

Member Avatar for CrazyDieter
0
100
Member Avatar for userlain

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); …

Member Avatar for CrazyDieter
0
365
Member Avatar for ashneet

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" …

Member Avatar for Killer_Typo
0
203
Member Avatar for ashneet

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 …

Member Avatar for Troy
0
129
Member Avatar for earlofroberts

I read that session variables in ASP were a security threat. Is this true for session variables in .Net? thanks, ed

Member Avatar for Letscode
0
132
Member Avatar for paladin4service

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, …

Member Avatar for paladin4service
0
1K
Member Avatar for alone2005

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& …

Member Avatar for alone2005
0
140
Member Avatar for freemind

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 …

Member Avatar for freemind
0
95
Member Avatar for server_crash

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 …

Member Avatar for shahdhruv
0
349
Member Avatar for iacobus2

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 …

Member Avatar for shanenin
0
204
Member Avatar for Wendydb22

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 …

Member Avatar for Letscode
0
156
Member Avatar for bigriggers

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 …

Member Avatar for bigriggers
0
141
Member Avatar for yarlini

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 …

Member Avatar for server_crash
0
1K
Member Avatar for harish1980

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]

Member Avatar for server_crash
0
83
Member Avatar for JaxsWastedLife

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 …

Member Avatar for Eddie Traversa
0
166
Member Avatar for tundeakins

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 …

Member Avatar for Narue
0
162
Member Avatar for gluber

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 …

Member Avatar for Narue
0
197
Member Avatar for uskumar_33

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.

Member Avatar for naveenchander
0
211
Member Avatar for nishanth

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 …

Member Avatar for techy
0
116
Member Avatar for aparnesh

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. …

Member Avatar for aparnesh
0
131
Member Avatar for Ghost

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!

Member Avatar for cheenu78
0
408

The End.