199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dowen

{6,12,4,7,9} How do i write a method name serachMax that receives the list above (as an array of integer) as it's argument and return the largest value in the list and How do i create a method name countitem that receives that list above (as a referenced based linked list …

Member Avatar for MacGyver Orca
0
114
Member Avatar for jetyan

just like a no-purpose hunter, I wandering in Java's world;so honestly speaking,I am just a beginner. now I have a puzzle: in a Java program ,there are so many class files that I have no idea how to deal with them. give some advices,thank you!

Member Avatar for jwenting
0
113
Member Avatar for rodkay

Hi all, I require some help using ifstream. I want to open a file who's name is made up in part by a user enter string - this is the format of the filename ... [code] "Airports_" << airlineICAO << ".txt" [/code] i did try the following ... [code] ifstream …

Member Avatar for rodkay
0
119
Member Avatar for i_like_pi

Hi, I'm a newbie to C++. I use Windows XP Home Edition and VC++ .NET 2003. I have just recently started creating large scale C++ projects with more than one file. I've been having troubles linking the files together. I solved the problem by adding "/FORCE:MULTIPLE" to the command line, …

Member Avatar for John A
0
107
Member Avatar for RossSCann

Does anyone use MFC? I have a problem executing graphics functions. [code] [COLOR=#0000ff]void[/COLOR][COLOR=#000000] CMainFrame::OnTimer(UINT idEvent)[/COLOR] { idEvent++; //when a time event occurs do some pointG2.y-=3; //graphics pointG=pointG2; TimerEvent(); [COLOR=#008000]InvalidateRect(NULL, TRUE); //to call [COLOR=#000000]OnDraw[/COLOR] [/COLOR]} [COLOR=#0000ff]void[/COLOR][COLOR=#000000] Csail_boatView::OnDraw(CDC* pDC)[/COLOR] { //graphics functions here //they compile OK //OnDraw is called by the even …

Member Avatar for RossSCann
0
131
Member Avatar for tigerkartik

hi im a student and hav t mak aproject on c or c++... so if anyone cud help me out

Member Avatar for apurv
0
92
Member Avatar for santhosheph

Hello Freinds, I am in need of a shell script whiich rsyncs a folder from a server to my machine. My major concern is not a script that rysnc's but it should send a mail if the rsync failed for some reason while copying the files.. For example the remote …

Member Avatar for rggjan
0
345
Member Avatar for tgreer

I'm writing a utility program. In fact, the program will be a Console application that will contain many static methods, each method being a specific utility. The application will take two command line arguments: filename, and utility name. Of course I want to run the method specified on the file …

Member Avatar for iamthwee
0
175
Member Avatar for mailsteam

Is there any way to get the cuurent time using C in LINUX. I tried with clock_get time(). But i'm getting the same time for a particular amout of function call. The code i've used is given below. Is there any way to get the time in an higher resolution. …

Member Avatar for Lazaro Claiborn
0
119
Member Avatar for Lardmeister

I have for instance this function I wrote and want to assure that the argument is a number when I call the function. [code]def hypotenuse(n): "return the length of the hypotenuse of an isosceles triangle" return (n*n + n*n)**0.5 sides = 3.7 print hypotenuse(sides) [/code]Any ideas how to do this?

Member Avatar for jrcagle
0
645
Member Avatar for spacecowboy123

Hi All, The program I am writing is throwing up an error when it runs on this line [code] runArray[counter]++; [/code] i am trying to increment the number at location counter in the array. Is this the correct way to do this? Thanks

Member Avatar for ~s.o.s~
0
117
Member Avatar for seanx

[B]hello,,,, pls help me ,,, I need some VB Programming about Priority Scheduling Preemptive,,, [/B][B]preemptive priority scheduling with gantt chart tnx.. tnx.. seanx [/B]

Member Avatar for seanx
0
91
Member Avatar for kishore5001

Hi i am new to the discussion forum and i want to learn cpp. Why destructor with ~ is used in cplus-plus coding for every constructor? Thanks

Member Avatar for Narue
0
92
Member Avatar for bakerybum

Hi All, I'm new to the forum....med programming experience. I've built a database application in VB4. It works fine in the VB environment. As soon as I convert it to an EXE and install it on my PC at work - it stops working. The first forum (password forum) opens. …

Member Avatar for Vic@Viev
0
302
Member Avatar for mattyd

Hello: I am new to Macromedia Flash. I have been building some simple movies and games via tutorials and experimenting with Actionscript; I am looking for the method to display an image dynamically against a background upon user-input, say, via mouse selection on an element upon the screen (I have …

Member Avatar for GreenDay2001
0
157
Member Avatar for mailsteam

1.I'm Using Posix Timers. I Would Like To Kno Whether It Is Possible To Fire Two Timers With Same Signum. The Signal Event Function Is Different. 2. Is there any way to send an argument to the signal event function other than signum. the functions i used for timer are …

Member Avatar for mailsteam
0
132
Member Avatar for poslanik

Hi, I'm having a classic 'doesn't work in IE but works in FF' problem. I have a site [URL="http://learn-croatian.com/"]http://learn-croatian.com/apdejt[/URL] and I wanted to make it easier for me to update metas in all pages with help from php. I'd change the php variables in a central file which is included …

Member Avatar for poslanik
0
149
Member Avatar for Dawmah

I need to read records that I created, written to a .txt file using a code and I d like to know how to use EOF in the code to get the programme to read till end of file, and to display them all as I click next. Code for …

Member Avatar for WaltP
0
84
Member Avatar for Matt Tacular

For my programming class, I have gotten to the lesson that involves overloading constructors and what not, but I have a problem with mine that I am possitive is a very simple syntax error or something. If anyone could be so kind as to take a look at the following …

Member Avatar for kishore5001
0
133
Member Avatar for tsharma14

Hi Java People, I have one servlet , few JAVASCRIPTS, one JSP page. First when I login some processing is done at back in servlet and some variables are set. after login i enter into main JSP page which contains some BUTTONS. On click of every button I have some …

Member Avatar for jwenting
0
114
Member Avatar for Tekmaven

I'm getting into Java programming, and find myself at a loss for a good Java IDE for Linux. I'm running Mandrake 9.1 (I tried Gentoo, but I'm to much of a n00b to linux) Can you guys suggest any? Note to Dani: I know about Borland's JBuilder, but I want …

Member Avatar for jwenting
0
580
Member Avatar for SHWOO

I am writing a program which has these require ments 1.Program must be command-line based and interactive, allowing the user to control its operation by entering commands. 2. ability to accept new data 3. ability to search for specific previously entered data 4. ability to save data to a file …

Member Avatar for John A
0
231
Member Avatar for jaigurudev

dear sir, plz help i am in a thick soup. i am a student in my final semisters of IT and i need to develope a software for my project. Actually i wanted to devepelope a software for the automation of a restuarant. i have learnt VB and i know …

Member Avatar for Comatose
0
101
Member Avatar for the_python

im making this game that is called PyTanks. If you want to know more about it please visit [URL]http://pythongaming.py.funpic.org/pythonmadegames.html[/URL] ... Anyway, I ran across this problem, how do you delet or remove a letter from a string. Lets say that my string is- string = "open sesame" I want to …

Member Avatar for jrcagle
0
5K
Member Avatar for Savage221

Hello. I'm stuck on a part in my program. Some numbers are adding up properly, others aren't. I assume the problem is that I'm using integers instead of doubles, however, how would you format the following in C? How to describe it, it's like a chain. I have to take …

Member Avatar for Lazaro Claiborn
0
133
Member Avatar for Maritime

Hello, anyone can help me to complete special grids on picture box. My program is running, but drawing is not so fast !

Member Avatar for Maritime
0
68
Member Avatar for maznil

I want build a staff information system use visual basic as a interface and microsoft access as a database. Please some one help me.

Member Avatar for Comatose
0
79
Member Avatar for GENERAL GUEVARA

Hi there... may sum1 help me... i need to know how to open Access data base from VB6??? THANKS

Member Avatar for Comatose
0
100
Member Avatar for d_maniger06

good day!.. i have this soap message that will be sent to a simple service provider simulator.. since this is only a simulation, i there will be only one service named leave (e.g. vacation leave, sick leave, etc.) [code] <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://leaveprocessor.blueprints.jbi.sun.com/"> <soapenv:Body> <ns1:processApplication> <appName>applicant</appName> <leaveType>type …

Member Avatar for jwenting
0
112
Member Avatar for linux

I just started Delphi and wanted to toy around with some of the features of it, so I started to. I made a TRichEdit box on Form1. If I run the application and try to type in the textbox, nothing appears, the cursor keeps blinking, as if I did nothing …

Member Avatar for radu84
0
144
Member Avatar for Pumbaa_hughes75

need help with command line arguments and creating a package in java. i need to hand this in soon and obviously i cant do it can someone help me.

Member Avatar for Pumbaa_hughes75
0
108
Member Avatar for alaaharb

You are to write a numerical base converter. This application will present the user with a menu to select the originating base and a subsequent menu to select the destination base. You will loop through these menus until the user wishes to quit. You are required to break the code …

Member Avatar for thekashyap
0
123
Member Avatar for Lazaro Claiborn

I've been trying to figure what I'm doing wrong all day. I'm becoming discouraged. Can anyone help me out? [code=cplusplus] void stripSpace(string &str) { int i,j,len=str.length(); for (i=0;j=0;i<len;i++;j++) if (str[j]==' ') { str.erase(j,1); j--; } str[j]='\0'; } [/code] I just won't seem to stop until I get this fixed!!!! Any …

Member Avatar for Lazaro Claiborn
0
157
Member Avatar for web developer

[B]Hi all how r you !! I miss u all very much .. I make a project of internal web application. This application should have a full mail system (inbox , compose , ... , etc). Can any one help me to create it or to find a free control …

Member Avatar for jbennet
0
69
Member Avatar for Duki

Here's my code... i put in some troubleshooting couts, but I can't figure out what's going on. #include <iostream> #include <iomanip> #include <fstream> using namespace std; int main() { const double INT_RATE = 0.10 ; const double FACTOR = 1.0 * INT_RATE ; const int START_AGE = 16 ; const …

Member Avatar for Salem
0
178
Member Avatar for jnabeel

i am trying to write a program to take a string and arrange in alphabetic order but iam totally fail to do it please help me

Member Avatar for Salem
0
83
Member Avatar for pinder

Hi, I need to grab a specific information in the /proc/cpuinfo (MODEL NAME) and print it on the screen in python. How do I do that. Thx for helping this newbie

Member Avatar for pinder
0
101
Member Avatar for nelly12

this is the code( not a complete code) [code=c] int master(int argc, char *argv[]) { int slaves_count = 0; m_host_t *slaves = NULL; m_task_t *todo = NULL; int number_of_tasks = 0; double task_comp_size = 0; double task_comm_size = 0; int i; xbt_assert1(sscanf(argv[1],"%d", &number_of_tasks), "Invalid argument %s\n",argv[1]); xbt_assert1(sscanf(argv[2],"%lg", &task_comp_size), "Invalid argument …

Member Avatar for thekashyap
0
114
Member Avatar for Debadipta

1.'Java is platform-independent'- - What's that supposed to mean though the Java run-time package differs from platform to platform;almost similar to creating different compiler for every different machine for the purpose of executing a C/C++ program? 2.'a machine is big-endian'-what does the statement signify? 3.As the Unix OS is entirely …

Member Avatar for Debadipta
0
111
Member Avatar for covertx
Member Avatar for gabs

I am trying to use chinese letters in a c++ program I'm writing. does anyone know how this can be done? I know that: [code]TEXT("[COLOR=#800000]\u03a3[/COLOR]")[/code] will print out a latin letter, so how do I get a chinese character, and perhaps there is an easier way? I need this asap, …

Member Avatar for thekashyap
0
131
Member Avatar for Nelly1965
Member Avatar for beuls

Hi everyone, I was trying to load an assembly during runtime from a remote application server using the web configuration file in C#. I created a dll eg. RemoteLib.dll. Then i developed a windows application that uses this dll. eg. testApp. I added a config file "testapp.exe.config" that contained the …

Member Avatar for beuls
0
217
Member Avatar for mforeman

I am trying to remove entries if they contain the word "connected" in Perl. My file looks something like below. So In this example, I would like to search for "connected" and if found remove all 6 lines associated with it. If not found, then move on to the next …

Member Avatar for winelover
0
228
Member Avatar for aot

I want to have radiobuttons with text that is displayed underneath the actual buttons. Is there a way to do this (within the contents of the Radiobutton widget, that is, not resorting to labels)? I know this question is ridiculously simple, but I haven't been able to find anything in …

Member Avatar for jrcagle
0
89
Member Avatar for mairtin.obrian

Hello Im using Framesets In one of the frames [code] <FRAME SRC="GetURL.aspx" NAME="inputFrame">[/code] the frame is used to gets a string of html characters The string is called StrResponse [code] Response.Write(strResponse)[/code] displays the html in the input frame GetURl.aspx but I want the string displayed in <FRAME SRC="C:\test2.html" NAME="displayFrame"> any …

Member Avatar for LordJPhillip
0
109
Member Avatar for bala24

Hi, I usually only participate in the C/C++ forum but i guess desperate times need desperate measures. Well, i am trying to query an LDAP through DirectoryServices but can't seem to get it right and need ur help in the matter. Here's the code i am using.. [code] strUID = …

Member Avatar for bala24
0
193
Member Avatar for Lardmeister

I don't seem to be able to save a number to a data file: [code]a = 123.44 f = open("data1.dat", "w") f.write(a) f.close() [/code] I get this message: [code]Traceback (most recent call last): File "<string>", line 204, in run_nodebug File "C:\Python25\ZLM\int2file.py", line 4, in <module> f.write(a) TypeError: argument 1 must …

Member Avatar for mawe
0
1K
Member Avatar for Marauder_Pilot

Alright, here's what I'm working on now. It's supposed to go through an inputted list of words, pick out actual words and create a numbered list of them, then, where it finds a number in the list, go back in the list from that number, replace it with a word, …

Member Avatar for underjack
0
147
Member Avatar for Anaa

i hav calculated a value(years).Now i want 2 merge it with an attribute of table(ml_y2 wher 2 is year).So i want 2 merge ml_y and 2.then i want 2 find the value of ml_y2 frm a table....plzzzzzzzz help me .can i do somthing like this in MY SQL???

Member Avatar for peter_budo
0
94

The End.