199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for see_moonlight

How can i find out the Max and Min value from a Vector, what's the function can i use to do that? max_find() e.g. double x[]; double x_max; double x_min; x_max = max_find( x ); x_min = min_find ( x ) ;

Member Avatar for britt_boy
0
882
Member Avatar for ckl

normally we read text file like this.. $filename = "D:/Point/Point.txt"; $handle = fopen($filename, "r"); $contents = fread($handle, filesize($filename)); fclose($handle); if i want read text file on LAN computer. how to write path name of the text file??

Member Avatar for ckl
0
101
Member Avatar for satimis

Hi folks, Perl === Please advise how to add 'bold', 'italic', 'colour', etc. such features to the printout. Can HTML syntax work on perl? I tried seeming not applicable. TIA B.R. satimis

Member Avatar for satimis
0
117
Member Avatar for fivetoesonefoot

hey ya'll i've made this code (simple, bc that's what i am) and i think it would work except for the tiny problem that i always get the error that the switch statement is illegal, but i don't know what to put instead (when i do run the program, it …

Member Avatar for britt_boy
0
90
Member Avatar for JimJake

I have built a SDI project in Visual C++ called HelloSDI. I used a book I bought to learn about Windows applications. The project compiles 0 errors and 0 warnings. The project has a simple dialog box added to it. When I run the program up pops a window that …

Member Avatar for steveh
0
145
Member Avatar for chuckles

Greetings......... I bought a basic application that doesn't print out a hard copy properly. The sellers of same can't figure out what the problem w/their code is. Would like to get a "bare bones" Qbasic app without mortgaging my very being. Am I asking too much, or is my need …

Member Avatar for khkwa
0
283
Member Avatar for potential

guys, i need your help. please... i need to make a function which compares 2 values if they are equal up to 1,2,3,4,5 significant figures. it needs 3 parameters: x1, x2 (the values to be compared) and sf (the # of sign. figures) i think i need to subtract x1 …

Member Avatar for anastacia
0
122
Member Avatar for jifiii

Ok, for a lab I have to write the UNIX more filter in C, but I have got everything done execpt one thing. I only hvae it to where it can read 20 lines at a time. But what I want to do is if argv[1] == -Pxx where xx …

Member Avatar for nvanevski
0
183
Member Avatar for ahmedsamir

i want to do aprogram to convert from octal to binary and vise versa i tried many but without aresult help me blease

Member Avatar for Bollimuntha_raj
0
155
Member Avatar for EnquiringMind

Howdy All I know next to nothing about PHP, just very basic stuff. I have a PHP Mysql driven web site that I would like to change the look of. I am looking for a program that I can point at the PHP file and will show me the HTML …

Member Avatar for Vardadringion
0
209
Member Avatar for givenr

Hello everybody! My name is Given and I'm new to these Forums. I have been given an assignment by my c programing teacher and I don't know where to start can somebody helpme? I have attached my question here.

Member Avatar for givenr
0
96
Member Avatar for kai13

I'm currently stuck in my program. I'm supposed to create a new method that inputs a message string and takes each letter and converts it into a two dimensional array of 1's and 0's. For example the letter 'H' would be 10001 10001 11111 10001 10001 My thoughts were to …

Member Avatar for kai13
0
122
Member Avatar for nufanvandal

Hello, I have a project which involves basic implementations of linked lists, in C. First though, I have to read the information from a file, which contains all different types(int, char, float) which is my problem...after i read the information into the nodes, it should be smooth sailing.. I was …

Member Avatar for nufanvandal
0
128
Member Avatar for edprush

How did Dani get the "Search" link to go directly to the advanced search page? Also does the Search field (see the purple-colored bar near the top of the page) perform the same search as on the search.php page?

Member Avatar for Dani
0
271
Member Avatar for hexstar

Well first some background, this hasn't happened before but last night I had some trouble installing a shoutbox mod so I undid all the steps I had performed I have also installed a search engine friendly mod successfuly which makes php links html links even though I know ipb supposedly …

Member Avatar for hexstar
0
207
Member Avatar for lida1984

HI plz help me to write my program in c++ which it has the name of for example lida.COM and it just cout a text such az my name or ... u knew i could write many program in c++ but this time i waana change the format of the …

Member Avatar for alc6379
0
132
Member Avatar for smartintelleng

I go to make my program and I get those warnings. I know that they are linked to the exceptions my program throws during execution which terminates my program another godamn debug error. The problem is that when I double click on the warning, it brings me into the complicated …

Member Avatar for Dave Sinkula
0
199
Member Avatar for JIMBOB963

I get an error message that reads: "Your web Browser does not support Java Applets or Java is not enabled in web browser Preferences." It is there a way to correct this problem? I am new to Java. Please give me a detailed explanation if possible. I am running "Windows …

Member Avatar for JIMBOB963
0
117
Member Avatar for shahin

Hello All I am new at this website and I hope I can be a good memeber. I have a question about C programing language. I need to change the decimal point of a double for example: If I have a doubles with 5 decimal digits 123.45678 234.12345 34.34567 I …

Member Avatar for Dave Sinkula
0
313
Member Avatar for server_crash

I made a text editor with very basic funtionalities. I wrote it all in one class because I really wasn't sure what to put into other classes. Right now the code is pretty messy and I want to rewrite it. I was wondering if anyone could give me some input …

Member Avatar for server_crash
0
180
Member Avatar for Reagan

I am working on a time card program in Visual C++ (FYI: I am VERY new to this, so, please, be gentle with me) :) It compiles with 0 errors and 0 warnings, but when it executes I get an error message that the program needs to close. When I …

Member Avatar for Reagan
0
534
Member Avatar for sam1

i have a super class called employee1 and subclass fulltime whenever i run it i get this error: javac employees/FullTime.java employees/FullTime.java:3: cannot resolve symbol symbol : constructor employee1 () location: class employees.employee1 public class FullTime extends employee1 ^ 1 error can anyone help plz

Member Avatar for freesoft_2000
0
63
Member Avatar for mark hughes

I'm trying to find a site where can download a java sdk1.4 for windows 98. I've tried the Sun site, but i keep getting an error page. Any ideas?

Member Avatar for freesoft_2000
0
117
Member Avatar for javaDumb

Hello all from javaDumb! I'm in my first java class and this is my first post so please be patient. I'm suppose to use StringTokenizer to search a document and replace some text, but the book for this course only explains how to print the text to the screen as …

Member Avatar for freesoft_2000
0
200
Member Avatar for Bob

[B]Intro[/B] [i]This tutorial provides a brief introduction to C++ data types.[/i] [b]What is a data type? [/b] When we wish to store data in a C++ program, such as a whole number or a character, we have to tell the compiler which type of data we want to store. The …

Member Avatar for 1o0oBhP
0
2K
Member Avatar for C++Newbie

Hello, This is my first post. Anyway.. I am having trouble with my c++ program. My assignment is to read from a file a 2-Dimensional array. However, when attempting to do so with my code, which i'm guessing is faulty, I keep getting this error while using Borland Turbo C++ …

Member Avatar for jwenting
0
564
Member Avatar for fwongmc

Hello everybody!I am a new to C.My lecture asked us to write a program with pointers.But I do think I get stuck on pointer's stuff.Can anyone please do me a flavour?It is kinda urgent stuffs. The following are the questions: Write a program to dispense change.The user enters the amount …

Member Avatar for jwenting
0
137
Member Avatar for kama

Hello, I need to create a program that will read in a weight in kilograms and grams and will output the equivalent weight in pounds and ounces. I need to use 3 functions: for input, calculation, and output. I also need to have a loop that will let the user …

Member Avatar for anastacia
0
5K
Member Avatar for netjet

I can't figure out how to keep it from running off the array and going crazy. I tried a few functions, but they either get rid of my output or funk it up. I want the knight to be a 3 the kill spots a zero and everything else a …

Member Avatar for netjet
0
108
Member Avatar for WrEcK

I'm a little lost here. I'm trying to read from a file named source.txt located in the same area as my program. If i could figure this out i could continue with the rest of the program. I'm just getting a blank screen so i know i'm way off heres …

Member Avatar for Raiders
0
149
Member Avatar for Archer

Can anyone help me on strings??? I am a newbie and I have a problem dealing with string(school thing). ---------------------------------------------------- A program that checks if the substring "the" exist in the string inputted by the user. * Use a function for checking. ----------------------------------------------------- I'm in a big trouble right now... …

Member Avatar for Archer
0
199
Member Avatar for smartintelleng

[img]http://www.computersforpennies.com/error.gif[/img] testing wether this post works, trying to host the image from my site since i dont know how to do it using his form for threads [B]If the image shows, could you tell me what that debugging error means[/B]

Member Avatar for nvanevski
0
120
Member Avatar for Starlight620

I ran my C++ program and got these error messages. I have no idea what they mean. :?: Will somone please help. error LNK2019: unresolved external symbol "int __cdecl GetInformation(int,int,int,char (* const)[15],char (* const)[15],float * const,float * const,float * const,float * const,float * const)" (?GetInformation@@YAHHHHQAY0P@D0QAM1111@Z) referenced in function _main fatal …

Member Avatar for nvanevski
0
179
Member Avatar for jrworks

hey I've been getting this error: [COLOR=Red]Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource [/COLOR] This is what it said that is causing the problem: [B]$stafflist=mysql_query("SELECT id,name,sn,email,title FROM staff WHERE man='Yes' ORDER BY id");[/B] Can you please tell me what is worng ASAP. Thank you

Member Avatar for jrworks
0
208
Member Avatar for blackbabydoll

This program is a word counter. But my logic is all messed up when it comes to the counting. I am not too sure on how about fixing it. The project compiles yet does not work properly. I still haven't figured yet how to count lines or characters properly. [code] …

Member Avatar for jwenting
0
110
Member Avatar for huria
Member Avatar for AllenN

New boy -easy question - doing a tutorial and the compile and run work but the only time I see the program partially running is when I put in a cin - I have looked but I cannot find how to put in a pause and allow me to see …

Member Avatar for vegaseat
0
183
Member Avatar for santa_barbarian

I am a java programmer trying to understand a c++ oddity that I ran into. My c++ program writes a few MB of data using ofstream. Just before the program ends I close the ofstream. However when the program terminates, the amount of free memory on my linux box has …

Member Avatar for santa_barbarian
0
185
Member Avatar for CNewbie

I am trying to write a program that takes a series of numbers input by a user and performs some calculations on it. While I have most of the code put together and working perfectly fine, I haven't been able to write code that will refuse the users input if …

Member Avatar for vegaseat
0
165
Member Avatar for hexonflux

Becuase windows sucks [i]edited by moderator[/i]. BGI Graphics are not soupported under it. What Can I use insted of graphics.h?

Member Avatar for alc6379
0
494
Member Avatar for kitakits

Hey there can anybody help me look for a copy or program a simulation of a Round Robin Algorithm... The program should accept the following from the user... 1) Quantum Time 2) Burst Time 3) Arrival Time 4) The number of Jobs.. If you can... please help everyone else avail …

Member Avatar for alc6379
0
738
Member Avatar for wangstarr

Hi everyone, I have a project for my class. I have to write a function that accepts a c-string as an argument and returns the number of words contained in the string. For instance, if the string argument is "four score and seven years ago" the function would return the …

Member Avatar for varunrathi
0
314
Member Avatar for fsoranno

Hi everyone, I am new to this forum. Thanks in advance to anyone who tries to solve this. I wrote .JSP reports along with two other members of my team. We each wrote some reports in our separate IPLANET sessions. In order to move them to system test we have …

0
100
Member Avatar for wangstarr

Hi, I'm supposed to create a program that does the following: A corporation has six divisions, each responsible for sales to different geographic locations. Design a divsales class that keeps the sales data for a division, with the following members: an array with four elements holding four quarters of sales …

Member Avatar for jwenting
0
567
Member Avatar for nelsonca

Hi, everyone I am new to asp.net and just installed asp.net in my computer(on windows xp pro sp1). but when i created a asp file and requested in a browser, it couldn't run properly. here is the code: <html> <body> <h1> The date is <% Response.Write(DateTime.Now.ToLongDateString()) %> </h1> </body> </html> …

Member Avatar for latinboy192001@
0
236
Member Avatar for jifiii

Does anybody have a source code for the MORE filter used on Linux, because I am curious as to how it works.

Member Avatar for jwenting
0
110
Member Avatar for George2

Hello everyone, If I am using two threads, the task of one thread is to read the first 1k bytes from a specific file and the task of second thread is to write (maybe modify without the change of 1k length, maybe append some additional bytes making the file larger, …

Member Avatar for George2
0
157
Member Avatar for lilpil02

Hello everyone! I sure wish I would have known about this place befroe now, it would have saved some long nights. I am having probems with arrays. The situation is this read all the lines from a file and store it into an array. Once you do this, you have …

Member Avatar for lilpil02
0
173
Member Avatar for anastacia

[FONT=Arial Black]undefined[/FONT][SIZE=2]undefined[/SIZE] hi every body. well i am a new member and i hope that i am doing things the right way . well my problem is that i am a first year students and obvoisly i am studying c++. but i got an assignmet to do. i wrote the …

Member Avatar for acsinha
0
189
Member Avatar for freesoft_2000

Hi everyone, I have a textpane with some text inside and trying to search for a particular text in the textpane by highlighting it. Basically i the main function that does this is as follows TextPane is an instance of my JTextPane public void findtext(int pos1, String str1) { //This …

0
371

The End.