199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sylvie.Georges

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 …

Member Avatar for Sylvie.Georges
0
104
Member Avatar for Jishnu

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?

Member Avatar for Jishnu
0
320
Member Avatar for alcoheca

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 …

Member Avatar for alcoheca
0
118
Member Avatar for chicago1985

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 …

Member Avatar for chicago1985
0
81
Member Avatar for Knad

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 …

Member Avatar for Knad
0
292
Member Avatar for Acid Burn

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 …

Member Avatar for Fungus1487
0
103
Member Avatar for valdix

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

Member Avatar for Salem
0
157
Member Avatar for nic1213

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

Member Avatar for buddylee17
0
89
Member Avatar for np2100

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 …

Member Avatar for np2100
0
302
Member Avatar for sagedavis

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 * …

Member Avatar for sagedavis
0
156
Member Avatar for wambooman

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. …

Member Avatar for Duoas
0
125
Member Avatar for Ken JS
Member Avatar for danejar

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 …

Member Avatar for Nick Evan
0
130
Member Avatar for ronghel

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 …

Member Avatar for Ezzaral
0
280
Member Avatar for Grub

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 …

Member Avatar for Ezzaral
0
108
Member Avatar for MNDGAM

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) …

Member Avatar for vmanes
0
104
Member Avatar for brlukosk

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]/** …

Member Avatar for brlukosk
0
4K
Member Avatar for riscphree

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?

Member Avatar for Fungus1487
0
105
Member Avatar for fox_racing

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 …

Member Avatar for Fungus1487
0
106
Member Avatar for alcoheca

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; …

Member Avatar for Narue
0
264
Member Avatar for hawisme000

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 …

Member Avatar for hawisme000
0
110
Member Avatar for scru

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 …

Member Avatar for Narue
0
82
Member Avatar for wijitha

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 …

Member Avatar for vijayan121
0
289
Member Avatar for wuchi

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 …

Member Avatar for wuchi
0
95
Member Avatar for tonyaim83

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 …

Member Avatar for vijayan121
0
105
Member Avatar for elisa_yong

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. …

Member Avatar for elisa_yong
0
140
Member Avatar for alcoheca

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 …

Member Avatar for Nick Evan
0
864
Member Avatar for hidash_in

<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 …

Member Avatar for masijade
0
129
Member Avatar for n.aggel

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} …

Member Avatar for n.aggel
0
99
Member Avatar for sujithfem

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 …

Member Avatar for Nick Evan
0
95
Member Avatar for tumstech

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 …

Member Avatar for Salem
0
158
Member Avatar for DamiLeon

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 …

Member Avatar for wambooman
0
86
Member Avatar for uonsin

hi, i have to make a IM program with C and i was wondering if anyone knows a way to access dos commands with C, like net send i was thinking to use rpc (remote procedure call) for windows, so if anyone have any suggestion please let me know

Member Avatar for uonsin
0
97
Member Avatar for TOROOOLOLOOLO

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 …

Member Avatar for choudhuryshouvi
0
113
Member Avatar for mrgreen108

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 …

Member Avatar for vmanes
0
121
Member Avatar for sam63

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 .......

Member Avatar for sam63
0
85
Member Avatar for AlexN

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 …

Member Avatar for Duoas
0
121
Member Avatar for world_weapon

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 …

Member Avatar for scottholmes
0
95
Member Avatar for jrice528

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 …

Member Avatar for Ancient Dragon
0
144
Member Avatar for ravenous

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 …

Member Avatar for ravenous
0
5K
Member Avatar for ice_tea_lemon

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 …

Member Avatar for Salem
0
113
Member Avatar for s69265

Legacy and Other Languages can anyone give me an introduction? give some examples also. if anyone is free.

Member Avatar for Duoas
0
108
Member Avatar for jrice528

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 …

Member Avatar for jrice528
0
110
Member Avatar for needHelp27

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 …

Member Avatar for Narue
0
87
Member Avatar for tiki_master

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 …

Member Avatar for Duoas
0
269
Member Avatar for coolerfantasy

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 …

Member Avatar for Duoas
0
115
Member Avatar for KWITS

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 = …

Member Avatar for KWITS
0
357
Member Avatar for xeto

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?

Member Avatar for WaltP
0
339
Member Avatar for tofwono

[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]

Member Avatar for WaltP
0
252
Member Avatar for Jishnu

[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?

Member Avatar for WaltP
0
98

The End.