199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for AnthIste

hey there. my problem is pretty simple (i think). I dont know how to point at a multi dimensional array.how i understand normal array pointers is: [code=C++] int numbers[5]; int *p = numbers; //so now *p points to numbers[0] //so if you say: *p = 10; //is the same as …

Member Avatar for AnthIste
0
117
Member Avatar for CornPoper
Member Avatar for angelinajade

quick question, I am a newbie, first with this site, and with programming. this is my first semester and I am learning the basics. I am having a problem with Javascript. this simple code is supposed to just create a web page with the tile , my name and then …

Member Avatar for MidiMagic
0
73
Member Avatar for Terry Robinson

I've used Delphi for the past 12 years, but now I need to get up to speed in C#. Since both systems were designed by the same person, there are lots of similarities. However, C# seems to have a big gap when it comes to centralized data access. All of …

Member Avatar for JerryShaw
0
399
Member Avatar for Dennis_Phils

Hi all, I'm having problem with the javascript functions. I'm using OOB webpage that uses MOSS features for search. It seems that when I click the search button, it doesn't work using firefox browser. Here is the code from the XML page: <td bgcolor="#666666" width="70px"><img src="../images/Search-buttonA.gif" onclick='gosearch()' id="searchImage" style="cursor:pointer"></td> <script …

Member Avatar for MidiMagic
0
116
Member Avatar for Melzy

The class that my bean uses has an array textFields[407]. I have 407 textfields in my jsp file. I used a loop to make the textfields. So, it looks something like this: [code=JSP] <%for ( int i = 0; i < lineCount; i++ ) {%> <INPUT TYPE="TEXT" NAME="textFields"+i SIZE="4" MAXLENGTH="7" …

Member Avatar for lookof2day
0
266
Member Avatar for aximenes

Conjunto is classtype that implements an array of pointers to some other class objects, i'm trying to overload the % operator so that the result is the join of both arrays into one. eg. array1%array2 = array1 + array2 im' trying to use methods of the class Conjunto such as …

Member Avatar for aximenes
0
201
Member Avatar for sanelisiwe

hello everyone,i'm new to classes but i have adapted well with it. i've been given this task and i'm left with three days to submit.i tried it myself but i just can't get it please help. this is the problem below. proram 2 MULTICHOICE VIDEO RENTAL SHOP needs an Object …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for munyu

Hello guys help me with a code that hides a document say for example in my documents you can email at <snipped> if you get the code or anything about c++

Member Avatar for Ancient Dragon
0
97
Member Avatar for Sofo

I have written a small application that sends an Email. I would like it to terminate itself without any user action. I end the OnCreate procedure with Self.Close, but the application keeps running. What am i missing?

Member Avatar for Duoas
0
166
Member Avatar for jigart4586

hi, i a m jigar thakkar please help me. int a=1; printf("%d%d%d",a++,a++,a++); output : 3,2,1 how work this in c? please explain in detail? Thanx in advance.

Member Avatar for Ancient Dragon
0
110
Member Avatar for Murkhunter

hELLO i have a small question.im new to the key logger world.I have no idea on how to use one but would like if some one could explain how to put a keystroke logger program on a file share site.I had a keylogger on my pc before...not the best thing …

Member Avatar for Ancient Dragon
0
106
Member Avatar for dave_nithis

Hi all, a=2007-05-10 b=2007-06-10 These are the two given dates and I need to compare. The script should first compare years.If both are same or if a is lesser than b,it should print correct.If a is greater than b,then it should print error.Similarly for the dates(05 and 06). No need …

Member Avatar for ghostdog74
0
1K
Member Avatar for tracethepath

hello everybody... i am trying to make a project on binary files and that needs a function to modify data in a binary file. I have made the following class. [code] class example { public: char name[10], number[5]; void getdetails(); void showdetails(); example() { name[0]='\0', number[0]='\0'; } char* getname() { …

Member Avatar for WaltP
0
2K
Member Avatar for tom1989

How do i terminate a loop. i have written for(int i = 0; students; i++) but it keeps on going forever and will not stop.

Member Avatar for WaltP
0
115
Member Avatar for dabu

Can else have more than one statement? [code] if (control) <statement> else if (control) <statement> else { <statement> <statement> } [/code]

Member Avatar for vmanes
0
82
Member Avatar for people123

Hi, I am new to C++ and I joined this forum with hopes of learning as much as i possibly can about the language. This seems like a nice place with a mature community. I bought a C++ book and I'm just now learning the basics such as goto, for, …

Member Avatar for tracethepath
0
118
Member Avatar for mypopope

hi! smart people. It is my 11 days of reading and studying this book turbo c/c++, and I'm almost in the last part of the book. It is fun learning computer programming using c++. I'm having problem on how to apply the principles, that i've learned,so I need an example. …

Member Avatar for WaltP
0
241
Member Avatar for still_learning

I am looking to make a small program for a friend who likes to play roulette. I am looking to make a program that reads from a file which contains numbers (the numbers that come out in roulette) and then counts the amount of numbers that fall in certain groups. …

Member Avatar for tracethepath
0
109
Member Avatar for Badong Ang Lim

Hello I'm new here, I try this site when I found the url in the web when I am trying to solve my problem. And I became interested and join. Hope you can help me with this one: I have this program: #include <stdio.h> main() { char input; int base,a,b,c,d,e; …

Member Avatar for Badong Ang Lim
0
442
Member Avatar for tom1989

Hi, i am having some trouble trying to finish my program! So far i have been able to load the data from a file into an array! Although now, what i cannot do is use this data. I cannot figure out how to use this data later in the program! …

Member Avatar for vmanes
0
92
Member Avatar for barbie 2

hi i am writing a program that counts words containing at least 3 different vowels using functions and also input files.i am confused here and don't know what to do.in this program i am to write another function that will output either 1 or 0 when a character is a …

Member Avatar for tostrinj
0
155
Member Avatar for blitz2bleach

Hello there, i just need your opinion about this...i have now database and all i need to do is to connect it on this page..my question is..where i should put the code of connecting this page to my database that has a column of "ID" and "Password" and it has …

Member Avatar for SheSaidImaPregy
0
176
Member Avatar for isaacmacdonald

I'm taking a numerical analysis class (using c++) and one of the assignments I have is to implement the secant method for a simple polynomial (x-x^(1/3) -2). Using this recursive method xk+1 = [f(xk)*(xk-xk-1)]/[f(xk)-f(xk-1)] Simple enough, but part b of this question requires that a number Em (being defined as …

Member Avatar for Rashakil Fol
0
131
Member Avatar for Pim

Well I'm quite a noob programmer, but I wonder if Microsoft Visual Basic 2005 Express edition programs in .NET or in VB 6 (This might be a really silly question) Thank You.

Member Avatar for tostrinj
0
150
Member Avatar for Justmehere

I'm using Borland Command Line Compiler and want to use the regexp.h implementation of this header file. Where can I find all available functions and their definitions and maybe samples or examples of how they are used ? Thanks.

Member Avatar for Justmehere
0
129
Member Avatar for dabu

Hello. I wrote a program which works fine, all i need is to add one more thing. When I ask the user to input an answer (withdraw, balance...) I don't know how to prompt them if they enter something else, such as "golfball" and loop them back to entering the …

Member Avatar for Lerner
0
155
Member Avatar for blindkilla

Ok i have a file of names that looks like this: [code] john mary joe matthew [/code] im trying to use a for loop to store each name in a variable or string so i can use a for loop again later to output each name im pretty new to …

Member Avatar for WaltP
0
118
Member Avatar for arkane

Hello to the forum, perhaps someone can help me. I am trying to read a file that has the following format: 128 byte header float data When reading the header, I need to extract the following from the header: bytes0-6= short unsigned int big endian byte7 = int bytes8-23= float …

Member Avatar for arkane
0
149
Member Avatar for dddave999

I would ultimately like to write my own OMR (Optical Mark Recognition) program. What language would you recommend is best to carry out this task.

Member Avatar for dddave999
0
335
Member Avatar for mister-fett

I decided to revive my (many months) inactive site today using things I've learned about C++ CGI and the Document Object Model along with CSS. The site is still down, but I'm trying to get back into CGI after leaving it alone for a while (also months). I've spent the …

Member Avatar for WaltP
0
435
Member Avatar for MedianHansen

Lately i've been having some problems, importing an SDL library, into my compiler, and as a result of that i have chosen to change to a new compiler. I have followed 3 differend online tutorials, re-installed the compiler three times, and done it with three different downloads of the SDL …

Member Avatar for people123
0
325
Member Avatar for weasel7711

I am working on a project to demonstrate the use of strings without using "strings" in the formal definition, as in using pointers to arrays of characters. The program is supposed to pick a string from an array of pointers to chars, but allow the program to include more words …

Member Avatar for weasel7711
0
2K
Member Avatar for jonwildman

Visual Basic coding for excel database - am tearing my hair out! I am trying to build a database in Excel 2002 / Windows XP. I have 5 columns starting from row B they are as follows.. TITLE/ PUBLISHER / YEAR OF PUBLICATION /DATA TYPE /ELECTRONIC /HARDCOPY /DESCRIPTION /WEB LOCATION/NETWORK …

Member Avatar for hopalongcassidy
0
165
Member Avatar for cl3m0ns

I have a program that takes two separate arrays one of all the peoples names and the other of their test scores. I am not sure how to display the scores in a table view. here is my code so far [code=cplusplus] #include <iostream> #include <string> #include <math.h> using namespace …

Member Avatar for tracethepath
0
86
Member Avatar for Attila.Both

Hello all! I am trying to run my SOAP-XML application, but I am constatnly receiving the folowing exception. Can someone expalin me what do I do wrong? Any suggestions or ideas about the solution? Exception: The value of the 'http://www.w3.org/2001/XMLSchema-instance:type' attribute must be namespace-qualified.[COLOR="Red"][/COLOR] You may also write to me …

Member Avatar for Ezzaral
0
67
Member Avatar for zandiago

Good day. How do i convert the following code to C++? [code=java] // Lets import our file functions. import java.io.*; public class Grades { // Setup an array of test students private static Grades.test student[] = new Grades.test[50]; // Just for spunk we will create an inner class to keep …

Member Avatar for Ezzaral
0
180
Member Avatar for WVTraveler1

Hello, I would like some help with ending a program. I am working on some homework for writing code and everything I try will not allow me to end the program. I keep getting a syntax error "`expected "}"`" and I can not figure it out. I have checked for …

Member Avatar for Ezzaral
0
143
Member Avatar for njagi

I have this code to update the DB by subitting values in the checked columns The problem is that it skips some entries and does not always subit the values entered SQL Query $thisid=$_POST['id']; $nvalue = $_POST['newvalue']; $chkd = $_POST['checked']; foreach ($chkd as $key => $value) { $sql="update invoice_subcategory set …

Member Avatar for JeniF
0
138
Member Avatar for warpstar

First of all I would like to say that I am a super newb at C, and would appreciate any help possible. I have to read a text file of words and sort them in lexicographical order (alpha order), I tried using the bubble sort and got this error on …

Member Avatar for Salem
0
486
Member Avatar for jagpreet

can anyone provide me with the script for extracting columns from a text file. the script needs to be in visual basic

Member Avatar for Diguelo
0
238
Member Avatar for sohanonline

hello..... i just had a problem with file management in c programming.my friend gave problem but i dont know how to see the output.is there any file which i have to create first and see the answer?please help me.thanks.:)

Member Avatar for iamthwee
0
114
Member Avatar for warpstar

Whats the difference between: pp = malloc(m*sizeof(int)) <--- I understand this and pp = **int malloc (m*sizeof(int)) <--- but not this ?

Member Avatar for Salem
0
159
Member Avatar for cat8882

Okay so I'm supposed to be doing an program where the user types in the circles points and the center of the circle...then make a new method for each of the things calculated like distance and area and radius...how do I bring what I did for a method back to …

Member Avatar for uonsin
0
91
Member Avatar for tommyny04

Pretty new to assembly language and I need help with this problem. I'm trying to traverse through a string and see if each character is either a number or a operand (+, -, *, /). Everytime I run the program, it doesn't work properly. I'm pretty sure the error is …

Member Avatar for tommyny04
0
103
Member Avatar for warpstar

The Function double *solve( double a[ ][N], double b[ ]) what does the pointer notation * represent in front of solve?

Member Avatar for Duoas
0
99
Member Avatar for blazted

I have a Form that has 3 radio buttons grouped together. I have a default combobox selected on the form. When a user selects a item from the combo box a new combo box appears that is populated from the data in a access DB. Problem is that right now …

Member Avatar for blazted
0
125
Member Avatar for SHWOO

I am trying to animate a bitmap in a window. I am able to load the bitmap in random locations multiple times, but I would like to have the previous instance of the bitmap erased each redraw, as I would like it to be a smoother animation instead of thousands …

Member Avatar for Duoas
0
240
Member Avatar for ranadheer

hi all i am a java devoloper need to understand a perl scrip based on a project requirement. as i dont know any thing about the Perl i am posting my script here. some body please look in to it and help me out explaing what the script does the …

Member Avatar for KevinADC
0
137
Member Avatar for kahaj

I had modified this from its original code. It was working before, but now it's not. I can't figure out what I'm missing here. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Dinosaur Quiz</title> <script type="text/javascript"> <!-- HIDE FROM INCOMPATIBLE BROWSERS //Question Scoring Function function scoreQuestions(number, answer) …

Member Avatar for kahaj
0
82

The End.