199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for saradha

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 …

Member Avatar for saradha
0
120
Member Avatar for amadain

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 …

Member Avatar for jice
0
274
Member Avatar for lotrsimp12345

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 …

Member Avatar for dkalita
0
104
Member Avatar for RunTimeError

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 …

Member Avatar for Geekitygeek
0
380
Member Avatar for nicholasamh

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.

Member Avatar for nicholasamh
0
90
Member Avatar for Gaurav arora

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 …

Member Avatar for Geekitygeek
0
253
Member Avatar for zackie

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 …

Member Avatar for iamthwee
0
110
Member Avatar for JungWoo

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 …

Member Avatar for iamthwee
0
103
Member Avatar for therstonsplace

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 …

Member Avatar for therstonsplace
0
218
Member Avatar for gotm

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 …

Member Avatar for javaAddict
0
172
Member Avatar for ashu2409

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

Member Avatar for ashu2409
0
989
Member Avatar for UmH

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 : "); …

Member Avatar for UmH
0
143
Member Avatar for javed123

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

Member Avatar for balumohan2
0
152
Member Avatar for jay_412

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 …

Member Avatar for network18
0
124
Member Avatar for tomtetlaw

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 …

Member Avatar for tomtetlaw
0
71
Member Avatar for vegaseat

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

Member Avatar for The-IT
0
1K
Member Avatar for sushant17284

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 …

Member Avatar for sknake
0
114
Member Avatar for mr_scooby

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 …

Member Avatar for sknake
0
2K
Member Avatar for kumarkmmca

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 …

Member Avatar for arya sharma
0
120
Member Avatar for yasaswyg

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

Member Avatar for yellowSnow
0
116
Member Avatar for Nickair

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?

Member Avatar for Nickair
0
103
Member Avatar for ayesha789

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?

Member Avatar for kvprajapati
0
868
Member Avatar for phuanon

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

Member Avatar for phuanon
0
119
Member Avatar for facadie

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 …

Member Avatar for Ramesh S
0
268
Member Avatar for lotrsimp12345

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

Member Avatar for lotrsimp12345
0
89
Member Avatar for gauri_phatak_87

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 …

Member Avatar for kvprajapati
0
178
Member Avatar for StarZ

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 …

Member Avatar for BestJewSinceJC
0
731
Member Avatar for ttchiwandire

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

Member Avatar for network18
0
78
Member Avatar for gretty

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 …

Member Avatar for kvprajapati
0
4K
Member Avatar for complexcodes

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 …

Member Avatar for dkalita
0
304
Member Avatar for wyett

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

Member Avatar for wyett
0
191
Member Avatar for avirag

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 …

Member Avatar for avirag
0
146
Member Avatar for Web_Sailor

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

Member Avatar for Web_Sailor
0
169
Member Avatar for kevlam

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 …

Member Avatar for kevlam
0
110
Member Avatar for lcyew

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 …

Member Avatar for lcyew
0
1K
Member Avatar for AdventDeo

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?

Member Avatar for AdventDeo
0
218
Member Avatar for nadnakinam

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 …

Member Avatar for glycerine
0
127
Member Avatar for achiman

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

Member Avatar for Atli
0
118
Member Avatar for IndyColts

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 …

Member Avatar for IndyColts
0
126
Member Avatar for veledrom

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

Member Avatar for beeerlover
0
89
Member Avatar for Ponomous

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

Member Avatar for NathanOliver
0
113
Member Avatar for pelupelu

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?

Member Avatar for vegaseat
0
277
Member Avatar for dqddani

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 …

Member Avatar for jbennet
0
516
Member Avatar for deepika1

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 …

Member Avatar for leviathan185
0
62
Member Avatar for SKANK!!!!!

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 …

Member Avatar for SKANK!!!!!
0
80
Member Avatar for SKANK!!!!!

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 …

Member Avatar for SKANK!!!!!
0
137
Member Avatar for bmiles2001

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 …

Member Avatar for bmiles2001
0
184
Member Avatar for StarZ

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

Member Avatar for StarZ
0
405
Member Avatar for Ponomous

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 …

Member Avatar for Ponomous
0
177
Member Avatar for EntangledDesi

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 …

Member Avatar for EntangledDesi
0
99

The End.