199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jo22

Hi, i am writing a questionnaire in javascript to which I want to create questions that are dependent upon each other, and so are only displayed according to how a user answers a particular question. question 1 reads like this... <div class="start" id="main"> <form name="eBayform"> <h3>1) Do you have a …

Member Avatar for campkev
0
133
Member Avatar for Mikecool509

Hello everyone. I have a pretty straight foreward problem. Here is an overview of what i am trying to accomplish 1. I am trying to allow "teachers" of my quiz site to create a class list and in that class list, they can have a list of students. I created …

Member Avatar for campkev
0
132
Member Avatar for KeithMcL

I figured it was time that a revised edition of this tutorial be written up. So, I asked Dani if it was ok and well..... here it is :D This revised edition includes how to make your forumhome, forumdisplay, showthread and who's online sections all show search engine friendly urls …

Member Avatar for alphinho
0
5K
Member Avatar for dhanu_shiv

Hello Everyone... i am right now facing a simple at the same time a difficult problem....is there any way by which we can change the default green colour in gauge to another colour in wxPython.... I tried doing it in many methods but all failed....can anyone suggest any solution...

Member Avatar for vegaseat
0
93
Member Avatar for qwester

I am having difficulting creating a Kayles game for java using eclipse. I have all the needed funtions, except for the computer movements, which is what I am having difficulty with. Any help would be appreciated, I have attached the file to this post.

Member Avatar for qwester
0
117
Member Avatar for Jon182

Hey guys I am just wondering why the following code gives the wrong number of characters from a file when the character count is the default? Thanks. [code] void main() { int blank_count = 0; int char_count = 0; int sentence_count = 0; char ch; ifstream iFile("c:\test.txt"); if (! iFile) …

Member Avatar for Jon182
0
71
Member Avatar for wejavalearn

:?: :?: I dont understand what jbuilder is trying to tell me .. by all right my code seims fine I spent 4 days working it up (yes I am a beginer) I know there are most likly better ways to do what I am doing. The point is compiled …

Member Avatar for wejavalearn
0
100
Member Avatar for Jon182

hey guys, I am using the following code to count from a text file but I also want to check for ",jo " as well as "jo " I was trying to do it by using while((ch = strstr( ch, "jo ")) != 0) || while((ch = strstr( ch, ",jo …

Member Avatar for Jon182
0
84
Member Avatar for harrypotter

Please tell me how to input password by showing a * or other symbol on console instead of text in C.

Member Avatar for agiorgio
0
126
Member Avatar for comwizz

Hello everyone, I was having this problem of sorting words of a string entered by user where the user enters many strings and words of each string are sorted separately. This had to be done using pointers . Heres my attempt.I dont know where I am going wrong as garbage …

Member Avatar for HackWizz
0
355
Member Avatar for khot_anuradha
Member Avatar for agiorgio
0
368
Member Avatar for rcwally

Please help me with the End on this problem. I just can't seem to finish it off properly. I keep getting a parse error on the last End. program ValueParameters (input,output); {Author: Cheryl Wahlheim Class: CS241XP Assignment: User Income and Tax Rate procedure} Var income, taxrate, totaltaxdue : real; response …

Member Avatar for mrmike
0
219
Member Avatar for JoBe

Hello ladies and gents, I wanted to ask if any of you could tell me what I'm doing wrong when I want to debug any program that Ive written in VC++ 2005 Express Edition. Reason is, after I put a break point to where the program has to run and …

Member Avatar for JoBe
0
205
Member Avatar for fogofogo

Hello folks. I have a question about using php to select a file according to date. I am working on a project that uses xml to display horoscopes on a website. The xml feeds are ftp'd onto our server and have a different file name depending on the date. Unfortunetly …

Member Avatar for fogofogo
0
90
Member Avatar for aparnesh

Does anyone know any good javascript forum (something like this forum) where I can search for answers to my problems and post any problems that I face ?

Member Avatar for aparnesh
0
153
Member Avatar for juergenkemeter

Hi, I am thinking about using the Python Imaging Library to display the life cycle of a hair follicle gene. This life cycle is divided into four main stages: 1. Anagen 2. Catagen 3. Telogen 4. Exogen Gene name and corresponding life cycle stage will be stored in a csv …

Member Avatar for vegaseat
0
321
Member Avatar for peachy

I am trying to finish (start) an assignment and I can't get passes what should be a simle parse error. It shows up on the case line of the information function. I have to get rid of it to continue on... and I have tons more to do... Any one …

Member Avatar for rcwally
0
260
Member Avatar for thehakan

Hi everybody; I just started to learn stacks. How can I count the number of Items in a stack by using ADT stack operations?? Can u help me?

Member Avatar for thehakan
0
184
Member Avatar for 111Help

Can someone offer assistance in converting seconds to minutes and seconds. :?:

Member Avatar for Lerner
0
124
Member Avatar for AntonBotes

Hi there, This may seem to be a bit confused, but I need a VB DLL that I can call from my BCBuilder++ application. I tried to construct one with Visual Studio 2005 Visual Basic, but since I don't know any Visual Basic, this task is quite daunting, especially since …

Member Avatar for plazmo
0
115
Member Avatar for niceguy21
Member Avatar for Ancient Dragon
0
90
Member Avatar for kharri5

I am trying to do a priority queue with a custom type, but I keep getting this error des.cpp:77: error: expected init-declarator before "eventQ" des.cpp:77: error: expected `;' before "eventQ" This happens in the following code [CODE] Program: This is a discrete event simulator designed to aid in the analysis …

Member Avatar for kharri5
0
389
Member Avatar for dmgs11

I am looking to create a mortgage applet with an array for the 3 amounts. There is something I am missing here. Any help can be of use [CODE] /* GOAL Display the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term …

Member Avatar for dmgs11
0
239
Member Avatar for JoBe

Hello ladies and gents, Ive been trying to find a solution for this exercise wich goes as follows: Rewrite the Student_info structure, and the 'read' and 'grade' functions, so that they calculate each student's grades as part of reading the input, and store only the final grade. Because the exercise …

Member Avatar for JoBe
0
187
Member Avatar for HackWizz

Hi... m a new member n just started to learn c++. so please help me out... its simple I read in 1 of the replies that #include<iostream.h> is obsolete.... n one can use #include<iostream> But wen i tried it in d program it does not included file.. expectin replies... :twisted: …

Member Avatar for HackWizz
0
211
Member Avatar for sixtysecasasin

Is there a code to increase the console window so that the user does not have to do it manually? I am using VC++ 6.0

Member Avatar for shortLived
0
141
Member Avatar for Jon182

Hey guys I was just wondering is there a c++ function that will eliminate white space from the start and end of a character array data obtained with the getline function? Thanks.

Member Avatar for Narue
0
158
Member Avatar for rcasinillo_s

Good day! Could you check this I got error messages: Warning: chmod() [function.chmod]: No such file or directory in /eort/www/httcs/nah/eng/testing/upload.php on line 21 Warning: move_uploaded_file([url]http://www.nwafh.med.sa/Uploads/DSC00197_mail.jpg[/url]) [function.move-uploaded-file]: failed to create stream: HTTP wrapper does not support writeable connections. in /eort/www/httcs/nah/eng/testing/upload.php on line 22 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/php.haqFa' to …

Member Avatar for paradox814
0
257
Member Avatar for sixtysecasasin

I am writing a program and I want a graphic to show up when the user first starts my program. I know how to implement it, the problem is that I want to show a graphic totally made up of ASCII art. The problem is that it has a lot …

Member Avatar for Bench
0
178
Member Avatar for ultra vires

I wanted to calcualte the execution time of Bubble sort or for that matter any loop . i tried using the clock funtion in c but it gives me 0 seconds for even 10000 elemnts being in the list :sad: .

Member Avatar for bumsfeld
0
153
Member Avatar for Acidburn

Hello, I'm wanting to know whats in the string and where: I've got this code [code] string s1="HelloWorld"; if(s1[5] = "W") [/code] now then if i want to know if World is in the string. I've tried doing: the if.... but it errors: [quote] : error C2446: '==' : no …

Member Avatar for Bench
0
194
Member Avatar for Acidburn

Whilst I shouldnt have posted the entire code up, I see no other option :( [code] #include <iostream> // cout << endl ... #include <fstream> // for reading in the file ... #include <string> // for comparing strings ... using namespace std; string reserveWordTable [4]= { "if", "then" , "else", …

Member Avatar for Rashakil Fol
0
142
Member Avatar for IamRasheed

If I want to convert one type in another, I can use casts: [code]s = str(12.5) i = int(s) f = float(s)[/code] However, there doesn't seem to be a function cast, or even a statement cast. So how can I turn this string into a statement? [code]s = """for i …

Member Avatar for IamRasheed
0
109
Member Avatar for perlsu

I want to change isOpen variable in main function from threadfun. But , the following code doesn't change the isOpen value in main fun . So, main stay forever in while loop even though the thread fun finished. Thanks a lot in advance. Rgds, perlsu #include <windows.h> #include <process.h> /* …

Member Avatar for Salem
0
176
Member Avatar for rcasinillo_s
Member Avatar for rcasinillo_s
0
139
Member Avatar for loup

Hey folks, entrepreuners, I’d like to create a really neat program that prints your name, with meanings, or poems, or bible verses, or military quotes, etc. I've seen other packages out there, but they’re not that good. Check Ken Kirkpatrick Software to see what I mean. Also, check other First …

Member Avatar for pau
0
123
Member Avatar for michael123

I want to use PHP mail() function to send email to hundreds of users, in mail function I can set mail list like: $sendto="user1@abcd.com,user2@xyz.com,user3@yahoo.com,....."; But in this way when user receives this email, he can see all the email recipients at the top, I want to hide this info, is …

Member Avatar for Dani
0
224
Member Avatar for delite

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /data/9/0/24/113/676928/user/690291/htdocs/inc/_up_index1.php on line 40 This is the error i get every time when any of my php scripts try to read/write in my mysql data base. This is _up_index1.php [PHP] <? $test_act['new_tranzaction']="OK"; $test_act['tranzaction_details_started']="OK"; $test_act['tranzaction_details_pointing']="OK"; $test_act['accept_tranzaction']="OK"; $test_act['reject_tranzaction']="OK"; $test_act['tranzaction_details']="OK"; $test_act['payment']="OK"; …

Member Avatar for rcasinillo_s
0
181
Member Avatar for Jon182

Hey guys, I now want to make a program to count simple integers my first problem is that the following code will also count the word hint as an int. I was wondering if there is an easy way round this problem? (I tried putting whitespace after the word like …

Member Avatar for Jon182
0
158
Member Avatar for Jon182

Hey guys, I am using the code below ot search for words in a text file and count them. I now would like to do something a little more advanced for example if a text file contains "hello my name is kim" I want to be able to increment a …

Member Avatar for Bench
0
241
Member Avatar for sam1

hi everyone, I have a concern would java run on any processor or it is just intel processor? because im thinking of buying AMD Sempronâ„¢ processor. thank you

Member Avatar for sam1
0
77
Member Avatar for cppbeginner

Hello, I have a char array and an integer value which i have to concatenate...pls tell me how to convert them and concatenate them. thanks

Member Avatar for Ancient Dragon
0
101
Member Avatar for akshayabc

Hi friends!!!!!!!!!! I am taking part in Red hat competition to develop a linux project. I am not able to decide on what shd i do the project. In 1 group there r 3 ppl and we have around 8 months time, it includes 2 months vaccations also. I want …

Member Avatar for Narue
0
919
Member Avatar for crusty_collins

I am using strtok to parse the argv. On windows it works just fine but on Solaris I get a fault. I have traced it down to the "$" character on the command line. [CODE] char *result = NULL; char *value = NULL; char *argPointer = NULL; char delims[] = …

Member Avatar for crusty_collins
0
341
Member Avatar for shortLived

I have this assignment from my book that wants me to create a class and have its member variables be dynamic. This is easy to do but I can't understand why I would want to, and don't see any advantages of having the members be dynamic. Personally I would create …

Member Avatar for shortLived
0
176
Member Avatar for nemo

a derived class inherits [B]all members [/B] of the base class, that is what the book says, right? i want to make a derived class that has only some of the members of the base class, and some of its own members and functions, is it ok to do it …

Member Avatar for nemo
0
110
Member Avatar for lorf14plus

I have a problem, with a closed form event. I'd like to make a check with a click on close botton in the title bar that check if the user are sure or not to close the application. I have made a method that ask if the user are sure …

Member Avatar for campkev
0
169
Member Avatar for Texpert

I am working on this screen, where top part of the screen is a browse/edit/add panel for table called "Package" And depending on the Package_ID (@@Identity) I am filling a datagrid in the bottom part of the same screen which has data from various other tables , like "Components" , …

0
174
Member Avatar for server_crash

Okay, I can't find a thread that I posted to just yesterday and recieved an email showing a nice reply by Narue, but I deleted it. I can't find that thread! Was it deleted? If it was, Narue, can you explain the reason atoi() is bad and the better way …

Member Avatar for Narue
0
1K
Member Avatar for Kilo

This is what I have on my program so far. I do not know what to do next. Thanks alot, Kilo // Write a program to help a local restaurant automate its breakfast billing //system. Show the customer the different breakfast itmes offered by the //restaurant. Allow the customer to …

Member Avatar for Bench
0
143

The End.