199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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++ | |
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? | |
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. | |
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 … | |
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 … | |
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() { … | |
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. | |
Can else have more than one statement? [code] if (control) <statement> else if (control) <statement> else { <statement> <statement> } [/code] | |
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, … | |
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. … | |
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. … | |
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; … | |
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! … | |
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 … | |
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 … | |
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 … | |
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. | |
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. | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
can anyone provide me with the script for extracting columns from a text file. the script needs to be in visual basic | |
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.:) ![]() | |
Whats the difference between: pp = malloc(m*sizeof(int)) <--- I understand this and pp = **int malloc (m*sizeof(int)) <--- but not this ? | |
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 … | |
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 … | |
The Function double *solve( double a[ ][N], double b[ ]) what does the pointer notation * represent in front of solve? | |
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 … | |
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 … | |
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 … | |
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) … |
The End.