199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MSoft

How can we make of the game through Java Means programming games in Java How? please help me guys!!!:'(

Member Avatar for VernonDozier
0
205
Member Avatar for cafegeo

I am writing a program that accepts an input file of 10 items each having revenue across 4 quarters. In this particular function I have to determine if the items profit has steadily increased, decreased or went up and down across the 4 columns, or quarters(qu) as they are referenced …

Member Avatar for VernonDozier
0
2K
Member Avatar for koveras vehcna

Hi everyone, I have created a random text generator -ok, not so random, works with certain parameters- and at times it runs slowly. I looked up on the internet about speeding tricks and applied some of them that looked concurrent with my code piece. The code however, is still slow …

Member Avatar for woooee
0
206
Member Avatar for g-pita

Hi I'm trying to create a program that gathers data from some ADC connected and do some averaging on the data. It's build up around classes containing systeminterface and sensors making a datamodel. The program is pretty big, but has worked intil implemention of pthreads I wanted to create a …

0
116
Member Avatar for crazycat503

Hi, I am trying to come up wit a database design for a small school. it works this way: in AC-Year, there are 3 terms with each term having 2 semesters. New students get registered at the start of each term. A student may take entrance exam. if he fails, …

Member Avatar for boblarson
0
113
Member Avatar for cableguy31

I'm having a problem writing an unsigned char array to a file. When I write it to stdout using printf, it displays properly, however if I write it to a file, when I open it, I can't read the file. It looks like it may be writing the file in …

Member Avatar for Narue
0
741
Member Avatar for jfunchio

Can anyone help me figure out why the table movie_actor cannot be created and how to fix it? I know it's the only table without a primary key, but I don't see a need for one. [CODE=MySQL] create table actor ( actor_id int not null auto_increment, first_name varchar(20), last_name varchar(20), …

Member Avatar for pritaeas
0
162
Member Avatar for bops

How would one read an encrypted file's (encrypted using windows' EFS) header? I would like to be able to read the header and extract FEK that was encrypted by either the public or private key of the file. From reading up I understand the structure of the file header I'm …

Member Avatar for grehe
0
481
Member Avatar for pengkeanh

Hi All, I am working on optimizing the memory usage of my codes and I found a problem that I do not understand. Please let me know what you think. Code: [CODE]typedef map <pair<string, int>, vector<pair<int, float> > > TDM; void parsefile (TDM & my_map, string in_file); // parse input …

Member Avatar for Aranarth
0
290
Member Avatar for charchar88

I'm trying to get a C version of this game working on my computer using gcc on ubuntu. [url]http://www.lemoda.net/c/boggle/boggle.html[/url] I have no need for a pearl script or anything since I just have a simple dictionary text file and want to be able to just load in the text file …

Member Avatar for TrustyTony
0
377
Member Avatar for iwonder

Hi I`ve done with nuke, xoops, mambo etc for a year now . Now choosing from site like [URL=http://opensourcecms.com]OpensourceCMS[/URL] n all is pretty messy . ;) Can you suggest a CMS for a personal site , blog will do too . I`m thinking of wordpress , but it`s 1.5 is …

Member Avatar for mtroute
0
229
Member Avatar for ichigo_cool

I'm working on a map editor and the tiles show up i a file as [CODE]1, 0, 0, 1, 1, 0, 1, 1[/CODE] so here's a 4x2 map. I'm wondering how can I parse out the integers from the commas and assign them to a multidimensional array so that \i …

Member Avatar for ichigo_cool
0
4K
Member Avatar for pratibhamohanty

Hi, can anyone out there help! I have a default form and a button. On click of that button I want to export a particular crystal report(without actually displaying it) to pdf format and store it in a folder named as temp. Is it possible? Thanks in advance,

Member Avatar for Ronln
0
3K
Member Avatar for shyla

my question is: Write a function that accepts an integer parameter and returns its integer square root. The function should throw an exception if it is passed an integer that is not a perfect square. Demonstrate the function with a suitable driver program. i am getting that : Error 1 …

Member Avatar for shyla
0
2K
Member Avatar for cableguy31

First, yes this is a school project. That said, I have a seed, now I need to create a function that will create a byte array of random bits. The input for the function should be the number of requested random bits. Here's an example: [CODE]unsigned char* getRandomBits (int number);[/CODE] …

Member Avatar for cableguy31
0
138
Member Avatar for afnan92

hello i am new to this forum i am basically stuck with this programme and i need help....it is a brick game....i want to move the ball and slider at the same time without using threads....i am allowed to use the gotoxy function arrays and pointers thats it can anyone …

Member Avatar for WaltP
0
84
Member Avatar for cableguy31

Is there a way to gather network/internet traffic statistics? The end result is that I need to create a random number generator using some network stats as a random seed, so I need to pull information that is highly variable. Could be packet data (maybe sequence numbers), or traffic data …

Member Avatar for cableguy31
0
324
Member Avatar for Stogie2

I am looking for the correct way to initialize an array data member and why the following code produces the listed error. Thanks... [code] typedef struct tagsX { tagsX(int u, int v): a(u), b(v) {} int a ; int b ; } sX ; typedef struct tagsY { tagsY(sX *p, …

Member Avatar for Stogie2
0
215
Member Avatar for sushanth08

hi, im still a novice in c# programming im developing a windows form in visual studio 2010(krypton toolkit) in c# .net platform. i have a datagrid view in my form named stage2grid which contains a column called layout id. when i make changes to this layout id column which is …

Member Avatar for Mitja Bonca
0
4K
Member Avatar for CitizenSnips

This is a program I have to submit in a few hours that checks whether numbers are prime or not. I have it to the point where is tells me the correct answer, but for some reason my loop is infinite. I'm just in an intro class and I was …

Member Avatar for Jx_Man
0
161
Member Avatar for Nitin Daphale

In my project everywhere I get data(ex.customers) in a datatable and for further use I store it in session as [CODE]Session.Add("DtTblName",dt_Cust);[/CODE] And access through dt_Cust=(DataTable) Session["DtTblName"]; All is working fine, my concern is, Is it a right way to store heavy object like datatable store in session, to avoid database …

Member Avatar for Nitin Daphale
0
860
Member Avatar for rajeesh_rsn

Hi, I need to replace "-" from a string . Ie Just need a "-" between two words. ie standard format is : Hello-world-php If I got a string like this 'Hello--world----php' I just need to rewrite that in to 'Hello-world-php' format . Hope you understand this .. Please help …

Member Avatar for chrishea
0
183
Member Avatar for Wakesta

Someone help/direct me to understand where I have made the below errors from the build report? [CODE] #include <iostream> using namespace std; int main() { } void "welcome_screen"() { clrscr(); textcolor(RED); gotoxy(10,10); cout<<"**************** W E L C O M E *********************** "; gotoxy(15,12); cout<<"*** T O M A N C …

Member Avatar for Wakesta
0
208
Member Avatar for klemme

Everyone, Can someone see why this select box doesnt display the numbers, but only the default text? [CODE] <?php include_once "connect_to_mysql.php"; //Placing the page under the relevant subject, using a dropdown list $sqlCommand = "SELECT subjectid FROM pages ORDER BY subjectid ASC"; $query = mysqli_query($myConnection, $sqlCommand) or die (mysql_error()); while …

Member Avatar for klemme
0
219
Member Avatar for rutaba

i want to add marker in the google map embedded with my php site? and want to show information abt that marker? kindly can someone help me how can i do that usig google maps? waiting for reply thanx

Member Avatar for keval_hack
0
205
Member Avatar for merse

Hi everybody, I have a simple mathematical member function of a class: [CODE] struct shell { double mc, ms, r0, v0, a0, w; shell(double mc, double ms, double r0, double v0, double w); double absv(double r) const; }; shell::shell(double mc, double ms, double r0, double v0, double w) { this->mc …

Member Avatar for Narue
0
163
Member Avatar for bibiki

hey there, I downloaded the jxbrowser package that comes in the following folder jxbrowser-2.8-cross-desktop-win_mac_linux . I put it on a directory JavaBrowser on my desktop. I tried writing a java class that makes use of the package but my compiler complains for absence of the package. anyways, after reading the …

Member Avatar for mKorbel
0
131
Member Avatar for deeer

Hello, I have a question regarding reading a txt file and then putting the info in a link list. the problem is that the file contains 3 things to read a letter, a username and a password in the below format: S P2-output1.txt A Hanna hdfjuju first i must read …

Member Avatar for Ancient Dragon
0
122
Member Avatar for ptflyer

I have recently started a web company in China using MySQL and PHP as the development environment. Apparently the common practice here is to not create relationships between tables. They would draw out the relationship in the logical ERD, but when it came to the actual DDL, they would only …

Member Avatar for BitBlt
0
239
Member Avatar for joban.ali

Hi Everyone, I have integrated a Google Map on my website, which is working in good order. The maps data such as location lat/lng is coming from database. At present all the location markers are appearing on the map. I have a php page which draws out all the sql …

Member Avatar for keval_hack
0
305
Member Avatar for arjani10

Hello! I have an file php who want direct access in that file nobody can have access,i dn't know if is possible to block.... [CODE]<?php header("location:/path/?id=".$_GET['id']); ?>[/CODE] i put that in an embed page and run video avi.when i block direct access with htaccess video dont run.Is possible block direct …

Member Avatar for arjani10
0
212
Member Avatar for yunus2807

Please could someone help with this Project thank you and would also be much appreciated. CD Collection Write a program that stores details of a CD collection. Level 1 maximum 50% (depending on implementation, demonstration, viva and documentation) must include the following:  Declaration and initialisation of variables  Separate …

Member Avatar for JamesCherrill
0
161
Member Avatar for TinyBelly

Hye guys...im trying to create ScrollBar Horizontal on whole frame, i keep trying and do some research but still fail...Please help me...What should i add. This is the code. [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class listOfMovies extends JFrame implements ActionListener { private JButton jbtBatman, jbtAngels, jbtFaster, jbtDueDate, jbtHuman, …

Member Avatar for mKorbel
0
208
Member Avatar for Howdydoody

Im having some problems with using the vector pushback method through a structure. The push back method works in one part of the code and not the other. Ive been staring at it for hours and testing different things and i cannot get it to pushback in the section of …

Member Avatar for Howdydoody
0
484
Member Avatar for abhimanipal

Hello Everybody, I am on a Ubuntu system and I just came across /dev/random I tried searching for examples of how to use this utility (or file/ or command) to generate a random number but I cannot find anything. Quick note I am trying to generate a random number on …

Member Avatar for Narue
0
126
Member Avatar for azam3404

Hi, i am using ASP.NET.I want to insert command in asp.net using c#.How can i do?? thanx

Member Avatar for crishlay
0
105
Member Avatar for Shantanu88d

Hi, I have a web form. On it I am generating a gridview through a stored procedure. Now it has it's DataSource set to dataset object ds. After generating this gridview. I want to generate an xls file. The code for that is correct. But since I am calling a …

Member Avatar for crishlay
0
377
Member Avatar for manraj82

Hi guys, I am in the process of creating a login form in ASP.Net and I have not written any code for it yet bcos I dont know how to go about doing it.In the past I have created basic login forms in ASP.net by redirecting them to a page …

Member Avatar for crishlay
0
1K
Member Avatar for rizkiapriansyah

Hi everyone, I'm new to this oracle database, and i have a question. first I'm sorry if my question is misplaced. My company recently implemented a new ERP system, but unfortunately the ERP system doesn't have a financial module on it. so we planned to buy an oracle financial. and …

Member Avatar for hfx642
0
203
Member Avatar for denmarkstan

i cant really understand this error. from what am doing, "SS3B" comes from textbox6. and here is the sql code to insert it to database. But it keeps giving the above error. Beside, i am not converting anything. [ICODE]cmd.Parameters.AddWithValue("@FormedClass", TextBox6.Text.Trim())[/ICODE] Please where is this error coming from? And what is …

Member Avatar for crishlay
0
140
Member Avatar for Moirae

Hello everyone! I have field in database table that is image type. I have to create model for this table (mvc3) and I don't know which data type to use. Any hints??

Member Avatar for crishlay
0
72
Member Avatar for fusioninfosys

hi all I am new in asp.net. my company got a big asp project for updation. and it is a published website so that the source code is not available. how can i retrive the source code from the published? Is there any chance? If not what i do for …

Member Avatar for crishlay
0
106
Member Avatar for waqar100

I want to increase the data type of varchar(100) to varchar(200)?without any loss of data in the existing table?HOW

Member Avatar for crishlay
0
305
Member Avatar for eileenc87

Hi All, I would like to seek for help in the matter above.. How can I delete row data in datagrid?

Member Avatar for crishlay
0
294
Member Avatar for davidmhollis

I originally posted back in Feb. 2011 about needing to transform one xml file with another xml file.. thinking it would be a straight one for one transformation... but of course, it can't remain that easy! I now have to take multiple line items from the input file based on …

Member Avatar for davidmhollis
0
331
Member Avatar for Jaseem Ahmed

I have a MDI FORM, i have added a menu in it, now i want to add the pictures in that menu, but it is not displaying the pictures, while that same code i have tried on normal form, it works superb.but not working with MDI. [CODE]Option Explicit Private Declare …

Member Avatar for Jaseem Ahmed
0
130
Member Avatar for fawadkhalil

Hi all In my web application i have validation controls. On selected index change of drop down list i set Enabled property to false of certain validations but they are still enabled. Drop down list is inside update panel. Strange part is the that it works fine on my local …

Member Avatar for kvprajapati
0
98
Member Avatar for rustyone

I am using vb.net visual studio 2010 I have two comboboxes in the datagrid - one for Country and the other for State Province. Obviously the Country combo box controls what state/provinces to display. The trouble for rows with different countries - when the user is changing the state for …

Member Avatar for richardd
0
318
Member Avatar for artic

Hi, In our project, I wrote the below code to upload any file of size less than equal to 2MB, in my local XP system working fine, when i deployed to client server having config windows server 2003, i got request time error when size is more than nearly more …

Member Avatar for crishlay
0
196
Member Avatar for katmai539

Hello, I'm working on a hardware project based on the RabbitSys chips, which are ideal for web based hardware development. My task now is to divide a table up in pages and i'm able to set a variable from a webpage like "CurrentPage=1" and calculate my way around. the ZHTML …

Member Avatar for katmai539
0
329

The End.