199,124 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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, … | |
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? | |
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: … | |
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, … | |
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 … | |
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 … | |
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) … ![]() | |
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 … | |
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 … ![]() | |
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 +------------------+----------------------+ | … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
;) 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 … | |
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; } … | |
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 … | |
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: | |
Here's a quick, stupid question... is it possible to make an executable file for Java Application? and if so, how? | |
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 … | |
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 … | |
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 … | |
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, … | |
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, … | |
Please contact me. My current miva forum is being hacked badly and I need a new one. | |
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 … | |
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 … | |
I am using Internet Explorer browser .Does it support Javascript or I have to use other scripting languages? | |
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 … | |
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 | |
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 | |
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! | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
[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 … |
The End.