199,114 Archived Topics
Remove Filter ![]() | |
[code] #include <stdio.h> #define SIZE 10 int main() { int a[ SIZE ]; int i,n,pass,hold; printf("enter the number of elements in an array:"); scanf("%d",&n); printf( "Data items in original order\n" ); for ( i = 0; i <= SIZE - 1; i++ ) printf( "%4d", a[ i ] ); for … | |
Hi gang, I've been browsing through the net, looking at Calendar and Tell-a-Freind scripts. The choices are many, each with its own respective Pros an Cons. I' m using Invison for my Forum, but not sure if I will use thier Calendar. I want a Module/Block I can place on … | |
My company, Neuron Computing, started a beta program for our suite of developer tools. We are looking for developers to participate in our pre-release program, tell us what they think, report bugs, features they think are missing and/or would be nice to have etc. Some of the key features of … | |
Hey guys, I need some help with looping. I am writing a currency converter (who in begining programming isn't these days) and I want to have it loop so that I can it keep asking for another entry or make it quit. Here is what I have so far: [code] … | |
I am having a problem opening java applets...like in yahoo games or im windows.. on the bottom it says applet notinitited I'm a newbie not too technical an answer please | |
i know very little about programing. however i want to learn, even if it is basic(no pun intended) some have suddgested perl as a good place to start. So my question is, what are good resources, manuals, websites and other such things about perl programing. i use to do a … | |
Hi Does anyone know of a good community building software out there with features like - content publishing & management, forums, chat, newsletter, email etc. Thanks Yasita | |
hi i am right now new to c language..and i have been facing problem in 1 array problem where i have to insert an element in to an array...i would like ur help plzz..i have tried everything but i m not able to make out from where i should start … | |
Hi everyone, I would like to know how to copy text from a console to the clipboard using C++. Thanks | |
hi i am right now new to c language..and i have been facing problem in 1 array problem where i have to insert an element in to an array...i would like ur help plzz..i have tried everything but i m not able to make out from where i should start … | |
hi! I have a problem about "[B]polynomial class[/B] ".when I Insert the firend function "operator<<" in the program.it doesn't run and have 5 error about missing ";" in private member :"_degree" and missing ")" in first line(prototype) of friend function "operator<<". why this program have this ERRRS???!!! :( can you … | |
Hi i am learning C++ i typed the following programm it is asking me to enter the age , when i enter age and hit eneter button it is generating the following message test2.exe has generated errore and will be closed by windows you will need to resterat the programm … | |
please help me, am confused in the memory bit, all i want is 32 k memory free and each time i add something and run it, it will say for example 27 k memory left how to i make this program only have 32 k memory, for example At the … | |
Hello just had a m8 round and he reckons that this is a string: char data; I told him no its not to start a string it must be char data[]; cin << data; with the inclusion of the header files, is he correct or am i? | |
Hello, As will become quickly & painfully evident, I am new to "C" programming and trying to teach myself. I am trying to use scanf function to get numeric input from the keyboard. My code looks like this (NOTE: Please forgive syntax errors as I am not copying and pasting … | |
Hello 2 questions..... 1) I just tried to code a switch statement with a stribg but my compiler throws up error messages.... 2) Is they anyway I can convert a string to an int and then back to a string? cheers | |
hi my project involves ping multiple comps simultaneously to do that i am storing results of each comp in its designated text file for that at startup i have to clear its contents i want to know how to do that in java??????? | |
I am trying to write a program that generates an array of 3 random letters out of a choice of 6. I then want to copy the array and sort it, then check that none of the letters are duplicated. This is causing me major problems. The code I have … | |
HI I JUST START TO LREAN ABOUT C LANGAUAE AND I DONE SOME PROGRAME BY C LANGAUE.... I WOULD LIKE TO KNOW ABOUT fflush WHAT IS THIS FUNCTION STAND FOR? AND WHEN WE USE IT? | |
Ok, i know my program is probably all done incorrectly and thier are probably eaiser ways but, it works for me so.. I have an error and i cant find out what it is. Can anyone tell me? [CODE]//Game Project 1 #include <iostream.h> #include <conio.h> #include <iomanip.h> #include <stdlib.h> main() … | |
"Quote: Originally Posted by deanpence This is the order in which I learned to program: Basic QBasic Pascal C C++ Java Perl ... A very important point should be noted about learning in that order: I learned procedural programming first, and I recommend this course to any new programmer. Learn … | |
Hello i`m trying to make a script that shows me online users using the arping command. I want to enable to stop it using Ctrl +C and print me a message : Continue Y/N. And one more thing in the end to print me : We have $wc -l users … | |
hello every body i am new in web designing field.using asp but i dont have idea about asp.net. please tell me why we use asp.net and whats difference between asp and asp.net. i require knowledge of asp.net and also tutorial,login form scrip,register form script etc ![]() | |
I am using linux. I ve already tracked down the code, and I know which class instantiation is causing the problem. But I cannot go further than that, since the same code used to work before I did an upgrate of the opensource framework over which I am developing a … | |
I'm looking for a small script that I can use to limit the number of downloads per day for a specified file, or limit the bandwidth for said file per day. Any Ideas? :D | |
I was wondering if anyone could aid me by telling me the code or an example of code, for making objects move when a user hits an arrow key or any key for that matter. I've been searching for days for a tutorial to aid me, but have come up … | |
[COLOR=DarkSlateBlue]I'm a beginner in my computer programming class, we're about halfway through the course. I had this assignment where I had to make a table that involves INPUT, READ-DATA, PRINT USING, etc. On my first READ statement I keep getting a syntax error message and I can't seem to find … | |
I just moved to windows XP and got myself Visual Studio .NET Professional. I just need Visual C++ .NET and nothing else. The installer gives these options and i dont know which components i need and which i dont. 1. Visual C++ Class & Template Libraries ATL MFC Shared Libraries … | |
:o I need help with CDO for Windows 2000. I had a htm web page form that when submitted it would go to an asp confirm page. The submitter could review his submission then press the submit button. That page would be submitted to an asp, by CDONTS (CDO for … | |
Hi all, The problem: index.php downloads instead of actually executing the script. I used to have my machine setup with php/apache/mysql/WinXP and it worked. I downloaded the newest release of php 4 and now it won't work. What happened? Setup: ------ Windows XP SP 1 PHP 4.3.10 Apache 1.3.33 mySQL … | |
I have to write a function to find the circumference of a circle. I am having problems cause I dont have any idea how to do that. I know ya'll like to have some kind of showing of my own program the only thing is that I dont understand what … | |
[SIZE=7]Always heard ppl saying that DOS batch files have limitations...recently am running the same batch file on mulitple stations (Win NT) but only 1 particular station has encountered problem. Not error returned by the DOS batch file but its the software that is being started by this batch file giving … | |
Big Problem!!! [SIZE=7]ok hangman all worked perfectly... then suddenly this erro came up!!! SOMEBODY HELP ME PLEASE THIS IS DUE 2MORROW!!![/SIZE] [COLOR=Red] ERROR = An unhandled exception of type 'System.Runtime.InteropServices.ExternalException' occurred in system.windows.forms.dll Additional information: A generic error occurred in GDI+.[/COLOR] [CODE] Public Class form1 Inherits System.Windows.Forms.Form ' Author: Misha … | |
Does anyone know what's wrong with this function? The program that uses it runs but does not display the average. I also tried using the sum variable instead of ptr3 and had the same results. [CODE]void calculate(int days) { float sum = 0; float average; temperature_node *ptr2; temperature_node *ptr3; ptr2 … | |
Hi, I am trying to learn developing J2EE application on Jrun4 server with oracle or MS Access database. Can anyone please suggest me good sites or books with lots of samples. Thanks | |
Hi - I'm not sure if this is the right forum to ask my question, so let me know if it is not. I'm trying to write a program than can take two audio files (e.g. WAV) as inputs, compare them, and spit out a number that tells you how … | |
The following is a piece of code for performing linear search: [code] import java.io.*; class search { String str; int key,size,seaArr[]; public void getdata() { System.out.print("Enter how many data you want to enter : "); System.out.flush(); try{ BufferedReader obj=new BufferedReader(new InputStreamReader(System.in)); str=obj.readLine(); size=Integer.parseInt(str); seaArr=new int[size]; for(int i=0;i<size;i++) { System.out.print("Enter element … | |
Hi i am trying to start doing C++ programming when i write a simple hello programm it is compiling correctly and the out put window is not staying on the screen , i am unable to see it it is suddenly disappearing can any one help me | |
Can i insert a JPEG picture into my application with out import javax.swing.*; ????? or is where a way to do that with out import javax.swing.*; ??? | |
How can i plot a histogram from the results of the following code. Thanks in advance for your help Serkan import java.io.*; public class LineLen { public static void main(String args[]) throws Throwable { // // Open the file final String filename = "LineLen22.java"; BufferedReader infile = new BufferedReader(new InputStreamReader(new … | |
Hi everyone. I am new to the forum. I was wandering if anybody could give me a link to some source where i could find a table that contained all the countries of the world (ideally with their telephone dialling codes) for me to use in my database. Thanks. | |
Hi : I am having a problem and I can't seem to figure out what is wrong. This is it: I have a table with a memo field called MonthComment. It also has a field called Historic_comments I have a form containing 2 text boxes. One text box called Historic_comments … | |
hello. Sorry for the long post. My ultimate goal is to make a program that can read text off a website, if told the url, when to start reading, and where to stop, and then write the text to a textfile. This is all easy once I am able to … | |
hey all, im trying to write a perl program that will change the desktop background. I dont have much (read: any) background in working with windows environment variables, and am hoping that desktop image location is in fact one of these variables. any advice on how to reference and edit … | |
I need to get the position in a JTextArea...Anyone know how to do this? | |
hello I have created a website where voters vote for their favourite website. I have used radiobox. does anyone know how to count the votes in terms of percentage after the user has voted. The result should come up in a new webpage. Also the website should not allow a … | |
How can i add reversing line code to the following code. Program must read the document which is selected by user from filechooser and write the reverse lines to another file. Additionally, I have to add a histogram which shows the length of each lines in document. [code] import java.awt.*; … | |
Hi, just wanna ask if c++ opendir,readdir and closedir code can be implemented in visual c++, i have resently started using this complier and dunno what libraries have changed and if some of these sentences are still valid, and if u can recommend me some kind of "migrating c++ to … | |
I have this code that is suppose to append text to a JTextPane, using the Document method insertString(). I can't seem to get the attribute argument right, so maybe one of you can point me in the right direction... Here is the one line of code giving me problems, just … | |
Hello, I've got a big query ... I wold like my code to do something but I don't think I'm doing it right. Basically it checks 1 string with another and prints true or false.... However I want to restrict what is inputted into the string. So you'd have string … |
The End.