199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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... | |
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. | |
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) … | |
:?: :?: 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 … | |
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 … | |
Please tell me how to input password by showing a * or other symbol on console instead of text in C. | |
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 … | |
hi, i wanted to knoe that how to calculate the total size of file in C? | |
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 … | |
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 … | |
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 … | |
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 ? | |
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 … | |
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 … | |
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? | |
Can someone offer assistance in converting seconds to minutes and seconds. :?: | |
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 … | |
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 … | |
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 … | |
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 … | |
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: … | |
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 | |
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. | |
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 … | |
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 … | |
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: . | |
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 … | |
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", … | |
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 … | |
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> /* … | |
Anybody could help me how to configure database/table images in MySQL ? Thanks. Roland | |
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 … | |
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 … | |
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"; … | |
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 … | |
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 … | |
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 | |
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 | |
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 … | |
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[] = … | |
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 … | |
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 … | |
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 … | |
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" , … | |
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 … | |
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 … |
The End.