199,114 Archived Topics
Remove Filter ![]() | |
hi all, i am new to c# ... i seek your help for a code snippet which can validate a form that is using asp tags like text box,a read only text box with a calendar control associated with it,a submit button which when clicked must validate the above said … | |
Hi I was hoping I could get a bit of help here. I am trying to break a number of strings up into arrays on particular words. For example in the following strings I want them broken on the words GET and/or POST: [CODE] "POST at the start without the … | |
Don't think you can pass any parameter unless you create a point in your main. [CODE] template<class T> void my_list<T>::show_sllist(my_node<T>* p) { if(p!=0) { cout<<p->data; show_sllist(p->next); } } [/CODE] Would i have to create a pointer of type my_node in main to show the list. [CODE] #include <iostream> using namespace … | |
hey everyone, I've been a bit bored lately and have made a 'snake' game. I've made made a 10x10 grid of picture boxes and I'm holding the snake positions in a linked list. I'm changing the picture box to either 'snake.jpg' or 'blankSpot.jpg.' I have a pretty decent implementation working … | |
I am using C++. I use mkdir("C:/test") to create a directory to store my files. I want to hidden the folder that i created. Don't want to let anyone know about this directory/folder at all. Can someone help me out? Thanks alot. | |
Hi all, Iwant to know is there any way to add a new column in datagrid depending upon the value of a combobox. I have columns in a table whose names are same as combobox's items names. I need to add that column in datagrid which value is selected by … | |
Hi guys, im new in C++ programming and hope anyone could guide me to understand C++ and be able to code my assignment out :) what the program does: 1. user inputs text file name, 2. user inputs key word 3. program goes about replacing character/strings in the text file … ![]() | |
I got stuck in this program and dont know how to start to phase 2, i finish phase 1 quite good bt i dont understand connection phase 1 and phase 2. so i hope some one can help me pls, thank you very much..... phase 2:Expand Phase 1 to translate … ![]() | |
i have been trying to do any interrupts in protected mode and i have been using msdos interrupts so it makes sense that they are not working i have been working through the threads so as not duplicate this but i haven't found any and i figured i would just … | |
So I have a lot of code so I guess I'll just post the couple classes that seem to be giving me problems and where the problem is occuring. [CODE=java]// line class to store lines from .ps file class line { // for outcodes private int RIGHT = 2; private … | |
Hi, i have created a window service with multithreading, but getting many deadlocks on sql in one Stored procedure when i start this service,and after that service does not do anything but in idle mode. the details of exception is below. Error :Wednesday, September 23, 2009 2:22:58 AM Method:UPD_CrawlerLastUrl 1. … | |
hi i'm new in program i want to write code in c .. and i'll convert it to c++ but i've problem this is the code [CODE] #include<stdio.h> #include<conio.h> typedef struct std { int id; char name [10]; char status; }STD; void main() { STD m; printf("Enter id : "); … | |
Hi , I have problem related to ArrayList...... ArrayList object may contain 1 or more ArrayList Objects and those inner ArrayList Object may contain 1 or more ArrayList Object and it is extendable to n levels. Condition is also added as ArrayList may contain different type of Objects too, i.e. … | |
hi guys,,, Can Anyone help me in my problem. I want to exclude the second and instead i will use the Am/Pm. I did exclude the seconds but I can't include the AM/Pm function. I used this code [QUOTE] <?php echo ('A'); ?> [/QUOTE] but this is static.. how could … | |
I am trying to make a program that prompts the user for input then outputs it to them(back to the good old days :D). It all works, except it doesn't output what the user inputs, it outputs a bunch of crazy numbers, can someone help me? Btw I am using … | |
Tired of the Tk icon in the corner of the form. It's easy to replace with any fancy icon you have. Here is the code ... | |
Guys, I need your help as I really can't seem to start on this query.I seem to not be able to come up with any logic. I have to create a query for a table. I have two tables in my DB . First one is a book table which … | |
hi guys, done heaps of googling and everything leads me to two outcomes. 1. You can't do it 2. You can do it this way [code] INSERT INTO User(userEmailAddress, userFirstName,userLastName,userStatus,userNickName,userMifrenzPassword,userEmailPassword,userDOB) SELECT 'overthehill@gmail.com','Ben','Hill','U','benny','milk','soccer','20-10-2000' UNION ALL SELECT 'smithy@gmail.com','Tony','Smith','A','smithy','bread','rugby','20-11-1976' UNION ALL SELECT 'hotpants@gmail.com','Sarah','Jane','U','hotty','toast','netball','15-1-2000' UNION ALL SELECT 'traci@gmail.com','Traci','Hill','U','raisins','coffee','hockey','20-10-2000' UNION ALL SELECT 'lol@gmail.com','Ben','Johns','U','stubby','jam','rowing','10-2-2001' UNION ALL … | |
Hi, I 'm working as a software developer trainee in .NET in a software concern. i'm in my training period. My PL suggested me to be in strong in the basics and about all the things that i need to know to develop a web application in .NET. Now i'm … | |
Hey guys I am stuck with this program and i need help with it this is what i got until now [CODE] #include <stdio.h> #include "checkit.h" double vectorDotProduct(double x1, double y1, double z1, double x2, double y2, double z2) { return(x1 * x2 + y1 * y2 + z1 * … | |
Hi i am looking for a good C compiler for windows vista. I found Visual Studio C++ 2008 express edition, will this work if im writing in c? | |
Hi Please tell me how we can search PDF File , which is stored in folder like C:\Folder and then show in show.php page as dynamic link. also Upload new PDF File to Folder Please tell me how? | |
I needing a program increase/decrease a day every 5 second or 1 min for clock system I use date function to set day but I so weak in timer function :) and 1 loop fuction to when it to day 30 it will return 1 thk:) | |
Hi i have 3 textboxes, TBDate, TBRangeFrom, TBRangeTo. I have use custom validation and insert code to validate date but i need to use two different button to validate data in same webform. For example TBDate to use btn1 to validate and then when click will link to other form … | |
problem is that it prints out backwards, can't figure out a way to flip it. prolbem is with numbers[siz-1] which begins at last index not first. [CODE] template<class T> T my_vector<T>::show_vector(unsigned int siz) { if(siz==1) { cout<<"enter size of array is 1\n"; return numbers[0]; } else { cout<<"enter this statement"<<endl; … | |
hello everyone, I am trying to read the same file twice,but after the first reading it is not taking the value again. what i need to do is read the file once and count the number of lines in the file, then read it again and do further computations...... but … | |
I got the first part correct but how do I put the get height into the second part? Like would I just repeat everything the base did.. like "private double height" " public void setHeight " etc... [B]The design is this: [/B] RightTriangle variables: base, height methods: setBase - changes … | |
Hie everybody, Iam trying to insert multiple rows into a table at the same time. The form fields of the rows are defined as checkboxes in html. For example it requires a person to enter his qualifications by ticking appropriate checkboxes. Now a person may tick more than one checkbox, … | |
Hello I am studying for my exam & I came across this question that is stumping me. [CODE=cplusplus] class X { public: X(); private: int x1, x2; }; class Y : public X { public : Y(); private: int y3; } // the class Y does not end in an … | |
Hello, I am writing a class that can handle large number of digits. I am trying to overload >> operator so that it can store the user input value and if user entered nondigit then it should print an error message and display the default value of 1 ; overload … | |
So, I created a program that allows a user to create student, delete student, display all students, search students, and quit. They are labeled 1 - 5, respectively. However, if a user were to enter 1, create the student, be taken back to the main menu and typed in x. … | |
Hi!!! I have made a window application in which when a string is entered in textbox , the related links are displayed in listview. Since ,there can be any number of links related to that string. So,I want to display only 5-7 links at a time in listview and on … | |
Hi, I am used to array of hashes in perl. So I was trying to do something like that in c++. Suppose I have created an array and now I want to store multimap in it. How can I do that ? I need to get some clues about this. … | |
hello, I'm trying to create a database in SQL Server management Studio for a project. I have created a tabel named Employee and I have 14 columns. I need to set the firts column (Emp_ID) as Primary Key (accomplished) and then generate a unique number for each Emp_ID that I … | |
Hi! I am developing a php site and required to export the .php files to HTML, PDF, EXCEL, TEXT, CSV, ODS and SXC files. The problem i'm having here is that i don't know anything about exporting files. How should i start? Could anyone provide some steps to help me … | |
Is there any way to do this? I have multiple drop down lists and depending on which drop down is selected I want it to unset some sessions. Do I need to use AJAX for this? | |
hi to all, i need help from you all... i need to search in database and to display the match records, say if search results are 28 in number then i need to show 5records/page (like this records 1-5 in page1, 6-10 in page2.......26-28 in page6) with some options like … | |
I am trying to build a small website using PHP and MySQL serve as the database. Can anyone tell me how to connect to MySQL database using PHP and is it similar to using Access because I have succeeded in doing that. Thanks | |
Ok, I wanted to learn C++, so I went and found a tutorial. I started reading it, but now I have so many questions! FYI, I have little to no prior programming experience, so please don't laugh at me. 1) What is a compiler, how do I use it, where … | |
Hi, This code doesn't work in Firefox? Is there any other way of closing window? [code]<A href="javascript: self.close ()">Close this Window</A>[/code] Thanks | |
So i want my program to loop while the user continues to say yes and i figured that my code below would work but for some reason it says that y is an undeclared identifier. [CODE]# include <iostream> # include <fstream> # include <cstdlib> # include <string> # include <cmath> … | |
I am trying to compute some lexical statistics from a given text. For instance, how many lines, sentences, words, how many times a given character is repeated. Can anyone help me with this? | |
Hello. This problem occured in a program that used dynamic memory, and the arrays were deleted and reallocated several times with varying length. It seemed to me that after deleting the arrays, the pointer is still pointing to some data with the same length. (And of course i didn't want … | |
i m using a open source cms (PHP) when ever i try to logout. i get loggged out but the screen shows as if still logged in. when i refresh it gets directed to home page. when i press back i get the history all the people logged in. how … | |
help. [URL="http://us2.php.net/trim"]manual[/URL] says: [CODE]$hello = "Hello World" $trimmed = trim($hello, "Hdle"); var_dump($trimmed);[/CODE] when used turned out to be: [CODE]string(5) "o Wor" [/CODE] i just want to remove all the x's from my string. its not working for me. $string = "faxtxxx"; does not come out to be "fat" it comes … | |
i have this script it wont display the page if i have over like 30 things in an array. wtf but it will display if theres only like 20. does anyone know what i can use instead of array() because i have like 100 things i need to use in … | |
Ok if I do a simple datareader and print each row in my test column (encrypted) I get the value as expected. What I am looking to do is simply take the returned value, pass it to the Decrypt function of the TripleDES class and print the decrypted value. I … | |
I copied this code from the textbook, so the code should have no mistake? I typed the contructor file(I think thats what its called) and the actual codes. So the code looks like this: [code]public class TestCircle { public static void main(String[] args) { Circle spot = new Circle(); spot.setRadius(5); … | |
So I am trying to write a program that will give creditcard balance information and it is aparent when I compile that there is some sort of error ( error c2784 ). I think that I might not be including something that I need but I am not sure what … | |
The InputBox function needs to be used in a command button to prompt the user for a number. I know that the syntax is ([I]prompt, title[/I]), where[I]prompt[/I] is the message you want displayed inside the dialog box [in this case - "Enter a number"], and [I]title[/I] is the next you … |
The End.