199,114 Archived Topics
Remove Filter ![]() | |
guc professors decided to give bonus marks to engnieering students to their high performance in their projects as follows : 1st semester students are given 5% of the total mark if the mark exceeds 90/100 3rd semester students are given 7% of the total mark if the mark exceeds 85/100 … | |
Why does the JVM initialise the data fields with default values if no constructors are defined in any class? What is the need for such a procedure of calling the default constructor? | |
Hi, me again! I wish to tidy up strings from user input. I have done a bit of research and have most of this working except the tricky bit - converting all/any whitespace between words to 1 ' ' char. For instance, using hyphen to represent spaces.. ---John-----MacDonald- should end … | |
I have a Date insert that is formatted into an Oracle 9i database and it works. But I had to make the Date variable a varchar2 in Oracle to get it to work: [code=java] java.sql.Timestamp myd = new java.sql.Timestamp(new java.util.Date().getTime()); String sub_date = new SimpleDateFormat("mm/dd/yy , h:mm a").format(myd); String query … | |
Hello, I am trying to impliment a guassian blur filter in C++, but i cannot progress asi keep getting a Floating point exception every time i run it. I am unsure as to why, i have narrowed the error down to somewhere within the function gaussian_mask() which creates the gaussian … | |
Hello... I'm a nOob. Sorry if this is in the wrong forum or if it's been asked... I did search but couldn't find anything. I have a job between hands I don't know if I can handle to be honest. I have to redesign this website: [url]www.tiendaxtienda.com[/url] (in spanish). As … | |
I have problem with my homework in C++ There is number n and numbers a1, a2, ... , an ( n<100 ) And I need to get thous number pairs, that are mutual prime. Also I need to use function, that calculates two number mutual primes. :S | |
im kinda a novice and in php i am trying to connect to mysql the i installed the wamp server that has the apacheserver,phpmyadmin and mysql now to connect to the mysql is a problem for me i cant. can someone help me | |
I am still just a beginner and i made this average program. It worked out just fine. THen i decided I wanted to make it say like the grade you got such as an A+ or C. Anyway after I add all the grades and divide them by the number … | |
Hi all, I am working on a project. On the php page, I am linking to a list of ip addresses which are already in my database. The url will be something like domain.com/view.php?ip=61.167.34.179 In view.php I have the following sql $connect = @mysql_query($sql,$connection) or die(mysql_error()); $sql = "SELECT * … | |
what I want to do is replace the spaces inputted to '~10' text. I input a string a1. I change the string to a char array names SA so I can go through each char. if the char[i] is a space, I want to append ~10 to the sa string. … | |
anybody knows how to read & write .avi file? | |
Hello, I don't know bandit_77, but I am also trying to write the exact program that he requested help on. I doubt I know as much as the original poster because I am very new to programming. So the answer to the "goldilocks" problem is, ""Woah, back up Einstein, I'm … | |
hello to all.. i got a machine problem which is finding how many times the inputted number occured.. hows thar? inputted number:(bufferedReader) Enter number: 22 Enter number: 23 Enter number: 32 Enter number: 32 Enter number: 23 Number to be search: 2 Occurence : 6 i cant get it.. pls … | |
Hi I am creating a house search programme. the objective of this programme is to sell houses within a range specified by the potential buyer. Now the buyer would type in the amount he is willing to spend and the houses closest to this range should be presented to him/her … | |
Im trying to Write a Recursive funtion that computes F(n) = 2 + 4 + 6 +...+2n using pass by reference.. here is the code I have [code=c++] #include <iostream> #include <iomanip> #include <cmath> using namespace std; int F(int &); int main(){ int n; cout <<"Enter n for computing F(n) … | |
Hello all! New here at daniweb. I am working on a function to check the validity of a sudoku puzzle. It must check the 9x9 matrix to make sure it follows the rules and is a valid sudoku puzzle. this is what I have come up with so far: [CODE]/** … | |
What I currently have is a table with 3 columns. I have an image map in the second column with the links that I'd like to have open in the third column. What would be an easy way to go about this? | |
Hey guys I'm new to this so here goes ...... I run a forum (phpBB3) and am now trying to get an contact us section on the home page. I have no real PHP knowledge and am trying to get my head round how it all works. Can I use … | |
hi, I'm checking a date is valid as it's typed in, however I always want to allow the user to skip with a CR. The while condition is causing my program to crash when [B]str_date.length()==0[/B] (I think) here's my code: [CODE=c++] struct Date { int d; int m; int y; … | |
any1 here know how to make a browse button? that can browse files inside a specific folder and then playing it? also what player should i use in my form? only know Amovie.ocx but i still dnt know how to make or have an idea in making a browse cmdbutton … | |
Hi. I know C#, but I want to venture out cautiously into the world of unmanaged code (reasons had). Now, I want to learn C++ eventually, but I was thinking that I should learn the C language before, since if I'm not mistaken, C++ is itself an extension of the … | |
hi.. I'm new to ACE framework. I want to develop a server which has multiple ports and multiple clients can connect with the server simultaneously. I tried to do it using a ACE_Event_Handler objects witch registered with ACE_REACTOR. But i could not achieve what i want. If you have idea … | |
Hi all! I am still wondering how to add data to excell file without erasing old data is it possible to do it in Visual Basic 6 ? I know how to open excel file and write data i just want to keep the data and continue counting the clicks … | |
Hi My problem statement is as follows :- I have set of processes all having unique name say PROG,PROG1,PROG2 etc. Now with each of these processes different integer values are being associated say min_time, max_time,median_time. What i want is to create a map of all these processes and associate the … | |
hi i have this assingment due very soon and i am totally stumped. I have to use java and im not good with it at all , ive' been searching everywhere and i can't find anything that would help me. Hopefully you guys can help me , thanks in advance. … | |
Hi I wish to break up a date entered as a string into [B]int[/B]s for day, month, year. String to be entered follows this convention DDMMYYYY - this will be checked so we can presume it's suitable. I have it working using tempary variables, but is there a way to … | |
<a onclick=" window.open('C:/Documents and Settings/palanikumar.r/Desktop/Doc.bat','remarks','height=600,width=915,left=50,top=50')" ><input type="button" value="start" onClick="startclock('')"></a> see, in the above coding i am using button to open a document file. im opening it through the batch file.. the batch file contains @echo off c: cd\ cd jdk1.5.0_05\bin javac Doc.java java Doc Doc.java is a java program through … | |
hi lets say you have a big application and you want to break it up to many files... The ideal would be if you can have the application in one .c {i.e main.c} file your types and includes in another file {types.h} and your functions in a seperate file {functions.c} … | |
Hi, I have some problem while displaying the content with special characters like other language especially from Belgium Dutch characters, I meant the exact database table content [Belgium Dutch characters] not displayed in respective pages but only shows the other symbol like? [Question mark], please help me to avoid this … | |
Hi friends, i have a doubt, in most of the 16 bit compiler like MSVC1.5, all the far pointers are 32 bit address but they are converted to 20 bit address when accessing data and writing data, how do i tell my compiler to use the 32 bit address as … | |
Hi, I am supose to do a program in C++ that tests for a password it should do the following: a- the password should be between 6 and nine characters b- the password should contain at least one upper case and at least one lowercase letter c- the password should … | |
Hi I have created a database using ms access linked with vb6.But i am having difficulty coding or programming for a method that will help me find and retrieve a specific record.Any time i try, it either tell s me a runtime error has occurred or data member not defined.In … | |
I'm new to this site, and I heard that I can get help from here with learning programming. I am having trouble with sentence strings. If someone inputs a sentence followed by just a single character, I want the program to only write the sentence until that character is first … | |
I've got some really fundamental questions that I am almost embarassed to ask. But what is the real importance of properties in C#? And how many ways are there to invoke a method? Ssam ....... | |
Hey guys im new here... i need to make a program that estimates the costs of the following: Materials Ceiling: xx.x litres @ x.xx per litre 99.99 walls: xx.x litres @ x.xx per litre 999.99 xx rolls of paper @ xx.xx per roll 999.99 woodwork: xx.x litres @ x.xx per … | |
Hello folks, I was wondering if anyone had any experience with php configured with pdflib. I am trying to create a new pdf by loading an already existing pdf and overlaying some information where the fields would be on the existing pdf. I have been trying to figure this out … | |
Ok, i have this program It determines if the number entered is a prime or not. I did that, posted it, and now i need to do this: Determine and print the prime numbers between a user-specified lower bound and user-specified upper bound. Read all through my text and browsed … | |
Hi, Does anyone here have any experience of using libtiff in c++? I have been trying to do some simple image processing using it and I don't seem to be able to write images. I can make files that have roughly the right size, but they're not correct as they … | |
Hey all, I was wondering if you could help me out with parts of my C++ code that I'm writing. Overview goes something like this: im making a finance recording system. So i have 5 files. one file is to save all the incomes (like a paycheck). another file is … | |
Legacy and Other Languages can anyone give me an introduction? give some examples also. if anyone is free. | |
I am working on homework, and been doing this assignment with absolutely no luck, i am in need of major help. This is the assignment. Using an array, initialize all elements in the array to 1. Starting with array subscript 2, every time an array element is found whose value … | |
This function should create an array of size 50 containing randomly generated letters within the range [1, 25]. The program should write the randomly generated array to an output file named by the user. Determine the maximum and minimum values and the indices of their first occurrence and also the … | |
I'm having a problem in program trying to access pieces of an array. My array is declared as: [CODE]mapping DB 7,0,8,1,9,2,4,3,5,4,6,5,1,6,2,7,3,8[/CODE] The procedure that uses the function is: [CODE]infloop: _GetCh noecho cmp al, '@' je gameEnd playerGoes: mov si, 0 playerLoop: cmp al, [mapping + si] add si, 2 jne … | |
i made macro named print as following : print macro str .data x db str .code mov ax,seg x mov ds,ax mov ah,09 lea dx,x int 21h endm it's worked very well when called for one time but when called 2 or more error message appears that is 'duplicated defining … | |
Good Day, How would you code in VBScript to read the content of multiple HTML files into an array? Please observe the below sample and modify as necessary. My requirement is read multiple files by extension and not simply specify a single file. Const ForReading = 1 Set objFSO = … | |
I have a palindrome program.Is there a way to ensure user input terminated in a string by a punctuation mark (e.g. ‘!’, ‘.’, or ‘?’.) in an array? And how do i get the program to exclude commas? | |
[B][I][COLOR="Green"]please guys i need help on the above. write a finction in c to find the number of times that a given word (i.e a short string) occurs in a sentence.[/COLOR][/I][/B] | |
[CODE]#include<stdio.h> int main() { for(;0;) printf("Hello"); return(0); }[/CODE] This code should not give any output, but it is printing Hello once. I'm using TC++ 3.0. Is something wrong with the compiler? |
The End.