199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for the b

Hi, it's been awhile since I've been here and the site has changed quite a bit, I like it. Anyway, I attempted to make a basic calculator program, but I'm getting some weird error messages. The error messages tell me that there are syntax errors, but I've looked through the …

Member Avatar for the b
0
169
Member Avatar for dsgnews

Hey folks, I need your help. I stuck with my Database project. I have five tables on the database: These are Room, Guest, Booking, Employee and Admin Room (room_ no, room_ type, price) Guest (guest_ no, Fname, Sname, address,…) Booking (room_no, guest_no, Fname, Sname, arrival_date, departure_date, emp_no, user_name, password) Employee …

Member Avatar for DanceInstructor
0
115
Member Avatar for jeymine

Hi guys, I am working on a project on playing cards using enum and class. I really need help with the function defination in this project, Here i will attach the question, your help will be highly appreciated. You can get bac to me trough jeymineb at yahoo.co.uk. Thanks. If …

Member Avatar for marinme
0
2K
Member Avatar for Commander Salam

Hi everyone, I'm trying to: (1) take an excel spreadsheet with two columns of data (2) convert to tab-delimited text file (3) import into perl as a hash I've managed to import as an array: open (LIST1, "list1.txt") || die "File not found\n"; while (<LIST1>) {push(@list1array, $_)}; close LIST1; However, …

Member Avatar for Commander Salam
0
403
Member Avatar for stupidenator

I went to a Computer Science and Engineering Day at the University of Nebraska today and now I feel really motivated to program something. The only problem is, I don't have any idea of something to write. Is there some special trick to coming up with ideas for new programs?

Member Avatar for stupidenator
0
232
Member Avatar for hbmarar

hi This is the error ocurred while processing request:=- [COLOR=Indigo]The Error Occurred in C:\CFusionMX\wwwroot\CFportal\themes\metal\menu.cfm: line 1 Called from C:\CFusionMX\wwwroot\CFportal\index.cfm: line 18 Called from C:\CFusionMX\wwwroot\CFportal\themes\metal\menu.cfm: line 1 Called from C:\CFusionMX\wwwroot\CFportal\index.cfm: line 18 1 : <cfquery name="menu" datasource="#dsn#"> 2 : SELECT * 3 : FROM cfmenu -------------------------------------------------------------------------------- DATASOURCE Please Try The Following: …

Member Avatar for hbmarar
0
112
Member Avatar for autocrat

OK, a friend of a friend asked me to look into building a online cane builder. The cane can have a variety of different cuts, grooves, handles etc. In all, I thought it best to create a 2wide 4high grid containing a basic cane, and depending what they clicked on, …

Member Avatar for autocrat
0
175
Member Avatar for rafalkw

I use VC++ 6.0 WinSNMP Programming I have problem with WINSNMP. I use function smiUINT32 dwMajor, dwMinor, nLevel, nTranslate, nRetransmit; SnmpStartup(&dwMajor, &dwMinor, &nLevel, &nTranslate, &nRetransmit); and during linking it shows errors : Linking... AlaDlg.obj : error LNK2001: unresolved external symbol _SnmpRegister@24 AlaDlg.obj : error LNK2001: unresolved external symbol _SnmpStartup@20 Debug/Ala.exe …

Member Avatar for Narue
0
155
Member Avatar for Purps

I've read some of your thoughts on student postings and while I am keen to do things on my own behalf I have hit a wall. I've slaved at this project, mainly because I've not done any programming before, but i can't get my code to run and can't seem …

Member Avatar for Narue
0
247
Member Avatar for WRobertson

I've been impressed by MySQL's ability to run as a database on a server with clients connecting using a client-server or web based architecture. I'm now wondering if a version of MySQL can be cost effectively licenced to run with application software (which might traditionally have used a Jet database) …

Member Avatar for nicentral
0
308
Member Avatar for cap2361

I am having problems with error checking. I want to ensure that the user puts in a name with characters and not use numbers. My thinking is that since player_name is data type char that using ( !player_name) should indicate not to input an int. any suggestions on how to …

Member Avatar for Narue
0
312
Member Avatar for hbmarar

hi, please anyone help me with this.I have a database 'hbm' which contain a table called hitted having 2 columns(id,hit). I inserted a record with id=1. Now i need to query this database. define("hit_TBL","hitted"); "select hit from" . hit_TBL. " where id=1 and LIMIT=1"; throws error. request members to help …

Member Avatar for nicentral
0
113
Member Avatar for enh1105

I'm having trouble figuring out how to query multiple tables. (Note: I've greatly simplified the tables for clarity purposes) I have 2 tables: Invites and Purchases The invites table has the following fields: email & invitee The purchases table has the following fields: useremail & product Invites tables +------------------+----------------------+ | …

Member Avatar for pcschrottie
0
314
Member Avatar for hbmarar

need to update each records after record hi, Would anyone share with me a code that can be used for this logic. If i delete from a x records, record u.I need to update each records after record u till record x.the updation need to be carried out for the …

Member Avatar for hbmarar
0
167
Member Avatar for davespink

Hi, I want to take a shot at writing an Apache RewriteMap in PHP. The example they give is in perl, which I don't know. The perl example is here [url]http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteEngine[/url] I'm not going to do anything to ambitious, but they do give a warning that if you get it …

Member Avatar for davespink
0
202
Member Avatar for jhdobbins

i have win xp home edition... and my compiler is dev-C++ although i dont think its a compiler issue.... This is my project needs: (my attempted code follows) ( Write a main function with all required internal functions subprograms (defined later) that tracks your college classes, grades and GPA. Sample …

Member Avatar for jhdobbins
0
155
Member Avatar for Atomica

I am working on a site for a school project and all I have access to is php and html. I would like to be able to run some MySQL - but I am unable to find a place that will remotly host it for me. Does any one know …

Member Avatar for Phaelax
0
132
Member Avatar for corewizard

Hi there, I am looking for somewhere to get that "contribute code" core of this forum, I need something similiar to it for a friend of mine, and I am too lazy to do it myslef, where did this forum get it from, was it customly made?

Member Avatar for Phaelax
0
144
Member Avatar for costasgr43

I am making a 3D RTS with C++ and DirectX 8(i may even upgrade it to 9) and have just started a month ago. [B]I dont have major problems[/B] with the graphics engine neither with the AI (logic, pathfinding, computer players etc). My major problem is that [B]i need modelers …

Member Avatar for Phaelax
0
240
Member Avatar for buck_nakie

Hi all, I am learning to write with PHP and am stuck and need some wise souls help. In a nutshell I need to be able to take grab a DB coulmn status and then count how many times it gets updated and output that number to a file and …

Member Avatar for Phaelax
0
86
Member Avatar for Acidburn

Hello, I've coded the following which works to a certain extent! I've managed to get the vectors working with int but not with my class... [php] #include <iostream> #include <vector> using namespace std; class BankAccount { public: //void setAccount(int num, double amount); taken out replaced by constructor BankAccount(int num, double …

Member Avatar for Narue
0
140
Member Avatar for gicio
Member Avatar for JoBe

;) Hello ladies and gents, Ive written this class time in wich I have to use operator+ to increase the hour with a certain amount of minutes like this: time t0 (23, 59), t1; // t0 = 23.59 t1 = t1 + 120; // t1 = 1.59 Problem is, I …

Member Avatar for Narue
0
646
Member Avatar for Acidburn

sorry about the lenght of code: [php] #include <iostream> using namespace std; class Shape { public: Shape(int,int); Shape (); virtual ~Shape(); virtual void print()const = 0; virtual double calArea() = 0; protected: int centreX,centreY; }; ////// CONSTRUCTORS //////////////////// Shape::Shape(int x, int y) { centreX = x; centreY = y; } …

Member Avatar for Narue
0
215
Member Avatar for sinrtb

I have a few questions that I was hoping somone here could answer. 1. how can i pause my cout output? or is it possible to do it without calling a system command 2. is there a way to clear the console screen without makeing specific os comands? 3. does …

Member Avatar for Narue
0
131
Member Avatar for sam1

hi i have a laptop which runs windows xp but i really want to use linux does any one know how can i run both in one if it is possible :rolleyes: :rolleyes:

Member Avatar for amos
0
204
Member Avatar for stupidenator

Here's a quick, stupid question... is it possible to make an executable file for Java Application? and if so, how?

Member Avatar for jwenting
0
186
Member Avatar for alienpyro

I know there is something wrong with this code because I got an error message but Im not sure exactly what. THis is all on one line within dreamweaver. Here it is: echo '<a href="?pageState=Database" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('database','','Images/databasebuttonpushed.gif',1)"><img src="Images/databasebutton.gif" name="database" width="200" height="30" border="0"></a>'; Any help is appreciated. Btw it pointed to …

Member Avatar for Alcides
0
171
Member Avatar for server_crash

I have an application that has a fractal already drawn, but I have three JSliders that allow the user to zoom in out, shift the x axis, and shift the y axis. I think it's plotting around 160,000 points, and the refresh is quit noticible. I was wondering if there …

Member Avatar for server_crash
0
207
Member Avatar for Kelleyj

I have a datagrid that is populated with data. If the operator scrolls off to the click on a field that is off to the right (not initially displayed on the grid) ---- then the operator does something that needs to repopulate that data with a different set of information …

Member Avatar for Kelleyj
0
221
Member Avatar for sunandoghosh

Hi everyone First of all I am glad that i found this forum...I would like to humbly request all the knowledgeable people here to express their views on this........ I am an accountant by profession and completely novice to the world of computers.All i know is how to check emails, …

Member Avatar for Narue
0
191
Member Avatar for curiousdan
Member Avatar for mediaphyte
0
227
Member Avatar for hbmarar

hi to all, please do suggest me y this error? 0063 $result = mysql_query($sql) or die(mysql_error()); 0064 0065 [U]$admine-mail = "admin@yoursite.com";[/U] $adminpass = "admin"; $adminname = "Admin"; $sql = "INSERT IGNORE INTO cms_users VALUES (NULL, '$admine-mail', '$adminpass', '$adminname', 3)"; $result = mysql_query($sql) or die(mysql_error()); [B]Error :[/B] Parse error: syntax error, …

Member Avatar for mediaphyte
0
172
Member Avatar for wrestlingreport
Member Avatar for mediaphyte
0
153
Member Avatar for Rose Aashii

below is my code the whole program is for prompting user to enter 10 nos. b/w 20 to 100 it will while is there to check wheter the user entr the corect number or not, it will also check that the entered number is unique and was not previously entered …

Member Avatar for Narue
0
229
Member Avatar for billkeir

Can anyone help me by advising me on how it would be possible to capture a still image (from a web cam) directly into an HTML screen (running via IE 5.5) and the image being stored (along with other manually supplied text) back into the Oracle 9i database??? I would …

Member Avatar for vikrantshirsath
0
852
Member Avatar for sham

I am using Internet Explorer browser .Does it support Javascript or I have to use other scripting languages?

Member Avatar for Dani
0
358
Member Avatar for ultimate_fusion

I am making a game and need a hell of alot of varibles. it is all so GUI so I need alot of Jbuttons. can I do it like something what I have below??? char[] mine=new char[3]; for(int count=0;count<10;count++){ //String add = "one"+count; JButton mine[count] = new JButton(""); } heres …

Member Avatar for server_crash
0
136
Member Avatar for Seyha Eng

I have code: Dim i As Integer --------------------------- Private Sub cmd1_Click() Randomize i = Int(20 * Rnd()) Label1.Caption = i End Sub --------------------------- What code should I add more to show "[B]i[/B]" not the same number? Please someone help me! Thanks! seyha

Member Avatar for invisal
0
135
Member Avatar for mpx10

im still struggling to print an invoice that i have made in pascal to a usb port printer. any help please. i have tried using various inbuilt function but have had no luck probably because im coding it wrong. thanks in advance

Member Avatar for Jackrabbit
0
392
Member Avatar for Toulinwoek

Does anyone know anything about an opensource C# IDE called SharpDevelop? I'm looking for something to learn with, and don't want to get something that's not going to do me much good. Thanks for any info!

Member Avatar for Toulinwoek
0
246
Member Avatar for Bud4java

Greetings all, I'm trying to use the Math.pow(2, b) in the following manner. The program prompts for a user input (int). It then takes the user int and puts it into a forumla that (amoung other things) computes the number 2 to the input's power. (Thus I'm using the Math.pow(2, …

Member Avatar for Bud4java
0
153
Member Avatar for bluesmiley

can someone tell me why it is telling me that class Bomb doesn't exist because it does. here is my code: [CODE] import java.io.*; public class MineSweep1 { static BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); static private Bomb[] bmbArry1 = new Bomb[5]; static private Bomb[] bmbArry2 = new Bomb[5]; static …

Member Avatar for paradox814
0
165
Member Avatar for The Angel

Hi guys I want to write program in assembly language to read string from user and replace each symbol * in string to E but i do not know how i can replace * to E after read string>>>Iam begginer in this language this is my code and i hope …

Member Avatar for The Angel
0
183
Member Avatar for r0berth1

I am a noob and would like to write a program that will take user input for a server name, plug that server name into a drive mapping statement, check for certain files in the mapped dir, and copy files to a backup location. I don't know where to start …

Member Avatar for r0berth1
0
160
Member Avatar for Antonbomb22

ok im getting this error: [quote] Warning: fopen(./wsdlcache-f432c1d245d446687acdb4930044de4e.lock): failed to open stream: Permission denied in /xxxx/xxxx/public_html/store/lib/class.wsdlcache.php on line 103 Warning: flock(): supplied argument is not a valid stream resource in /xxxx/xxxx/public_html/store/lib/class.wsdlcache.php on line 105 [/quote] Im using NuSoap and i have it so the lib directory can be written to …

Member Avatar for DanceInstructor
0
102
Member Avatar for kalel21

Good evening friends, First off I would like to take this opportunity to thank everyone who contributed to my first post "How long does it take to learn assembly and how difficult is it?" :D I would like to thank cscgal, Narue, Kc0arf in particular for their help. ;) Although …

Member Avatar for kalel21
0
220
Member Avatar for mtumavrick

I'm using a javascript like this to transfer to another page (a popup that occurs conditionally) string popupScript = "<script language='javascript'>" + "window.open('Duplicate.aspx', 'CustomPopUp', " + "'width=800, height=600, menubar=yes, resizable=no')" + "</script>"; Page.RegisterStartupScript("PopupScript", popupScript); My question is how would I get data from the first page to the second one, …

Member Avatar for mtumavrick
0
100
Member Avatar for EddyJiang

I really need your help on it.My application is supposed to capture every single user input and store in session variable session("MyCat") in the form of datatable. When page is first loaded, datatable will be initiated and session created. And all subsequent user input will be added in session("MyCat") by …

Member Avatar for Paladine
0
202
Member Avatar for byte_me

[code] /* v_regdb.c ****************************************************************/ /* */ /* */ /* */ /* This is a maintenance program for an existing Vehicle Database. */ /* The program is an interactive menu system, which allows the user to */ /* edit, delete and insert records into an existing database. */ /* All input …

Member Avatar for byte_me
0
188

The End.