199,114 Archived Topics
Remove Filter ![]() | |
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> … | |
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 :) | |
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? | |
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 … | |
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 … | |
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 ?>'; … | |
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 … | |
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: … | |
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, … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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) … | |
![]() | 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 … |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
using the javascript how can I get web server time and date? :eek: | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 … | |
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? | |
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] | |
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] | |
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 … | |
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 … | |
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 | |
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 … | |
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. … | |
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 … | |
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? … | |
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)) … | |
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 … | |
[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" }, { … | |
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 … | |
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? | |
sir can you help in displaying the information of installed software on our computer.. | |
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 … | |
hi, I need help in adding questions in a program using strings, structures or array............. Plz help me n snd the code | |
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 … |
The End.