199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for amishraa

So I have calculated the total of students on all of their 6 grades but now I want to be able to calculate the average of all the grades and list the averages next to the total column. Any help would be greatly appreciated! [CODE] //preprocessor directive #include<iostream> #include<iomanip> #include<fstream> …

Member Avatar for cibaiciao
0
394
Member Avatar for Lida_pink

How can I draw a line on the form that can go around itself ? I would really appreciate if someone could help me out with this question. I have no clue how to solve it. Thanks in advance :)

Member Avatar for Lida_pink
0
281
Member Avatar for Stefano Mtangoo

How do programs like easy eclipse get compiled to exe? I'm learning Java in windows and would like to have exe rather than Jar. Also does exe depend on JRE's VM?

Member Avatar for Stefano Mtangoo
0
182
Member Avatar for confusedndazed

Hello guys....I appreciate any and all replies I get but I really needed to be [I]shown[/I] how to incorporate a program title and a function call into this code and have it properly execute. I am really lost with programming so I don't usually understand explanations unless I can actually …

Member Avatar for confusedndazed
0
102
Member Avatar for itisnot_me

ok so what i am trying to do it have the app that i am working more private as in make the browser clear the data with in the input forms so that it is not displayng info. for example if i was to type my name in a name …

Member Avatar for itisnot_me
0
90
Member Avatar for Tekkno

I have a javascript that displays a countdown in the browser. The problem is that if the element does not load immediately the countdown turns to negative. Here is the script: [code=javascript] <script> var time = 10; //How long (in seconds) to countdown var page = '<?php echo $page ?>'; …

Member Avatar for Airshow
0
258
Member Avatar for Snippset

Hi, I want to change words from a readed text file. To be more precisely, I need to change the date type in a text file to their representing digits. Example 2002 y. June mon. 1 d. is the given text. 02-06-01 is the output. So, any thoughts for getting …

Member Avatar for Lawand
0
96
Member Avatar for helixkod

current code: [CODE] void showMedian(int *array, int size) { double middle; double average; middle = size / 2; if ( middle % 2) { average = (*(array[middle]) + *(array[middle + 1])) / 2; cout << "The median is: " << average << endl; } else cout << "The median is: …

Member Avatar for cibaiciao
0
252
Member Avatar for takarii

Ive written a program to do with drawing a line from a centre point and it is meant to snake randomly from the centre. However, it seems to be incredibly biased as to where it decides to go. the 4 directions are as simple as up down left and right, …

Member Avatar for takarii
0
121
Member Avatar for shakatra

Hi to all, I use c#.net 2005 application with sql server 2005, and I hope to make crystal report, So I read many tutorial about crystal reports... But when I create new crystal report, I have this dialog in wizard steps: [URL="http://img102.herosh.com/2009/12/11/110248000.gif"][B]Please Click Here..[/B][/URL] The previous dialog difference tutorials dialog …

Member Avatar for DdoubleD
0
138
Member Avatar for lewashby

I'M 24 years old, a single parent in TN. I've been very interested in programming since I as probably 15, and I've been trying to learn since then. I started out with C++, didn't get far. I would start, give up, and start again. About a year ago I started …

Member Avatar for Narue
0
95
Member Avatar for pac-man

Quick q, What function takes precedence with a template function vs a non-template function? I set up the following code but my result had the following output Template Template even though a guide I read said it should read: Template Non-template [CODE]// Testing template function vs non-template function to see …

Member Avatar for mrnutty
0
113
Member Avatar for Vb2008

[B]HI to all[/B] I have got one problem: [I]I use vb 2008[/I] On some websites i go whit my Web browser i got an error!!! it say: [U]An error has occurred in script on this page. Line: 133 Char: 74 Error: Unterminated string constant Code: 0 Url: [url]www.url.com[/url] Do you …

Member Avatar for Vb2008
0
188
Member Avatar for agent154

OK, so i'm trying to write some code to save a file in my default documents library in windows 7... This is not C:\Users\username\Docuements as is default... I have added another folder in my root D:\ to handle documents. Normally when I save a file using word or any other …

Member Avatar for sknake
0
165
Member Avatar for gp04lch

hey guys, recently i came across a code to parse the name of an enum and was wondering if there's anything similar to doing it for a textbox: the coding looks something like this: [CODE]int result = (int)Enum.Parse(typeof(Cars.Engines), inputfixed, true);[/CODE] i would actually like to use the above code structure …

Member Avatar for pokopolo
0
92
Member Avatar for ffs82defxp

I don't understand what those two things do and how they work i tried researching off google, but i couldnt get a direct answer

Member Avatar for vegaseat
0
777
Member Avatar for kumaran21

Hi everyone, I'm preparing for my Java module exam and I'm going through previous term papers. I have completed some of the questions and I need someone to check my answers and tell me if I have done it the correct way. The questions are as below, [B]a) Briefly explain …

Member Avatar for Perveance
0
317
Member Avatar for Snippset

Hi, I need to check if two provided words doesn't have the same letter in it. And as I just started with this text thingy, I don't really know much about. For starters I got this code: [CODE] if (strcmp(Z1, Z2) == 0) Memo1->Lines->Add("Z1==Z2"); else if (strcmp(Z1, Z2) < 0) …

Member Avatar for Snippset
0
170
Member Avatar for Borderline

Hi There I'm a newcomer to php trying to develop a basic photo album. I have created a simple template in htm, and am trying to use php to show 15 thumbnails per page. However, I am experiencing the error message: "Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL …

Member Avatar for yashmistrey
0
457
Member Avatar for squadjot

Hi, i'd like to start a commandline executeable, and then be able to read the content of the output it produces. - Im NOT looking for a Stdout function. Concider having a bat file with following content [CODE]ping google.au ping google.dk ping google.de ping google.se ping google.no ping google.fi ping …

Member Avatar for squadjot
0
127
Member Avatar for Cy137

I keep receiving the same output for each record when I run it on the test data. I've tried numerous things...any suggestions? I've worked on this for almost twelve hours straight, not counting previous work. I'm hoping one of you guys/gals who know whats going on can point me in …

Member Avatar for mrnutty
0
189
Member Avatar for sidra 100

can anyone guide me about the type of questions which can b asked in the paper of programing. i m student of mcs first semester.plz help me

Member Avatar for mrnutty
0
64
Member Avatar for jotha buddhi

I'm creating a simple desktop application using java. For that I would like to create my own look and feel. But I feel helpless .... Could anyone provide me guidelines in doing this.. If possible would you please provide me some useful, simple websites (explaining the basics) regarding swing-look and …

Member Avatar for peter_budo
0
110
Member Avatar for guccitan88

I'm not understanding my assignment and what I've read has really confused me. This is what I need to do: write a function to initialize an integer Partially Loaded Array with distinct random values. The array has room for 50 elements. The actual number of elements to store will be …

Member Avatar for guccitan88
0
134
Member Avatar for aish
Member Avatar for dalvir
0
342
Member Avatar for ribot

Hi! I'm trying to combine some frames in a GUI as a toolbar and content area. Currently I'm on windows and using python 3, and I want preferrably my app to work on *nix and mac as well. The problem is that in the following app, when I resize it …

Member Avatar for ribot
0
2K
Member Avatar for vizz

How to send SMS on mobile from website for user account registrration using PHP, Mysql ? How to send SMS that contain username & auto-generated password? Plerase, anybody ?......, it's urgent.............. THANK YOU in advance

Member Avatar for vizz
0
731
Member Avatar for anup.maverick

Hi, In an Javascript code, I am taking a value from User and this value I want in my server side code , vb.net, What is the code for this.??? Thanx & Regards Anup

Member Avatar for iamchamith
0
109
Member Avatar for Reimschmied

Hi all, Could someone help me? I have programm that reads xml file and displays it in window with StringGrid. I need to replace my code with a function that has xml file as a parameter and returns two-dementional array of strings (instead of StringGrid). You can see my code …

Member Avatar for Ancient Dragon
0
137
Member Avatar for maxicube

urmm, hey guys. im getting a 503 error on my program i'm making. It's used to backup multiple files to a online ftp server. and on the 5th file it gets it on this line... [CODE] Stream requestStream = request.GetRequestStream(); [/CODE] heres my code (for the upload)... [CODE] public void …

Member Avatar for maxicube
0
279
Member Avatar for chathuD

i have create a simple aplication to insesrt some details to a database. and now i need to update the details. it means (PK IS ITEM NUMBER) WHEN I fill the update form with an existing ITEM NUMBER the table is successfully updating, but when i enter a NOT EXISTING …

Member Avatar for MeSampath
0
97
Member Avatar for bharanidharanit

Hello sir, I am creating student attendance tracking system in asp.net. With attendance i need to track students attendance every day and want to generate charts with those data. Charts for Daily Attendance report, Weekly Report, and monthly Report. For this how to design database in msaccess?

Member Avatar for bharanidharanit
0
935
Member Avatar for bharanidharanit

Hello, How to create hover menu. I want to create exactly as attached in the picture. When i mouse over the attendance, the menu should be displayed as such in the picture. Anyone help in this? Thankyou. [ATTACH]12847[/ATTACH]

Member Avatar for bharanidharanit
0
300
Member Avatar for bharanidharanit

Hello sir, how to change this coding to vb.net coding? [CODE] Stream photoStream = PhotoUpload.PostedFile.InputStream; int photoLength = PhotoUpload.PostedFile.ContentLength; string photoMime = PhotoUpload.PostedFile.ContentType; string photoName = Path.GetFileName(PhotoUpload.PostedFile.FileName); byte[] photoData = new byte[photoLength]; photoStream.Read(photoData, 0, photoLength); [/CODE]

Member Avatar for bharanidharanit
0
152
Member Avatar for DweyneAnne

i have a homework for our programmin classes, i searched for other solutions regarding the gotoxy function, but all saw was for devc++, turboc++ and other IDEs, when i use the function for devc++ or turboc++, i know it wont work, but i tried it, says there's not library for …

Member Avatar for DweyneAnne
0
240
Member Avatar for bharanidharanit

Hi used the below coding for enrypting and decrypting a text. But with this i dont know how to save to a database, when i tried i am getting many errors. How to do this? [CODE]Private Sub cmdEncrypt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click ' Encrypt MyText …

Member Avatar for bharanidharanit
0
109
Member Avatar for RAMAN2233

i am having a peculiar prob with drop down list whenever i am trying to open my form,the drop down list is not getting populated for the first time...but the second time the drop down is getting populated hav a grtt day thanx in advance

Member Avatar for greyhound
0
97
Member Avatar for gedas

hey everyone, i am trying to create a web page using Ajax to create a dictionary well simply when you write down a word its definition would show up straight away. the definition would be stored in the file followed by the word. can anyone recommend me how to start …

Member Avatar for gedas
0
243
Member Avatar for Bigboy06

Hello, I am new programming in MATLAB so i do not really know all its commands, but i am trying. for the code below i need to find the values of for F,GH,BH and out of the values i find for BH i need to find it's Maximum and Minimun. …

Member Avatar for Bigboy06
0
150
Member Avatar for ahsanmalik

Our teacher gave us this project and i have no idea about how to get started with it....can someone give me any guidelines about it please????!!!! "You are required to implement an “Online Testing System” which should be able to store questions along with their answers in the question bank …

Member Avatar for ahsanmalik
0
109
Member Avatar for absk

I have been coding in C++ for a few years now and am comfortable with OOP concepts and Data Structures. Now I wish to pursue a higher level language which will hwlp me in application development. After much reading, I arrived at C# and Java. Which one should I pursue? …

Member Avatar for peter_budo
0
160
Member Avatar for tuyudi

Please see and find out what was the problem. It's seem OK on me but it doesn't work on vb code using SQL Server 2000 [code=sql]"SELECT qry_close_month.Item_code, T_ITEM.item_name, " & _ "Sum(IIf(qry_close_month.Bulan='January',qry_close_month.Stock,0)) AS Jan, " & _ "Sum(IIf(qry_close_month.Bulan='February',qry_close_month.Stock,0)) AS Feb, " & _ "Sum(IIf(qry_close_month.Bulan='March',qry_close_month.Stock,0)) AS Mar, " & _ "Sum(IIf(qry_close_month.Bulan='April',qry_close_month.Stock,0)) …

Member Avatar for sknake
0
173
Member Avatar for CuteCat

I want to put music and sounds into the game I'm working on... Since the most common music-file is .mp3 and I don't know how to change it to another type, I'm worried that I won't be able to find the sounds I want - or any sounds at all …

Member Avatar for jbennet
0
93
Member Avatar for kingster113

[CODE]#include <stdio.h> #include <math.h> #include <string.h> #include <stdlib.h> #include <conio.h> // Function prototypes void MainMenu(); void PaymentMode(); void get_password(); #define FIELD_SIZE 25 #define length(array) ( sizeof (array) / sizeof (array)[i] ) struct account { char *id; char *password; }; static struct account accounts[] = { { "alexander", "iamsolame" }, { …

Member Avatar for kingster113
0
318
Member Avatar for Spreegem

I had to develop a brute force, a recursive, divide and conquer, and transform and conquer algorithms for calculating the nth power of a, a^n, for an assignment. I got the first three done pretty easy but I'm completely stumped at how to do the transform and conquer algorithm. I've …

Member Avatar for Nimmy Chohan
0
184
Member Avatar for absk

I have this Java program which gives an output that runs into 10000s of lines. I use Windows. When I run the program in cmd, It doesn't show more than around 500 lines, how do I see all my output?

Member Avatar for absk
0
78
Member Avatar for Narvind Pise
Member Avatar for matt01986
0
35
Member Avatar for royshoa

Hello, I have a big web-site(ASP.NET) with a huge data-base(MS-SQL) and i searched for a good way to use paging in my web-site. I found two good way's to do it but i have a little problem to decide which paging way to use, [U]The first way to is to …

Member Avatar for sknake
0
119
Member Avatar for muhammad zain

hi, I need help in adding questions in a program using strings, structures or array............. Plz help me n snd the code

Member Avatar for Clinton Portis
0
90
Member Avatar for Rockdrummer357

So, I need to make a binary tree, except each node needs to hold multiple data types... My instructor told me to use structures, but I am still lost as to how to put all this data into the tree. [CODE]struct record{ long int student_id; char lastname[12]; char firstname[12]; char …

Member Avatar for Rockdrummer357
0
108

The End.