199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for eignhpants

I have a class which includes a constructor that holds hours and speed, getters and setters, and a method which calculates distace using the hours and speed variable. I need this to display a table which takes however many hours the user inputs, then for each hour display a row …

Member Avatar for eignhpants
0
2K
Member Avatar for bluekb

#include <stdio.h> #include <stdlib.h> #include <string.h> #define FILE_NAME 20 #define LIST_SIZE 50 typedef struct { char *name; int score; }RECORD; float calMean(RECORD list[], int count); void sortData(RECORD list[], int count); int main (void) { // Declarations float mean; float median; FILE *fp; char fileName[FILE_NAME]; RECORD list[LIST_SIZE]; char buffer[100]; int count …

Member Avatar for bluekb
0
169
Member Avatar for markchua89

package Assignments1; public class project { public static void main(String[]args) { While (we have money left to spend and (itemNumber <=max number of items)) { Display amount of money left and number of items that can be bought. Read cost of proposed purchase if(we can afford the purchase) { Display …

Member Avatar for markchua89
0
184
Member Avatar for Suzie999

Hi. I am looking at creating a small app which will gain access to and use the Internet Explorer DOM. I want to access the DOM of an existing instance of Internet Explorer. The app will be basic and simple, and will be first used to retieve properties of web …

Member Avatar for Suzie999
0
539
Member Avatar for nexy

How could I pass value entered by user, using tkinter’s Entry to another object? I manage to print it, but couldn’t sent it further… Here are parts of the code: def novo_vreme(): vreme1 = Vreme() root1 = Toplevel(root) root1.title("Vreme") naziv = "Vreme" L1 = Label(root1, text="Zadržavanje: ") L1.place(x=10, y=30) E1 …

Member Avatar for nexy
0
3K
Member Avatar for Naga14

Hi, Need to Optimize the below Query. In database around 5,00,000 Records are there. Below query is taking around 1 min. to 1.30 min Execution Time. Need to optimize the query so that the result will be fetch in 5 to 10 Seconds. We've used full text indexing for Website …

Member Avatar for masterjiraya
0
164
Member Avatar for frankie.bailey.14

I am tring to have a user click the submit buttion and the status of that row/room will become closed and the user can reserve more than 1 room at a time <html> <head> </head> <body> <?php //include database configuration include 'config_open_db.php'; //selecting records $sql="select RoomNumber, Type, Cost, Status from …

Member Avatar for masterjiraya
0
429
Member Avatar for modesto916

Hi, I'm a computer science student, my O.S teacher asked us to write a operating system simulator in java, each group of students should write a piece of the simulator, like memory management, process scheduler, file system, etc. My group needs to make the file system part, it's more like …

Member Avatar for gusano79
0
158
Member Avatar for solomon_13000

I am a Java developer but out of curiousity I would like to find out why is it not necessary for a method to declare an exception when coding in C++? So does it make C++ a weaker language since it enforces a weaker rule?

Member Avatar for mike_2000_17
0
228
Member Avatar for ralph.d.abernathy.1

Hello everyone. I'm working on a project that acts as a function generator to output a sine wave. The program also outputs an excel file with all of the data points so one can plot the points. For some reason, when I add noise, the graph does not look right. …

Member Avatar for ralph.d.abernathy.1
0
422
Member Avatar for lilbluemonky

I am having some problems with a program that I have due soon....I could use some serious help. I am going to post the requirements in this post, if you can help please let me know!

Member Avatar for annefr
0
172
Member Avatar for savedlema

Hi all! I'm trying to perform a mysql database from vb.net. I use this code: Process.Start("C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.44\mysqldump.exe", "--user=root --password=mypassword " _ & "--host=127.0.0.1 --databases MySQL databasename -r ""C:\GreatestHR Backup\BackUpDataBase.sql""") When this code runs, a command prompt window opens and goes away immediately that i can't even …

Member Avatar for savedlema
0
704
Member Avatar for Marvels

I'm pretty new at making a windows application (ASP background). I have successfully developed a small WinForm application that does nothing fancy. It runs fine it debug mode and operates as expected. I build the solution and is produces the executable in my release folder bin\release. I can then run …

Member Avatar for ddanbe
0
212
Member Avatar for sai.aleenus

can someone help me with the development of a hook and jeeves pattern search optimisation in c programming with graphical visualisation in step wise. a function bhp is to be minimised by effective selection of 2 parameters x1 and x2 while bhp has been passed x1 ans x2 as arguments …

Member Avatar for Schol-R-LEA
0
711
Member Avatar for jhon1987

Hi, Actually I am developing an application in python in which I want a feature by which the application can detect whether any name is male or female name. I did Google search on this, but could not find any algorithm/code by which I can do it. So finally I …

Member Avatar for David1123
0
1K
Member Avatar for cthajeb

Hi, I am writing a sudoku solver program that uses recursion to solve all the empty cells. However, I have no idea why my function did not do anything. I read in my puzzle as double char array and convert it to double int array. My output is : 900020750 …

0
293
Member Avatar for ryan311

Can anyone help me. My code is not working this is cascading drop down list. It's connected to my database. Jquery Code: <script type="text/javascript"> $(document).ready(function () { $("#SiteId").change(function () { var idDept = $(this).val(); $.getJSON("Service/GetBuildingNameList", { id: idDept }, function (myData) { var select = $("#BuildingID"); select.empty(); $.each(myData, function (index, …

Member Avatar for LastMitch
0
445
Member Avatar for joshl_1995

Hello Community, I'm having trouble receiving emails from my website. This is the email address i'm sending from "no-reply@[randoma.co](http://randoma.co)" and my website is hosted by [GoDaddy](http://godaddy.com). The email address i'm trying to send it to is a hotmail email address but i have upgraded my hotmail to an outlook account. …

Member Avatar for LastMitch
0
302
Member Avatar for mlowe

[Click Here](http://www.jrjinc.com/project-portfolio-retail.php) I've added 8 pictures to the existing image gallery, using the same format as the existing images. When an image is clicked the originals show but the new ones don't even though they are counted in the image totals. Is there another file I need to edit to …

Member Avatar for mlowe
0
328
Member Avatar for sumon_ahona

<?php $cardno = $_POST['cardno']; $c_status = $_POST['c_status']; $V_idno = $_POST['V_idno']; $c_name = $_POST['c_name']; $m_name = $_POST['m_name']; $f_name = $_POST['f_name']; $Phone = $_POST['Phone']; $email = $_POST['email']; $profession = $_POST['profession']; $age = $_POST['age']; $sex = $_POST['sex']; $m_status = $_POST['m_status']; $address = $_POST['address']; $District = $_POST['District']; if(!$con) { die ('could not connect'.mysql_error()); } …

Member Avatar for broj1
0
184
Member Avatar for ratan.jeet.5

1) Wap that draws a pyramid. Use class graphic path and method drawpath 2) Write a console application that implements a csquare shape. Class csquare should contain a property side for accessing private data. Provide 2 constructors one that takes no argument and another that takes a side length as …

Member Avatar for ratan.jeet.5
0
108
Member Avatar for Valten1992

Basically I have a java application that can display the data it outputs onto a webpage. I have a div containing tables, each table representing one java object and its values, after a period of time I want AJAX to refresh that div with the new data. Problem, I'm using …

Member Avatar for darshit9u
0
707
Member Avatar for sobias

I'm currently taking a course where I'm required to work on a Javascript/HTML5 or CSS projects. I have a month from now till the deadline. I'm thinking of making a Javascript/HTML5 simple game. Before I start on anything, I would like to hear from you, what would be the most …

Member Avatar for stbuchok
0
308
Member Avatar for game06

so i have two animation. one is when player is standing and one is when player get hit. 'standing' animation will keep looping for ever. and 'planehit' animation should loop though onces and stop. in player class iam setting up animation by getting images. 'standing' animation has two images. 'planehit' …

Member Avatar for game06
0
212
Member Avatar for jaMT

hi there! is it possible to writte a python program that transfer a sentence in the form of SVO (Subject Verb Object) into the form of SOV (Subject Object Verb)? Example: input: John eat bread output:John bread eat the sentence may be a complex sentence.

Member Avatar for tony75
0
146
Member Avatar for boris90

Hi! Below is a part of my code, and whenever I this part of code starts executing, an error ocurrs! I get this error: [click here to get a error screenshot](http://i.stack.imgur.com/loBcH.png) whenever I add the *ios:app* parameter after the *userScore.csv* part, except that my file isn't QueryLanguage.Lib.dll, but rather something …

Member Avatar for boris90
0
441
Member Avatar for welshly_2010

I am trying to find the max flow of a flow network and the final pattern of the network. But the program is giving me 1 answer and when i try and do it on paper i get a different answer, not sure if one is right or both is …

0
133
Member Avatar for SHINICHI

Hi,can anybody help and guide me on doing this java program? (Largest rows and columns)Write a program that randomly fills in 0s and 1s into an n-by-n matrix,prints the matrix,and finds the rows and columns with the most 1s.(HINT:Use two ArrayLists to store the row and column indices with the …

Member Avatar for JamesCherrill
0
758
Member Avatar for rajhoq12
Member Avatar for Violet_82

Hi chaps, I wonder whether this is possible or not. Basically, I have an absolutely positioned div with a width and height and a background image (it's a little arrow) that I want to overflow its container so that it sticks out and point at something. Is it possible with …

Member Avatar for Violet_82
0
186
Member Avatar for Paladine

[url="http://../tutorials/tutorial6028.html"]Original thread [/url]- To see why this was Updated [i] Reason for new thread is to start with a clean slate and I will also be providing a tutorial for SQL and possibly Oracle DB connections to show how easy this code is to implement regardless of the DB you …

Member Avatar for maqbul
0
7K
Member Avatar for nathan.pavlovsky

Hello, I am making a "High Scores" Program from Chapter 4 of Michael Dawson's *Introduction To C++ Through Game Programming Book (3rd Edition)*. In it, a vector consisting of 3 numbers is made and multiple manipulations are made to it through Standard Library Algorithms. There is a situation where the …

Member Avatar for JasonHippy
0
584
Member Avatar for kwng

I have this problem of moving my codes around in my external drive. Everytime I plug the external drive to a new PC, a different drive is assigned and I would have path not found error in my program. I only knew about set_path=app.path which is actually referring to the …

Member Avatar for fsshah
0
884
Member Avatar for Rasool Ahmed

Hi all, I'm programming a shell code for stack buffer overflow vulnerabilities, I have learned about it and read alot of this vulnerability and finally I have the ability to exploit it and make the shells. This is my code: ;+-+-+-+-+[ FileName: shellcode.asm ]+-+-+-+-+-+ .386 .model flat, stdcall option casemap:none …

Member Avatar for Rasool Ahmed
0
108
Member Avatar for zglows

After this piece of PHP code is added to my template (Wordpress) my server goes bananas. (I see lots of load peaks, it becomes unresponsive and the site won't load until I reboot the server.) The code just displays random posts from the database: [CODE] <?php $random_query = new WP_Query('posts_per_page=4&orderby=rand'); …

Member Avatar for gabrielcastillo
0
230
Member Avatar for Webville312

Hello; I am working on a project and in order to save resources, my supervisor says I should pass variables in an array. Some of which were working perfectly. However the fetching of the records from the database gives me the error below; Warning: mysql_query() expects parameter 2 to be …

Member Avatar for Webville312
0
351
Member Avatar for ikhushee

#include<stdio.h> #include<time.h> #include<conio.h> #include<string.h> #include<math.h> #include<stdlib.h> int p,q,r; int i,t[100],t1[100],t2[100]; char M[100],C[100]; int phi,n,e=53,d=11; int cipher(int t) { int i,temp; temp = 1; for(i=0;i< e;i++) temp = temp * t % n; temp = temp % n; return temp; } int plain(int t) { int temp,i; temp = 1; for(i=0; …

Member Avatar for JasonHippy
0
123
Member Avatar for bluekb

#include <stdio.h> #include <stdlib.h> #include <string.h> #define FILE_NAME 20 #define LIST_SIZE 50 float calMean(RECORD list[].score, int count); typedef struct { char *name; int score; }RECORD; int main (void) { // Declarations float mean; FILE *fp; char fileName[FILE_NAME]; RECORD list[LIST_SIZE]; char buffer[100]; int count = 0; int i; // Statements printf("Enter …

Member Avatar for JasonHippy
0
376
Member Avatar for Akusa

I'm trying to make a dictionary program using linked lists. I need four classes, one that holds the word and the meaning. One that creates the node of information and its link field. Another class that creates and maintains a linked list of words and their meanings. And then a …

Member Avatar for JamesCherrill
0
209
Member Avatar for vikuseth

For getting the share folder name i have been used the following code , here i am able to get the folder names . But the problem what i am facing is along with the share folder created by the user it gives some extra folder also , i don't …

Member Avatar for ktsangop
0
329
Member Avatar for tombombadilly

Hello, I've been working on some test OpenGL programs in C++ using SDL to manage sound, window management, events... etc Today I plugged in my external monitor into my laptop and found that *no* openGL program I had written would work with it plugged in, all I get is the …

Member Avatar for ktsangop
0
260
Member Avatar for OsaMasw

hey there guys I need a PHP class to fetch news from different sites, I use rssphp.net class and its great if I need the **title** of article and the **short description**, but what I need is the full story somthing like ?type=rss2 in vBulletin forums the main output of …

Member Avatar for OsaMasw
0
304
Member Avatar for manoj_582033

Friends, I Want to Update My Connection String During Setup Installation on Client PC, Please Suggest Me How It's Possible...

Member Avatar for Lethugs
0
137
Member Avatar for sha11e

My top-level package is "com.gmail.email.aviersproject". In .aviersproject have a class that holds my main method and a package "summonerdata". In that package I want a class that gets summoner data by screen scraping. My question is what a good name would be? I was thinking SummonerDataScreenScraper or SummonerDataScraper but it …

Member Avatar for JamesCherrill
0
174
Member Avatar for chila

I am trying to create a simple inventory database that can be accessed in an intranet. I need help on creating the entities for this database. To begin with I have the following entities: Equipment_Description, Department_Serial_No, Equipment_Serial_No, Model, Manufacturer, Status and Price. My first entity or table consists of Department_Serial_No …

Member Avatar for chila
0
167
Member Avatar for RockJake28

Ok so I have 2 String variables holding dates in the format dd/mm/yyyy and I need to find the difference in days between them. Ideas? Eg. String date1 = "dd/mm/yyyy"; String date2 = "dd/mm/yyyy"; int difference = (date1 - date2); EDIT: and unless *absolutely* necessary, I dont want to use …

Member Avatar for bguild
0
230
Member Avatar for tyler.dahle

Hello, in my game I am wanting to move my character and shoot a projectile simultaneously, but I need the projectile to emit from the character. Thus I am using the same variable for starting positions of character and projectile. When I shoot projectile, it goes from player to wall, …

Member Avatar for tyler.dahle
0
167
Member Avatar for creativePUNDITS

Hi friends I am here to say hello to everyone. I have just completed my registration here and I would like to play role in current web world trends and updates about web development services and web design services..

Member Avatar for <M/>
0
118
Member Avatar for lwschjang

To begin with thank everybody for any help. I am trying to convert an html site into a Joomla site for a client, but I am having trouble converting the homepage slideshow into a working Joomla module. As far as I can see I have everything that I need, but …

Member Avatar for lwschjang
0
301
Member Avatar for <M/>

When I open the security page in my xamp (from my local host) I get this message: ***Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\security\htdocs\security.php on line 100*** Why is it that I receive this message?

Member Avatar for LastMitch
0
131

The End.