199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kevin wood

is there a script that will load the all the page objects before the next page is connected to. i have a flash menu and i want it to load up on to the server and then not have to be reloaded every time a new page is entered/accessed.

Member Avatar for kevin wood
0
100
Member Avatar for hilofat

[CODE]#include <iostream> #include <fstream> #include <string> using namespace std; int main() { ifstream fin; string firstName; string lastName; int horseNumber; int betAmount; fin.open("jockey.txt"); if (!fin.good()) { cerr << "File not found\n"; return 1; } for (int i=0; i<10; i++) { fin >> firstName >> lastName >> horseNumber >> betAmount; cout …

Member Avatar for hilofat
0
73
Member Avatar for bamabambhole01

Hello, I am new in c++. Can somebody send me code for class ellipse. I am looking urgently for code. Regards,

Member Avatar for bamabambhole01
0
90
Member Avatar for prethum

hi i have a simple form where users can upload only images ,i am storing the path to myql and actucal image to a folder on the remote server but when i submit the form iget the image path in my database but not the image in the folder the …

Member Avatar for prethum
0
107
Member Avatar for blaater

Hello, Currently I'm working on a funtcion which has to eval() some events from a string i'm injecting into the dom. The problem is that i've tested my regular expression on [url]http://www.regular-expressions.info/javascriptexample.html[/url] and every time it works perfect. Only when I implement it in my website it doesn't work. The …

Member Avatar for blaater
0
102
Member Avatar for jennyebrooke

Okay I'm gonna be honest with you... I have no idea what I'm doing... no not even a little. I'm in an online C++ class that I'm only taking because it was the last required course for me to graduate this semester... This is the last assignment due and I …

Member Avatar for littlestone
0
107
Member Avatar for tejalrupera

Hi, I have made one web application with the use of AJAX. On each page i am sending lots of AJAX request. I have two pages called parent and child. child is opened from the parent page. Now when i am closing child page before all the request sent by …

Member Avatar for tejalrupera
0
78
Member Avatar for ZaphodQB

I have a web page which I can login to with a user name and password and when the page reloads of the first time after the signin the session loads and has my status correct but just navigating to another page (all done through the same php file with …

Member Avatar for vinothkumarc
0
130
Member Avatar for saintb

he i made a simple reservation system please help me with code on how i can cancel a reservation [code=java] import java.util.Scanner; import java.util.Date; public class reservation { // Create an array of 12 seats, 6 window and 6 aisle. private static int[] seats = new int[12]; public static void …

Member Avatar for saintb
0
720
Member Avatar for Jennifer84

If I have a 2D vector like this that has 5000 elements declared. If I have filled 2500 of these elements with Numbers, what is the best way if I want to "emty" these elements so these elements will turn to 0 wich I beleive is the defaultvalue for all …

Member Avatar for vijayan121
0
248
Member Avatar for Indianblues

Hi , I am new to c++. I am reading "C++ How to Program" .In one example author divided the program into 3 files. The first one is Gradebook.h which contains prototypes. second Gradebook.cpp which contains actual implementations of member functions of Gradebook.h. last file is fig03-14.cpp which contains objects …

Member Avatar for Indianblues
0
178
Member Avatar for thirusvga

Hi.. I am new in php +ajax.....Now i am doing project in php+ajax+linux environment...i create a login page using php,ajax,mysql,, i have mysql tables are. register,slideshow,,,,,In register table having following field... 1.uid (autoincrement)2.first (firstname)3.last(surname)4.user(username),5.pass(password) In slide show table having following field,,, 1.uid 2.pid(presentation id,autoincrment) 3.slideno 4.description 5.location(this is what image …

Member Avatar for thirusvga
0
179
Member Avatar for bustedsfnewkia

I've searched Google and have not found a solution to my problem. Function is to take a parameter and do a calculation on it. Based on the initial conditions it is supposed to return true and the the value calculated via a reference parameter. Basic code before all modification to …

Member Avatar for littlestone
0
105
Member Avatar for hacker9801

Hey. Right now in my game (online) I'm using std::vectors to store player info. Should I continue to use them (I hate having to loop thru them each time to find a player) or should I use MySQL to hold player information (like map their on, nickname, id, position, etc.)?

Member Avatar for Rajith Cherian
0
120
Member Avatar for navvin_20

Hi I am a beginner to asp.net. Could any one please help me ... I have a database table with two colums ( column one has all the countries and column two has all the capitols of that particular country.) In my .aspx page I have a dropdown list and …

Member Avatar for ushalakshmi
0
164
Member Avatar for dilbert_here00

Hi All, Is it possible to flush the buffer of "popen2.Popen3(cmd)"after some time interval? I am starting a server forever using the popen2 module. After some time the buffer gets full & it stops logging messages. As a workaround to this, I am redirecting the output of 'cmd' to a …

Member Avatar for dilbert_here00
0
119
Member Avatar for mrcniceguy

i served my website file in FTP(school server) but now i can not open it via my computer, When i use others computer it opens Is there anyone who nows What i can do To make it work?????????? thankx

Member Avatar for digital-ether
0
93
Member Avatar for shellsy

Hi guys, I'm working on this problem I've been struggling with for a while now. I'm still confused about parameters and I'm getting all these error messages, saying that a lot of my variables are undefined. I'm sorry, I know this probably looks like a mess right now, but if …

Member Avatar for shellsy
0
356
Member Avatar for isi4h

I'm using delphi 7, if anyone could let me know how to compile this code i would be grateful. thanks. [CODE]unit UIRT; interface uses SysUtils, Classes, Windows, SyncObjs, Dialogs; // USB-UIRT DLL API Constants... const CRLF: string = '\r\n'; INVALID_HANDLE_VALUE: integer = -1; ERROR_IO_PENDING: integer = 997; UUIRTDRV_ERR_NO_DEVICE: integer = …

Member Avatar for Duoas
0
149
Member Avatar for Cosa

Here is my code, the aim is to use dynamic memory and pointers. The program siccesfuly reads in data from a text file into the dynamic array(matrix). The size of the array is also in the text file, so thats how the size of the array is known. I am …

Member Avatar for Cosa
0
241
Member Avatar for eranga262154

Hi all, Here is the structure of my XML file. [CODE]<?xml version="1.0"?> <data> <key>468</key> <name>pal</name> <option>10</option> </data>[/CODE] I want to read the option tag value, then increment it by 4 and write it to the same location. So at the end XML file content like this. [CODE]<?xml version="1.0"?> <data> <key>468</key> …

Member Avatar for eranga262154
0
111
Member Avatar for hallinan

Hi I'm doing a project in java.It is the game othello.It was all going well till i got an [B]ArrayOutOfBoundsException[/B]. the array is this buttons[9][9]; If you dont know othello it's a board game with an 8x8 board. The Exact error is "ArrayOutOfBoundsException: 9" and give the lines which the …

Member Avatar for hallinan
0
517
Member Avatar for wleemitch

Hi everyone. I need help with an assignment that calls for a puzzle. The puzzle has five levers, numbered 1 to 5. All the levers must be down to complete the puzzle. The program produces a random puzzle each time it is opened or a new game is played. It …

Member Avatar for John A
0
107
Member Avatar for CoolGamer48

I keep getting D3DERR_INVALIDCALL from my CreateDevice() call. Here it is: [CODE]long dev_result = d3d->CreateDevice(D3DADAPTER_DEFAULT,D3DDEVTYPE_HAL,m_window,D3DCREATE_MIXED_VERTEXPROCESSING, &d3dpp,&m_device);[/CODE] I think the problem is with m_window. Here's its creation: [CODE]if((m_window = CreateWindow("WindowClass",m_setup->name,g_deviceEnumeration->IsWindowed() ? WS_OVERLAPPED : WS_POPUP,0,0,800,600,NULL,NULL,m_setup->instance,NULL)) == NULL) { MessageBox(NULL,"Error creating the window","CreateWindow()",MB_OK | MB_ICONERROR); return; }[/CODE] It's really weird. I put breakpoints …

Member Avatar for CoolGamer48
0
295
Member Avatar for JakeCourtney

Hey, I've recently started to learn Java with a little prior experince in C++. Only the basics. I was just wondering if there any pointers for getting this language down. I'm talking about stuff that I won't pick up from some book or exercise. Something you've all come across in …

Member Avatar for peter_budo
0
179
Member Avatar for rysin

How do you add to a variable that is inside a foreach loop? Everything I try hasnt worked.

Member Avatar for rysin
0
115
Member Avatar for gehad3003

Hi I have a homework assignment that ask you to complete an empty project that contains a queue and stack. the data should be stored in a circular array. Functions of the queue are: pushBack : to insert in the back pushFront : to insert in the front popBack : …

Member Avatar for gehad3003
0
184
Member Avatar for scru

Hi. I want to have a drop down list that display's images instead of text when it's active, but returns to text once the user selects it. I was wondering if someone more experienced in the DOM could give me some pointers.

Member Avatar for scru
0
122
Member Avatar for Nemoticchigga

Does anyone know how to get winsock2.h functions to work in a thread created by CreateThread(....)? All my code works outside a thread, but when I put it in the thread, it cannot bind the socket and read from etc. Thanks.

0
60
Member Avatar for webguru07

I need to get information from 2 tables in the same mysql database [code=php]$sql = mysql_query("SELECT * FROM notes, customers WHERE `to`='next' LIMIT 5"); while($a = mysql_fetch_array($sql)){ $row_color = ($row_count % 2) ? "#EFEFEF" : "#FFFFFF"; echo("<tr bgcolor=\"$row_color\"> <td height=\"25\">" . $a['custid'] . "</td> <td height=\"25\">" . $a['name'] . "</td> …

Member Avatar for prethum
0
271
Member Avatar for lech0030

Hello, I have this very simple batch file that contains one command: xsltproc -o output.html stylesheet.xsl input.xml When I double-click the batch file, everything works fine. However, the batch file doesn't work when I execute it from my vb.net application: [code=vb.net] Dim p As New System.Diagnostics.Process p.StartInfo.FileName = "[I]path[/I]\go.bat" p.Start() …

Member Avatar for Jx_Man
0
279
Member Avatar for nsandestin

Is there something similar to a LIKE function in python? What I'm trying to accomplish is to search inside a string, if it finds specific criteria it sets another variable to a specific value. In other scripting languages I have used a LIKE function to do this but I can't …

Member Avatar for nsandestin
0
121
Member Avatar for c++noobie

I am currently using Kubuntu 8.04. Although I do not know any bash, I altered the bash shell (via internet guides) to append history instead of truncating the history file. After editing the shell, the default way to clear the history only clears the interactive history and not the actual …

Member Avatar for c++noobie
0
155
Member Avatar for lawrenceh

Hi all, My first post on this forum. I am trying to move a counter on a board and I am trying to use Web browers as the user interface. I have written the following test code, where x and y are generated by the server and passed to function …

Member Avatar for lawrenceh
0
219
Member Avatar for linux

Essentially, what I want to do is get rid of MIDI files, when creating a sequencer. So, say I have a text file (that would be my pseudo-MIDI): [code]A |----------------| Bb |----------------| C |----------------| Db |----------------| D |----------------| Eb |----------------| E |----------------| F |----------------| Gb |----------------| G |----------------|[/code] As that …

Member Avatar for Ene Uran
0
85
Member Avatar for RedStarlight

I have been given some C code to compile which is several years old and need to compile it to see exactly what the program does. I know visual basic to an amount but i haven't touched C before. Anyway, how do i go about compiling the C code when …

Member Avatar for RedStarlight
0
140
Member Avatar for wyno

hi there, my 1 year old carpet python is eating a jumbo rat every 3 days wat is the next thing to feed after jumbo rats please advise thanks wyno

Member Avatar for Ene Uran
0
88
Member Avatar for Jx_Man

Hi All... i m newbie with ruby. a couple weeks ago i was reading book about oracle 10G XE then i found a new language that i never heard before named Ruby on Rails. i was exited and want lo learn many about this language. so, please help me to …

Member Avatar for pty
0
156
Member Avatar for bodhankaryogesh

Hi, I am getting an error C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cstdio(17) : error C2143: syntax error : missing '{' before ':' C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cstdio(17) : error C2059: syntax error : ':' I've declared a namespace in my header file. In that i have some string manipulation …

Member Avatar for Narue
0
103
Member Avatar for Ramon78

I have created a project including some controls like labels, textboxes and buttons. When I click the print preview it shows me the print preview of the form and their controls. But without the background of the form. It would be nice to have a picturebox on the form so …

Member Avatar for tgreer
0
141
Member Avatar for simps0n

Hello, guys! I have to generate 10 different numbers. What I do is to store the generated numbers in array. Before that I check the array for duplicates. It compiles, but I get some duplicates. Thanks in advance for any help.[CODE=Pascal]program rand; {$APPTYPE CONSOLE} uses SysUtils; var j, i, a, …

Member Avatar for DevonMcC++
0
1K
Member Avatar for skyineyes

Hi I know its a bit odd but i am freshly new to java and in a real need to solve few progs by EOD . Really stressed ..please help me out in solving below progs ... ************************** Task 1 Write a visitor for a structure of Strings (i.e. one …

Member Avatar for jwenting
0
108
Member Avatar for punmeister

Wohoo, first post. I have a problem with my code, the problem is that instead of writing "%" in res, when the pattern "%%" shows up, it writes it out as "%%" anyways. Currently I have it working so it works as strcpy. Seriously, I don't understand what I'm doing …

0
111
Member Avatar for Pja

I am using vb.net 2003 and sql server 2000 as backend. I would like to do searching that will receive several input from user (input from textbox,combobox and radio button) that will retrieve data from sql server and display the output in textboxes and picture box. I can do the …

Member Avatar for Jx_Man
0
126
Member Avatar for ninjaimp

Hi I have an if statement which checks if a value has been entered and if it hasnt it pops up with a message box and tells the user. Now if the if statement is in the same Sub as the code that is executing it works fine, but if …

Member Avatar for Jx_Man
0
273
Member Avatar for jimJohnson

I am in the middle of a program and have a quick question and not sure how i do this... "have the Frame display in the center of the monitor " [code=java] //import packages import java.awt.*; import java.awt.event.*; import java.awt.datatransfer.*; import java.text.DecimalFormat; import javax.swing.JOptionPane; //create a subclass at the fram …

Member Avatar for jimJohnson
0
143
Member Avatar for lostandfound

Hi again, Can anybody tell me how to make use of the checkbox in the Listview control. I would like to make use of the checkbox box in order to indicate a finished task. This would require relating the tickbox to a value in a database. I have no problem …

Member Avatar for Jx_Man
0
295
Member Avatar for ryy705

Hello, Is there a way to send smtp mail without messing with php.ini file? A lot of server don't seem to give access to that. Thanks in advance.

Member Avatar for digital-ether
0
716
Member Avatar for sisi

I have to write a programme `r=1/x+2/x^2+3/x^3+....n/x^n` i write the program but cant get the answer can someone correct me faster plzz //#include <iostream> //using namespace std; //int main() //{ //int n=0,i=0,j=0; //double x=0,r=0; //double numerator,denominator; //cout<<"Please enter a value for n:"; //cin>>n; //cout<<"Please enter a value for x:"; //cin>>x; …

Member Avatar for sisi
0
167
Member Avatar for kevindougans

Hi there, Hope someone can help... I'm developing a "Startpage" for a client's customers. He wants all information relevant to his clients to be displayed on 1 web page. We have come up with [url]http://www.systemattend.com/index.php[/url] All is well until we tried logging in to Novell Groupwise. It seems it won't …

Member Avatar for digital-ether
0
206

The End.