199,111 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rania_s

please i need help because i am beginner in c progtamming! i want in selection 1 to intrance grades from keyboard in array[7],from 0 to 10. in selection 2,that grades are display and the average of them. in selection 3 i want to sort them with bubblesort function,inside the code. …

Member Avatar for Ancient Dragon
0
112
Member Avatar for vazzdoin

Hi i want to read the colon separated values from a file as given below. Name : VIjay city : XYZ Address : ABC etc etc . . these are the entries in a file and i want to read and save the name and age ie,vijay, XYZ etc etc …

Member Avatar for vazzdoin
0
86
Member Avatar for rwkingv

Hi, I am relatively new to C# Express and have created an app that builds & runs fine. But when I try to publish it, I get the following messages: 1)Cannot publish because a project failed to build. 2)SignTool reported an error 'Failed to sign bin\Release\TeacherCSharp.publish\\setup.exe. SignTool Error: Signtool requires …

Member Avatar for rpsrikanth
0
342
Member Avatar for darkagn

Hi all, We are experiencing the following problem with the latest versions of IE and FF in regards to sessions. If anyone has encountered these problems before, any insight would be valuable. [B]In FF:[/B] An ongoing problem where sessions are saved across multiple tabs and windows in the same machine. …

Member Avatar for nutty2chat
0
237
Member Avatar for qaokpl

I'am trying to build a website and I want to make some things auto mated. I only know html nothing else. A freind of mine make a site similer to what I'am doing but used perl. I want to know more and I can't tlak to this guy anymore.

Member Avatar for ghostdog74
0
173
Member Avatar for pandytheprince

Hi I first i new here hope this correct place to post. I currently making a 3dsmax load which converts a 3ds file to direct x file so it can be loaded. My problem is that i using a old .exe file called conv3ds.exe which when used in cmd would …

Member Avatar for pandytheprince
0
268
Member Avatar for xcorpionxting

I need to write a function in C++ that does the following: -Reads an audio file as input (preferably in Mp3 format). -Calculates the average frequency (Hz) and the tempo (bpm) of that file. -Stores the average frequency and tempo for future use. Any idea on how to write such …

Member Avatar for Nick Evan
0
154
Member Avatar for turbomen

Dear Sir, The following is a simple program in Delphi. Could you tell me the meaning of the colour in red. program Negatives; {$APPTYPE CONSOLE} uses SysUtils, ourcrt; var balance, posNeg:integer; begin randomize; writeln ('Generating your bank balance'); writeln ('Please wait .....'); sleep (2000); create a random number between 0 …

Member Avatar for FlamingClaw
0
98
Member Avatar for turbomen

Dear Sir, The following is the very basic programme, but I often miss the comma and delimiter which is red in colour. Could you express the meaning of this? program AgeCalculator; {$APPTYPE CONSOLE} uses SysUtils; var age, months, days, hours: integer; begin writeln ('How old are you?'); readln (age); writeln …

Member Avatar for FlamingClaw
0
128
Member Avatar for frozon

hi am new to java and have a problem in displaying the x and y points on the graph to solve this ax3+bx2=x+d=0 here is the code import java.awt.*; import javax.swing.*; import java.awt.event.*; /** * PROGRAM: Cubic * DESCRIPTION: This program solves the cubic Equation for a given range of …

Member Avatar for frozon
0
121
Member Avatar for jonow

This also involves (what i think) advance flash knowledge (or not). Look at this website: [url]http://www.navigaya.com/main.php[/url] you see it has a music player as well as many other things. Can someone make something that is just the music player part? I know it woudl take a while but it woudl …

Member Avatar for jonow
0
89
Member Avatar for turbomen

Dear Sir, The following is a good example of Pascal. I understand the font with red in colour is the location of display into screen but could you express the meaning of sales1:7:2, sales2:9:2, sales3:9:2, sales4:9:2, sales5:9:2, sales6:9:2?? Cheers, uses crt ; var sales1, sales2, sales3, sales4, sales5, sales6, total_sales …

Member Avatar for FlamingClaw
0
121
Member Avatar for kate@deni

I am new to php. I have any issue that i want to use dynamic links and want to rewrite them. I want to use single page for all the pages but different urls.

Member Avatar for kate@deni
0
104
Member Avatar for pyscho

can someone plz help prog that allows the user to accept 2 end points (using mouse) and draws a rectangle between 2 points (using AWT Frame class and mouse listeners) 2.accepting two strings as comand line argumnts and append both. 3.a prog for accepting string from user. i am a …

Member Avatar for pyscho
0
90
Member Avatar for curtissumpter

Hello, I have this piece of code. [code=java] private Vector getColumn(ResultSet rs) throws SQLException { Vector row = null; ResultSetMetaData rsmd = null; boolean moreResults = rs.next(); if (moreResults) { row = new Vector(); rsmd = rs.getMetaData(); do { switch(rsmd.getColumnType(1)) { case Types.VARCHAR: row.addElement(rs.getString(1)); System.out.println(rs.getString(1)); break; case Types.INTEGER: row.addElement(new Integer(rs.getInt(1))); …

Member Avatar for masijade
0
128
Member Avatar for mhangman

Hi, Im trying to write an irc client with python. This is its login page(i hope it will be) [CODE] #!usr/bin/env python # -*- coding: utf8 -*- import gtk, sys, socket class PyApp(gtk.Window): def con(self): iserver = self.entry.get_text() inick = self.entry2.get_text() room = self.entry3.get_text() password = self.entry4.get_text() socket.server = iserver …

Member Avatar for mhangman
0
102
Member Avatar for tomkeeee

[code=c] // lokalasss.cpp : Defines the entry point for the application. // #include "stdafx.h" /*int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { // TODO: Place code here. return 0; } */ //////////////////////// [/code] // ddd.cpp : Defines the entry point for the console application. // [code=c] #include …

Member Avatar for tomkeeee
0
166
Member Avatar for group256

Hello everyone, I'm pretty new here. I'm facing a problem, the compiler says "Segmentation fault". Please take a look at the code and tell me where I'm going wrong. I tried hard to figure it out, but I couldn't. Thanks a lot. [code] int **PointerArray; *PointerArray = new int [LENGTH]; …

Member Avatar for group256
0
166
Member Avatar for nawa

I worte a code for Palindrom and i am receiving error message could someone tell me where is the mistake is? thank you. Dim i As Integer Dim word As String = wordTextBox.Text Dim testWord As String Dim reverseWord As String Dim testChar As String Dim maxIndex As Integer maxIndex …

Member Avatar for Teme64
0
102
Member Avatar for harrysuke

what about this one? HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) root cause java.lang.ClassFormatError: com/mysql/jdbc/ConnectionImpl com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:283) java.sql.DriverManager.getConnection(DriverManager.java:582) java.sql.DriverManager.getConnection(DriverManager.java:185) JspDBSolution.KidsBooksPage.init(KidsBooksPage.java:20) JspDBSolution.BookStoreServlet.processRequest(BookStoreServlet.java:34) JspDBSolution.BookStoreServlet.doGet(BookStoreServlet.java:90) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)

Member Avatar for stephen84s
0
358
Member Avatar for mitchandsuzy

hi everyone, I have searched for and answer to this and cannot find any solution. So please forgive me if it is a straight forward answer! I have a module that is imported. It has a number of subroutines inside it that need to be run, one for each year. …

Member Avatar for mitchandsuzy
0
89
Member Avatar for maheen123

Hi! I want to know that how can i use buttons to update ( edit or delete) records from the php form directly into the database... Thanks

Member Avatar for BzzBee
0
328
Member Avatar for Uday2009

I am trying to create a stock management system. I have created a table with the following fields ProductID, Date,Product name, opening stock, Production, desptches, closing stock. Now my problem is how do I make the closing stock of the previous day or record be automatically transfered as the opening …

Member Avatar for Uday2009
0
209
Member Avatar for SKANK!!!!!

everything doesnt make sense. does anyone know of a very SIMPLE good script to make required fields. ive seen a lot but i dont know what they mean. most of them look like they do like nothing or not all the way. i dont want to use javascript because it …

Member Avatar for SKANK!!!!!
0
121
Member Avatar for JoKat

hi, i am a novice and have recently started practicing some php tutorials. there is this bit of code that involves HTTP authentication which makes sense up until this part: [CODE] // connect to database $dbc = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME); // grab the user entered log-in data $user_username = …

Member Avatar for BzzBee
0
102
Member Avatar for nexocentric

I'm using the following link to learn how to pass VB string arrays to a C/C++ dll for editing. [url]http://support.microsoft.com/kb/118643/EN-US/[/url] The problem I'm having is, where is the vbapi.h? I've searched my hard drive for it and found nothing. I've also searched the net for where it could be possibly …

Member Avatar for nexocentric
0
194
Member Avatar for Buckets78

Let me start out by saying I've been playing with Python for a few weeks now, was recommended by a friend who uses Perl, and it's been quite enjoyable to play with. I've no other programming experience except HTML/CSS. This site has been a wealth of information and an excellent …

Member Avatar for Buckets78
0
89
Member Avatar for gezzalou

Hi, I am having trouble getting some javascript code to work correctly in mozilla. Shows fine in IE but only works in mozilla one something is changed. The code is simple as i am a beginner at this. Please see code below. Thanks in advance [code=JavaScript]<script language="javascript" type="text/javascript"> function ChangeQ2() …

Member Avatar for Airshow
0
131
Member Avatar for Fouly

Hi, I tried the following snippet of code [code] BEGIN_MESSAGE_MAP(CSpeechDlg, CDialog) //{{AFX_MSG_MAP(CSpeechDlg) ON_WM_SYSCOMMAND() ON_WM_PAINT() ON_WM_QUERYDRAGICON() ON_BN_CLICKED(IDC_BUTTON_VOICE_TRAINING, OnButtonVoiceTraining) ON_BN_CLICKED(IDC_BUTTON_MICRO_SETUP, OnButtonMicroSetup) ON_BN_CLICKED(IDC_BUTTON_SPEAK, OnButtonSpeak) ON_BN_CLICKED(IDC_BUTTON_ABOUT, OnButtonAbout) //}}AFX_MSG_MAP ON_MESSAGE(WM_RECOEVENT,OnRecoEvent) END_MESSAGE_MAP() [/code] but i got an error at this line: [code] ON_MESSAGE(WM_RECOEVENT,OnRecoEvent) [/code] the error is : [code] Error 1 error C2440: 'static_cast' : cannot …

Member Avatar for Fouly
0
359
Member Avatar for hi.meral

well, i am developing a desktop application in c#.net here i want to trash the unique information of the perticular computer like a harddisc serial no, or procesor or motherboard serial no. by which i can allow the software for that perticular pc only. How can achive ??

Member Avatar for MosaicFuneral
0
162
Member Avatar for servis

i want to validate whether the checkbox is empty or not, if it is empty, the alert box show message, but the following code is not working... [ICODE] function validate(form) { with(form) { if(agreement.value.checked==false) { alert("Please commit the agreement to continue."); agreement.focus(); return false; } } [/ICODE] Secondly, i want …

Member Avatar for servis
0
294
Member Avatar for madeindadex305

First class mail has no insurance, and costs $1 plus 17 cents for each ounce up to a maximum of 13 ounces. The first trick here is that your weight is stored in pounds and the description of the cost formula is in ounces. You do remember how to convert …

Member Avatar for darkagn
0
126
Member Avatar for max.yevs

I'm trying to make a perfect numbers script but having almost no success... Perfect numbers are those whose factors add up to twice the number itself... factors don't have to be prime... So like the first four are 6, 28, 496, 8128... 28: 1,2,4,7,14,28 1 + 2 + 4 + …

Member Avatar for max.yevs
0
207
Member Avatar for helixkod

I am trying to create random rectangles and ovals. This is what i ahve so far: [CODE]import java.awt.Color; import java.awt.Graphics; public class MyRectangle { private int x1; private int y1; private int x2; private int y2; private Color myColor; //constructor with input values public MyRectangle( int x1, int y1, int …

Member Avatar for helixkod
0
129
Member Avatar for ihatehippies

The question is in the title. How do you create a list r = range(5) and just reference the data without referencing the object itself. ie. o = r .. I just want to reference range(5) without referencing r itself. if i did o.pop(0) it likewise does r.pop(0) ...ideas?

Member Avatar for ihatehippies
0
80
Member Avatar for Dabeam

I want to use a for loop to display * ** *** in javasript does anybody know how?

Member Avatar for Airshow
0
68
Member Avatar for ITech

i have created an asp.net website. it was working fine...the project builds ..but suddenly now when i run the project internet explorer opens with the page cannot be displayed message...it is happenning for all the sample websites i have in my pc tooo... what is the problem. i am getting …

Member Avatar for txwebdesign
0
184
Member Avatar for jmil2

I am working on a problem that requires that i create a 3x3 matrix in python using the list function. these are the functions that im required to use to create my matrix: def mlist(size): list = [] for i in range(size): list = list + [None] return list def …

Member Avatar for adam1122
0
8K
Member Avatar for ddanbe

I am simulating a little calculator I have at home: a TI-1706 SV. It just does the basic things nothing special, just like the standard MS calculator. Yes I know it is YAC(yet another caculator) but I am still in a premature learning phase of .NET and C#, so it …

Member Avatar for thoughtcoder
0
502
Member Avatar for Dabeam

How do i use a function to find the average of the values in an array of numbers passed as argument to a function.(using java script) thank you for your help...

Member Avatar for Airshow
0
106
Member Avatar for STUDENT#101

please help with this program it outputs and stores the last data added into the array(replaces all other data with the last data that was stored in the array). [CODE]<html> <head> <script language="javascript"> function Book() { this.title="not yet selected"; this.isb="" this.copies=0; this.price=0.00; } var obj=new Book(); function begining() { //alert("the …

Member Avatar for Airshow
0
124
Member Avatar for JAGgededgeOB172

Hi all, My program is supposed to read data from an input file and position the read data into an AVL tree - in alphabetical order. My output at the end is supposed to show each node in this format... i.e. (Current, Current->LeftChild (could be NULL), Current->RightChild (could be NULL), …

Member Avatar for nucleon
0
176
Member Avatar for superjacent

In learning Ruby I've dug out some old C++ exercises and one in particular which can be found [URL="http://prime357.net/node/80"]here [/URL]deals with a for loop. I'm basically converting the C++ code to Ruby code. I won't repeat the C++ code but the exercise is as follows: Write a C++ program that …

Member Avatar for superjacent
0
156
Member Avatar for alicem

Hi, I'm a beginner, and just want to display an image using Python. I have this code... [code]from PIL import Image Image.open("pic.jpg").show()[/code] which according to what I've read, should work. However, it just opens Windows Photo Gallery and says 'There are no photos or videos selected'. I have ensured that …

Member Avatar for alicem
0
73
Member Avatar for Bill Purkins

Using VB 2008, I am stumped. I have a fillby and getdataby table adapter query that does a SELECT COUNT from FILENAME where fieldname = textbox and I want to use the number of rows returned, but can't figure out how to reference it. This seems so simple, but I …

Member Avatar for dgmdaily
0
127
Member Avatar for Stefano Mtangoo

Just a curious Question. What do you prefer, QT or wxWidgets? How do compare the two in terms of: 1. Nativity 2. Easiness to learn 3. Documentation 4. Weight (The size in MB) 5. Licencing 6. Any other factor(AOF) Thanks all!

Member Avatar for NicAx64
0
440
Member Avatar for Philmagrill

I am creating a program in c that finds out the weather and changes the desktop background accordingly. So far i have managed to connect to the internet and DL the bbc rss feed to the file, which i can then open up. I have almost managed to get it …

Member Avatar for jephthah
0
109
Member Avatar for Exussum

I'm writing a command-line tic-tac-toe game and i've encountered a problem in my helpMenu() function, whenever i recursively call the function with an argument, the cin.get() pause ceases to work. Any help appreciated, thanks. The following is my test.cpp file, whenever i write some new function i always put it …

Member Avatar for ArkM
0
154
Member Avatar for ellimist14

Ok I'm going to try to be as specific as possible. Here's my input file (at least to some effect): [code] #'s searched 1 3 3100 56801 .52 87925.32 2 Mitchell 1 boudreax 2 1 4 5480 56825 .81 68939.09 0 1 5 8520 56829 .89 10892.40 3 guillott 3 …

Member Avatar for ellimist14
0
98
Member Avatar for Duki

Hey everyone, I'm trying to work with Sets. I have a function [I]Union[/I] that takes a class type [I]Set[/I] as it's parameter. The function returns the union of class A and B. Here is my code: [code=c++]Set Set::Union(Set setB) { Set result (maxItems); for (int i = 0 ; i …

Member Avatar for Duki
0
300

The End.