199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for harshchandra

I was tring to write some data in a file from the singly linked list and also read the data from that and append it to singly linked list in the begening of the program.For this i had written two seperate functions . 1. writetofile 2. readfromfile for appending the …

Member Avatar for harshchandra
0
150
Member Avatar for shanenin

I do not understand why the instructions are being printed off of the margin(about 5 spaces). I would think they would be directly on the margin. I am talking about this part in particular [quote] you first need to choose to go first or second. If you choose to go …

Member Avatar for vegaseat
0
183
Member Avatar for tomasm

hello everyone.. i'm a newby in mysql but i'm trying hard. So i won't lose a minute, and i'll go straight into the heart of the problem. I have the following mysql dumps: DROP TABLE IF EXISTS location_tree; CREATE TABLE location_tree ( id int(11) NOT NULL auto_increment, pid int(11) NOT …

Member Avatar for tomasm
0
348
Member Avatar for evilsilver

<< moderator edit: split from [post=125942]this thread[/post] >> hey i got a question for you, how did you get the icon associated with your program? I have been looking for a way to do this, inside or outside the code.

Member Avatar for Electrohead
0
94
Member Avatar for paradox814

i hear that java is supposed to be very secure and it has all these security features yadda yadda yadda, but my question is: if you can decompile the program modify its content and recompile it, then how can java be secure?!? I am asking this because I need to …

Member Avatar for happyshub
0
130
Member Avatar for Stick

Hello All, I have a form that I created for user login. It has three fields. username Password Date I want the date field to default to the current date when users login. Can anyone help me with setting a default value for the date field? Thanks in Advance! Stick

Member Avatar for Stick
0
174
Member Avatar for sam1

hi does anyone know what this mean? SWT.error(SWT.ERROR_NULL_ARGUMENT); is there another virsion of this to write?

Member Avatar for sam1
0
108
Member Avatar for goldeagle2005

I'm having a wee bit of trouble. The code is as below: <%@ Language="VBScript" %> <% AlbumArt=/music/Request.Form("artist")/Request.Form("album")/Folder.jpg %> The values of artist and album are obtained through a form. What I want is that whenever a user submits the form with, say artist as "Dream Theater" and the album as …

Member Avatar for william_stam
0
116
Member Avatar for unirs_1972

Hi everyone I am new to C++ and I have read abt copy constructors from a C++ book but could not exactly get the concept. Can you please provide me with examples of when and how copy constructors are used.. Thanks in advance.....

Member Avatar for e215774
0
127
Member Avatar for Phaelax

Is there a way I could create a variable that belongs to a table much like a static variable belongs to a class? So it "thing=1, person=2" were variables belonging to the table structure (not each row), then I could do something like this: SELECT * FROM table WHERE type …

Member Avatar for Phaelax
0
158
Member Avatar for sm00nie

Hi all, Is there a way I can delete or expire a cookie that's been left in the users browser cache with php ? The reason I ask is, I'm setting up a paypal store, and if users already have a paypal cookie in their cache when they checkout from …

Member Avatar for sm00nie
0
92
Member Avatar for nileshdalvi

I downloaded the "msi "version seeing that i was not able to install and run the "as" version from activestate.com.However i got an icon on the downloaded file as " open with " sign. So i gave it a winzip format as the "as" version was in that format.Then i …

Member Avatar for kordaff
0
216
Member Avatar for nileshdalvi

I am new to the perl language and had just started reading the book "Perl5 by example" by David Meddinets.However in the very first chapter he says that you need to try out the programs on a perl interpreter.I have w98 and have downloaded the asi version of 5.8.7 from …

Member Avatar for Comatose
0
191
Member Avatar for djbsabkcb

I have to write a program that reads in playing card values and translates them to the correct output. For example if a user enters:QS then the output would be a queen of spades. I am using a switch statement but how can I read the second character. Right now …

Member Avatar for djbsabkcb
0
286
Member Avatar for Kathrina

Hallo, ich möchte in einer Tabelle die Zahlen einer Spalte nach Grösse sortieren. Das Problem ist, dass das die Zahlen aus bestimmten Gründen Kommazahlen sind, also z.B. 1,3 45,3 etc. Kann mir jemand sagen wie das möglich ist? Ich habe leider nicht so viel Erfahrung in mysql..... Grüsse Kathrina

Member Avatar for Troy
0
442
Member Avatar for Zababa

[FONT=Georgia]Hello to everyone who sees this post! I am not very experienced in programming, but I have some basic knowledge, and the first real programming language I happen to learn is Dev Pascal. I have compiled a program which generates random numbers, using the RANDOM(); function. It is actually a …

Member Avatar for Zababa
0
187
Member Avatar for kreitcher

[COLOR=DarkRed][FONT=Courier New]Hi guys. I need to create a GUI in C++ and so I would like to know if some packages like GTK are available for windows. I did go to the GTK website but I swear I was lost! I really didn't know which files to download. I really …

Member Avatar for yeohhs
0
456
Member Avatar for ultimate_fusion

I am starting to make some java games and I think i have sorted out the collision side of things ( i have made a space invaders game) so i know how to shoot and kill enemies. I am now wanting to stop players/monsters going through walls etc? p.s. what …

Member Avatar for ultimate_fusion
0
179
Member Avatar for WolfPack

Hello, I am developing an application in Win32, ( No MFC at all ). It is an MDI application, and I am using Keyboard accelerators. The Keys that I have assigned for accelerators are working properly, but when I press something that is not an accelerator, such as Ctrl + …

Member Avatar for WolfPack
0
273
Member Avatar for shanenin

I am getting really tired, so I am probably doing something dumb(disclaimer). below is a python function I am trying to test [php] # answer.py # # this function asks for a move and checks to see # if it is a legal place to choose. position = ['X','O',' ',' …

Member Avatar for shanenin
0
231
Member Avatar for karimkabbani

Hi... im kinda new to c++ but here goes. i made a class called team and one called game. i also made dynamic arrays of each. i figured out how to calculate number of games considering the number of teams. 3 teams, 3 games- 4 teams,6games- 5t,10g - 6t,15g- etc... …

Member Avatar for Dave Sinkula
0
230
Member Avatar for ewomack

Hello, this is more of a general question, but how much VB6 or under do you all run into out there in the real world? I'm guessing quite a lot since .NET has a monstrous learning curve. Myself, I still support VB6 on the job and I've needed to keep …

Member Avatar for yni420
0
388
Member Avatar for cynch

I have built a site and it looks fine when the screen is full size but cuts off when you make the screen smailler. What can I do to keep it looking the same on different screen sizes?

Member Avatar for cynch
0
240
Member Avatar for zaphod2003

I have programmed a web application using classic ASP and MSSQL, but our company is upgrading to ASP.NET and for my next project I thought I would the application in pure VB.NET. However, I am struggling to get my application to talk correctly to the MSSQL tables. I know my …

Member Avatar for zaphod2003
0
139
Member Avatar for sm00nie

Hi all, Would anyone know how to search an external html file for a work or phrase ? I was thinking something like - [code]<?php $fp = fopen('http://www.google.ca', 'r'); if (preg_match('/Google.ca/', print fgets($fp))) { echo "match"; } else { echo "no match"; } ?>[/code] Unfortunently, that doesn't work, but you …

Member Avatar for sm00nie
0
238
Member Avatar for williamrojas78

Hi i have a form with a mschart and a msflexgrid in it. What i want to do is that when the form is maximized, scale these two components and move the rest of them (command buttons, combo boxes, etc) I would apprecciate your help

Member Avatar for williamrojas78
0
255
Member Avatar for simplex85

I am doind a lab for my class and the guidlines is suppoes to consist of an input file with student names and 10 quiz grades. The output file is suppose to produce the same format as the input file but one extra column, and that extra column is suppose …

Member Avatar for kreitcher
0
358
Member Avatar for williamrojas78

Hi all. I have this ADO connection to an acces 97 database and I need to filter some of the data. I can connect and I can read and write to this database, but the filtering option is giving me a hard time. I have tried but i don't know …

0
120
Member Avatar for freesoft_2000

Hi everyone, I am currently trying to add values to an element spec array dynamically. This is what i am trying to do [code] SimpleAttributeSet start = new SimpleAttributeSet(); start.addAttribute(AbstractDocument.ElementNameAttribute, "start"); SimpleAttributeSet end = new SimpleAttributeSet(); end.addAttribute(AbstractDocument.ElementNameAttribute, "end"); DefaultStyledDocument.ElementSpec esStart1 = new DefaultStyledDocument.ElementSpec(start, DefaultStyledDocument.ElementSpec.StartTagType); DefaultStyledDocument.ElementSpec esStart2 = new DefaultStyledDocument.ElementSpec(start, DefaultStyledDocument.ElementSpec.StartTagType); …

Member Avatar for freesoft_2000
0
145
Member Avatar for numerouno543

Hello..... I've written this simple C program to return the IP of a hostname ... this program compiles perfectly as well the Output is built...however, on executing the output, the Output crashes..... Can someone tell me what's the problem? Regards. [code]#include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #include <winsock.h> …

Member Avatar for numerouno543
0
327
Member Avatar for RonnyDeWinter

A while ago i started a weblog with postings on software quality assurance related topics. [url]http://software-quality.blogspot.com[/url] Topics covered until now: * Use Test Cases to Clarify Requirements * How to Use Design Patterns * Identifying Best Practices * Software Architecture Review * Testing Object-Oriented Systems * Secure Software * LSD …

Member Avatar for RonnyDeWinter
0
127
Member Avatar for nccliang

Hi guys , i met with another problem and it goes like this I had a com application , i uses JIntegra to wrap the com object and now i have 8 java classes . Then i created my own java class , to create object of their classes in …

Member Avatar for nccliang
0
154
Member Avatar for skprasat

Hi, Does anyone know how to check for a file access date and time? The function returns the modified date and time and i need something that compares the accessed date time to the current date and time. regards prasad....

Member Avatar for skprasat
0
4K
Member Avatar for vex

8.10 Sum of series Write a program to calculate and display the sum of the series: 1 - 1/2 + 1/3 - 1/4 + ... Until a term is reached that is less than 0.0001 I do not need help with the code! What comes next in the series? Is …

Member Avatar for server_crash
0
197
Member Avatar for Shanrak

I am trying to use the stringtokenizer on input strings containing the " character, but stringtokenizer seems to treat that as the end of the string. For instance, "a cat is /"not/" a dog" should return the tokens a, cat, is, "not", a, dog but instead it returns a, cat, …

Member Avatar for server_crash
0
296
Member Avatar for loki73

I am trying to do a simple program, rather 3 simple programs that involve class structures in Visual Studio C++ .net 2003. I can compile them by themselves without errors. But when I F5 through them I get the following errors: 'test-proj.exe': Loaded 'C:\Documents and Settings\loki\My Documents\work\prog2\test-proj\Debug\test-proj.exe', Symbols loaded. 'test-proj.exe': …

Member Avatar for Dave Sinkula
0
229
Member Avatar for akoloff

this seems to be a very simple problem, but i just can't get it done. how do i set a variable which is to display url response? let's say my request is "http://domain.com/datavalue.htm". the request returns some value ( let's say "30.0" ) when i use it with browser. now, …

Member Avatar for Troy
0
200
Member Avatar for iacobus

Hello, Now that I have been instructed as to how to write unicode characters in Python, I would like to know if it is possible to get the unicode characters into a list, dictionary, etc. Here is my very simple code: [code]a = u'\u05e9\u05dc\u05d5\u05dd!' print a print print mylist = …

Member Avatar for iacobus
0
349
Member Avatar for Yuki H.

I have a bit of a problem with my newsletter here is the error I get: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/happy/public_html/newsletter/subscribe.php on line 64 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/happy/public_html/newsletter/sindex.php on line 244 Warning: extract(): …

Member Avatar for Yuki H.
0
176
Member Avatar for noman13

Hi guys, I need help with this code, I am trying to figure out how can I add semaphores to this code in order to have just one at a time accessing the shared memory. Thanks, [code]/* elevator.c The elevator process starts a people process which runs independently, except that …

0
116
Member Avatar for hanpedro

I have a problem on mysql_query on using 2 dbs on 1 mysql server. Please help, and code is;; <? $db1[host] = "localhost"; $db1[user] = "abc"; $db1[pass] = "1234"; $db1[db] = "db1"; $db1[dir] = "a/ab"; $db2[host] = "localhost"; $db2[user] = "abc"; $db2[pass] = "1234"; $db2[db] = "db2"; $db2[dir] = "a/cd"; …

Member Avatar for Troy
0
109
Member Avatar for yeohhs

Check out RosAsm at [url]http://www.rosasm.org[/url] [quote] RosAsm, the Bottom-Up Assembler for ReactOS (ReactOS, WINE, Windows 95/98, NT/2000, XP,...) The easy way for writing full 32 Bits Applications in Assembly RosAsm is free and GPLed. IDE with full integration of all components. RosAsm is auto-compilable and the Sources are hosted inside …

0
114
Member Avatar for NejiHyuuga

I am making a list of trig functions by increments of 10 degrees and I dont have a complier. [code]include <iostream.h> #include <math.h> void main float degrees, Sin, Cos, Tan; cout << "Enter a number of degrees: "; cin >> degrees; cos = cos(degrees*180/3.14); cout << "Cosine: " << cosine …

Member Avatar for Dogtree
0
133
Member Avatar for stupidenator

Hello Everyone, I recently have been getting into the python language and noticed that there is a portable python that you could save to something like a flash memory card and then you could write and run python programs on any computer without having to install anything. I am wondering …

Member Avatar for server_crash
0
225
Member Avatar for demetri007

I installed Apache2, PHP5, openssl, Mysql4.1 all from src(except MySql=>RPM). The problem I am having is with PHP ( well I think anyway ). When I start Apache it loads php without error, but when I point Firefox to localhost/test.php which contains CODE: <?php phpinfo(); ?> ,its displayed rather than …

Member Avatar for demetri007
0
255
Member Avatar for Jeannie

I'm pretty new at C++ and I have a problem with a program that opens a file with a list of numbers and finds the median. My problem is, no matter what numbers are in the file, it always says the median is 1. I've been able to tell it …

Member Avatar for Dogtree
0
161
Member Avatar for iacobus

Hi all, I am trying to learn unicode relative to Python, but to be honest, I'm floundering a whole lot. I have never had so much trouble with anything before, but to put it simply, I just don't get it. For example, I want to use Hebrew words in my …

Member Avatar for iacobus
0
197
Member Avatar for thandermax

Dear all members, I have a problem . As i use dial up network as a mean to get to the internet it is some times costly to upload my code to internet and then test . As i am learning PHP recently , if any body suggest any way …

Member Avatar for darklordsatan
0
180
Member Avatar for alfa2

Please Check at this video I created So you can see what I did wrong LINK [url]http://www.freewebtown.com/pcgamers/index-flash.htm[/url] and go to the Download Section and Download My Second Error ! ! If the download doesn't appear Please Refresh the website of the download. Thanks for the Help :mrgreen:

Member Avatar for alfa2
0
208
Member Avatar for petethepop

I'm not a c-programmer, rather a guy who inherited a system that previously had an I/Q demodulation in a gate array, need to move it into c-code. I have 1024 sample buffer that was synchronously digitized with x4 clock, so samples are alternately +I, +Q, -I, -Q,....... Need a snippet …

Member Avatar for petethepop
0
234

The End.