199,114 Archived Topics
Remove Filter ![]() | |
I am taking a C++ class, but I am having a real trouble understanding arrays which confuse me completely. This is the first time I take a programming class, so I really need help. I do not really understand how arrays are read and filled or how to use for … | |
I just designed a nice little program that lets me scroll through a database I made with little fuss. Now I have bypassed the first error's I was getting (something to do with ADO) but now I face a new problem. I can easily run the .exe on my computer … | |
Hello I do not know java however, I know that with java you can log IP addresses. If someone could, would they please write a script that could be embeded into an html file. This sript should collect the IP address and store it in a file. Thats all. Thank … | |
I am writing a program to calculate a numeric palindrome, and to do that i have to reverse the digits of a number, and add that to the original. The best way i can think of to reverse the number would be to put each digit individually in an array, … | |
Hello, I have a quesiton regarding my code. I thought it would be cool to try to implement the reliable UDP file transfer that everone does as a college student. I'm new to java, and im having some problems. Whenever i try to connect with the client, it refuses the … | |
Hello , Im trying to dump the content from a url in bash shell script but was unable to get. im using the following code URL="[I]'some url[/I]=$var'"; > temp system "-dump -nolist $URL > temp"; Plz let me know how can i dump the content of the url | |
I know HTML, but not Java or Javascript... Is the .jar file the class or are they 2 entirely different things... Also, do ya save the applets as ".jar"? I'm new to programming.. | |
Hi everyone, I have a question about the use of properties. You see usually if you wanted to add a property you would do this [code] Properties systemProperties = System.getProperties(); systemProperties.setProperty("http.proxyHost", proxy); systemProperties.setProperty("http.proxyPort", port); [/code] But the thing is i have heard now that this property class may be deprecated … | |
Hi! I have a little problem: :o I downloaded every sort of random image making php scripts, but not one will work! why cis that? Do somebody know a good random image generating php, that can generate in chain images. With chain i mean, for example i have an image … | |
Hi, I'm teaching a Java course this fall and was wondering if anyone has a favorite Java textbook. I'm planning on using [U]Java Methods[/U], but I'm not totally in love with it yet. Anyone have any input? It would be greatly appreciated! Thanks! | |
Hi everyone, I am trying to set the properties so that i can reach URL's using the Java URL class but usually i use this if there is a proxy [code] System.setProperty("http.proxyHost","proxy"); System.setProperty("http.proxyPort","80"); [/code] but after visiting some sites they said that if i want to connect to a URL … | |
Ok I would like to use Deck in a third class. Deck myDeck = new Deck(); Then in paint I try g.drawString("" + myDeck[1].suit, 50,50); It says 'array required, but Deck found' If I try Deck[] myDeck = new Deck(); I get 'incompatable types' I hate asking for help BUT … | |
In class we did a program on moving a round object up and down on a form,we finally figured it out but what i want to know is there are another way of shortening the coding instead of tesing using boolean :( | |
Hi I have searched this site for help with this and used an example of a lottery numbers program. However, I need to modify it slightly but can't seem to get it right. I would like to be able to generate random numbers between 0 and 100 (maybe negative oness … | |
Heya all, Is there a way to get the date and time that is set in the Cmos and not the date and time which is set in Windows. My Windows date and time is usually wrong. Thanks! | |
Hi everyone! My name is Paul I have an OO project that I need to complete by the 15th of August and I have attempted to start it but i'm now stuck. If anybody can help me in anyway possible I would greatly appreciate it. Please find the specification below. … | |
I have a VB6 application that works with Oracle database. When I execute this application on Windows XP SP2 machine, the moment the application tries to establish connection with Oracle, the CPU usage goes to 100% and the application comes back in close to 3-4 hrs. The application finally launches … | |
just curious why this isnt working... its probably simple.. but its a friday so im allowed to not access my brain as much... anyways... i want to input a string then switch that to a char array then switch back and print reversed string this doesnt work... debugger stops it … | |
Any tips for compiling templates on visual studio .net 2003? I have code that seems to compile fine on other compilers but am getting an LNK2019 on visual studio .net 2003. I am using template specialization (Dave S. helped me with this a few weeks ago). Before I post any … | |
Hi to everybody! Here I paste some simple exercise code that I wrote. The errors are pasted from the compiler log at the end of the source code. The add() function looks ok to me and I can't understand what the compiler wants from me :o Thanks! [CODE] #include <iostream> … | |
Hi all, I am new to Web programming, most of the time have done GUI development in C++/MFC and played a bit with Java/Swing. I have read about DHTML and its ability to enable interactive Web applications. Before delving into DHTML programming I would like to know what are the … | |
Hello all, I'm working on a program using MFC and VS6, and when I split my program into files (aka: move certain portions to a new file for easier reading and such), I get this error: [code] error C2065: 'IDD_DIALOG' : undeclared identifier error C2057: expected constant expression [/code] Here's … | |
I have no ideal what happen to my databases all of a sudden they stopped working. What I can tell is the problem is in the header, actually I am not sure if it my hosting company who caused the problem because they did an upgrade to their server I … | |
EMERGENCY I TRIED WRITING A PROGRAM THAT: THROUGH CLASS DAY SETS,PRINTS,RETURN WEEK DAY THE PREVIOUS AND NEXT DAY ,AND SHOWS THE CORRESPONDING DAY OF THE DAY IN A WEEK LIKE : [COLOR=DarkRed]DAY:5 IS SUNDAY DAY: 34 IS WEDNESDAY ......ETC...........[/COLOR] [COLOR=Navy]PLEASE HELP HELP I NEED TO SUBMIT THIS IN 4 DAYS. … | |
Do you always have to put file access in the view? I think it would be more appropriate in the document, and it works fine to implement a CFileDialog object from the document file. Considering all the parsing and data storage I've got to do, that makes sense to me. … | |
I know it's possible to connect two forums to one database, but I don't know where to change the table prefixes. This is phpBB, by the way. I'm using some kind of web hosting tools, so it didn't give me the opportunity to change the prefixes when I installed it. … | |
Can some help me with a php built forum. i mean a good one and easy to use on a site. egoleo | |
I have the following [PHP] while($file = readdir($dp)){ if($file != '.' && $file != '..') { echo "<TD>"; echo "<a href='$image/$file' target='_blank'><img src='$image/$file' width='120' height='120' alt='image'><br>$file</a>\n"; echo "</TD>"; if($i == 5) { echo "<TR>"; $i = 0; } $i++; } [/PHP] well that is the juist of it but anyway … | |
hello all . well its pretty simple but i need to get this for loop sorted before i can move on. #include <iostream.h> void square(); void circle(); void arrow(); void diamond(); using std::cout; using std::endl; void square() { //first line for (int e = 1; e >= 9; e++) { … | |
I am working on displaying the amount ofodd numbers in this array. It always says there is 5. That is not correct. When I use the debug it shows that it is placing a different value in the myArray and using that to determine the amount of odd numbers. Please … | |
Hi I am a newbie to php, having worked more in java. I am trying to write a php script to upload images to a directory. This works in windows but when I test it on a unix box, there seems to be no error message but the file does … | |
I was wondering if anyone knows if any Python books that are availible,and where I might be able to purchase them? | |
![]() | I have looked through the forums for this and found several hits but none of them truly answered my question. How can I make a Python program an executable file that does not require my friends to have Python installed on their computers? |
Here is the code I use in the World recipe random record. I've been looking all over the net on how to display random record using access db on ASP .NET, but found most for SQL server like NEWID(), doesn't work on Access. This could be easily done in ASP … | |
hi how i can find sample ASP.Net Code and small Project thanks :o | |
I am trying to change existing icons on a toolbar. The icons are placed under "img" directory. When I replace an old icon with a new one and build\start my project, I don't see the new icon. Can somebody let me know what am I doing wrong ? Thanks a … | |
Hi every one, I need your help in this issue. Before I start maybe I can’t explain what I need very well because I don’t speak English. I need function in visual basic to switch the number of point in decimal. Basically how many points can I control it? “Routing | |
hi, I'm working on a project and I'm almost done. However, I'm having a few problems with the prices. this is the guide for the project: Airplane Seat Allocation System Write a C++ program for the following task using modular approach. a) 48 seats in 12 rows with a Aisle … | |
I can so far find Nothing whatsoever that will allow me to easily play a wav sound in a console app in linux. It's like I have to create my own audio player to play a half second clip of a cat meowing. Does anyone have any experience? I'd really … | |
Hey there, i have a table in MySQL that is updated about every 5 minutes with about a hundred new records. For an application i am building, i only need the info from the most recent entry for each specific unit. But, i need all of the info in that … | |
hi, I am a newbie learning c++ ..I would like to know how Images r loaded in C++ and if it can handle and execute basic image manipulations and also filters ,also whats the maximum amount of bitdepth for images (if there is a upper threshold) that can be handled … | |
Hiya, Does anyone know of linking Java with Fortran under Windows OS, preferably Windows XP? Can anyone give a short example including code? I have found pretty good examples of using Java-JNI-C/C++ works pretty well. I am using Dev-C++ compiler. I look forward to hearing from someone. Thx Rony | |
Hello. I thought I was done with this program but It doesn't work like its supposed to. I wrote the program to display the file every time I press one. But it only works the first time. After that it jus keeps sayin cannot open file. Why does it say … | |
Hey all, Im new to shell scripting. Plz suggest me some good websites. I searched google but i dont know which one to follow. Thanx in advance Cheers, Naveen. :) | |
Hi everyone, Consider this URL. "http://forums.devx.com/newthread.php?do=newthread&f=104" Some URLs have something that are called escape characters("?", etc") Are these characters supposed to encoded using the URI class that has a method called toASCIIString() that returns the escaped characters as a US ASCII format or simply by direct connection or create a … | |
I have a question on external variables in a multifile program. Quoting from K&R (first addition, page 72) "By default, external variables are also "global", so that all references to such a variable by the same name (even from functions compiled separately) are references to the same thing." Here's an … | |
Hi, i have need to send mail using a script in bash shell...but i don't know how i can do...so can some one help me... :sad: . Thanks a lot bye bye | |
I have been playing around with Mozzila, and find it too be a rather nice speedy browser, but I do ASP.NET programming and such and seem to have some issues with ASP.NET pages displaying properly. It seems to be with regards to coloring, I guess ASP controls as well , … | |
I am not an expert C/C++ programmer, and am having a bit of a problem on a school assignment. The assignment is to build a text file based database. The program has to read a schema file containing information about the individual tables (table name, filename, data field name, type, … | |
When I wrote this program with a structures. I said: [code] { struct Contact { char Name[101]; char Middle[101]; char Last[101]; long Area; long Area1; long Area2; long Area3; long Home; long Business; long Cell; long Other; char Email[101]; char Address[101]; int Zip; char City[101]; char State[101]; char Country[101]; char … |
The End.