199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for angel22

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 …

Member Avatar for angel22
0
395
Member Avatar for tom_h_500

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 …

Member Avatar for Comatose
0
253
Member Avatar for xerop

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 …

Member Avatar for server_crash
0
295
Member Avatar for MFal

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

Member Avatar for server_crash
0
233
Member Avatar for actionwillspeak

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 …

Member Avatar for Sauce
0
544
Member Avatar for warangalboy

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

Member Avatar for shanenin
0
380
Member Avatar for md16185

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

Member Avatar for JeffHeaton
0
169
Member Avatar for freesoft_2000

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 …

Member Avatar for jwenting
0
323
Member Avatar for Class

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 …

Member Avatar for Class
0
211
Member Avatar for rpratt

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!

Member Avatar for xerop
0
387
Member Avatar for freesoft_2000

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 …

0
127
Member Avatar for vex

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 …

Member Avatar for server_crash
0
190
Member Avatar for mozira

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 :(

Member Avatar for zyruz
0
230
Member Avatar for JavaFish

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 …

Member Avatar for JavaFish
0
350
Member Avatar for bsunkel

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!

Member Avatar for mmiikkee12
0
231
Member Avatar for pablo21

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

Member Avatar for proghelper
0
213
Member Avatar for Vishal Aggarwal

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 …

Member Avatar for Comatose
0
99
Member Avatar for jhdobbins

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 …

Member Avatar for jhdobbins
0
139
Member Avatar for winbatch

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 …

Member Avatar for winbatch
0
313
Member Avatar for freemind

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

Member Avatar for TomcatMCAD
0
434
Member Avatar for sergiu

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 …

Member Avatar for sergiu
0
232
Member Avatar for raevin

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 …

Member Avatar for raevin
0
224
Member Avatar for lawfour

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 …

Member Avatar for lawfour
0
196
Member Avatar for Amor

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

Member Avatar for freesoft_2000
0
172
Member Avatar for Drowzee

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

Member Avatar for Drowzee
0
129
Member Avatar for server_crash

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

Member Avatar for Troy
0
142
Member Avatar for egoleo

Can some help me with a php built forum. i mean a good one and easy to use on a site. egoleo

Member Avatar for egoleo
0
300
Member Avatar for namit

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 …

Member Avatar for Troy
0
101
Member Avatar for rks01

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

Member Avatar for rks01
0
156
Member Avatar for mav1

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 …

Member Avatar for The Senate
0
226
Member Avatar for vijmen

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 …

Member Avatar for namit
0
119
Member Avatar for reezin14

I was wondering if anyone knows if any Python books that are availible,and where I might be able to purchase them?

Member Avatar for shanenin
0
252
Member Avatar for Walrus Bites

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?

Member Avatar for shanenin
0
276
Member Avatar for dexterz

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 …

Member Avatar for dexterz
0
182
Member Avatar for naif_prof
Member Avatar for dexterz
0
137
Member Avatar for HLD77

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 …

Member Avatar for cambia
0
264
Member Avatar for vip.Knight

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

Member Avatar for vip.Knight
0
116
Member Avatar for karen_CSE

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 …

Member Avatar for karen_CSE
0
1K
Member Avatar for Rearden

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 …

Member Avatar for Rearden
0
329
Member Avatar for nephish

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 …

Member Avatar for nephish
0
159
Member Avatar for thiru.y

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 …

Member Avatar for Narue
0
227
Member Avatar for rony

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

Member Avatar for Narue
0
224
Member Avatar for pscha3

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 …

Member Avatar for pscha3
0
166
Member Avatar for contactnaveen

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

Member Avatar for shanenin
0
242
Member Avatar for freesoft_2000

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 …

Member Avatar for jwenting
0
716
Member Avatar for murschech

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 …

Member Avatar for Dave Sinkula
0
147
Member Avatar for ciccio81

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

Member Avatar for ciccio81
0
140
Member Avatar for Paladine

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

Member Avatar for cambia
0
409
Member Avatar for lyndonp

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

Member Avatar for lyndonp
0
234
Member Avatar for pscha3

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 …

Member Avatar for Narue
0
260

The End.