199,114 Archived Topics
Remove Filter ![]() | |
I have just started today. I put the following code into DEV-C++: [code=cplusplus] #include <iostream> int main() { std::cout << "Enter two numbers:" << std::endl; int v1, v2; std::cin >> v1 >> v2; std::cout << "The sum of " << v1 << " and " << v2 << " is … | |
hi, i am using crystal report to prepare reports. my database is in oracle 9i. i am using vb.net 2003. after creating crystal report whenever i am going to view the report in button click event it is asking me to give login id and password. for each and every … | |
If anyone can throw a good suggestion my way, i 'd love it. I'm coding a piano that uses Swing and the piano keys are JButtons. A standard computer keyboard can be used to play notes by linking up to the JButtons. I'm only using two buttons for a prototype. … | |
Hello, I need to write a program which displays some images on the screen depending on some calculations. For example if the result of the calculation is 3 it will display an image file, if it is 5 it will display another image file. I don't even know where to … | |
Hereafter is a macro (VB6) that converts 2 adjacent lowercase consonants into the 1st remaining in lowercase and the 2nd converted into uppercase. Well, so far so good, but the problem is that it works only when both consonants are the same, i.e. cc, ll, pp, ss, etc. become cC, … | |
If i click the back button in browser i got some problem. i click the login and redirected to another page.after that i click the back btn its navigated to login page.but it didnt clear my session value login=true.still that user in login stage but that login page looking normal … | |
I want disable my back button in internet explorer when i am logged out.. iam using asp.net platform for my project.. i hope u willl sent me the code which may be usefull waiting for ur reply.. thank you | |
Hi... Does anyone know how can we get motherboard details using a c program for a Mac machine ? I want details like Motherboard Manufacturer, Its Model No., Its version and Serial Number. How can this information be obtained ?? | |
hi guys,.. am trying to get this asp form to send the information it has to me, however.. i keep running in to brick walls, as it returns fine, just with no information. so you can imagine its not ideal. anyway, ill supply the code here, i know its to … | |
Hi to all, Do anybody knows how to display the complete dialog of a printer properties, showing all tabs of a printer properties like when you are manually doing it on controlpanel>printer&fax... i wanted to show it that way... I have a program that can show the printer properties... here … | |
Hi I am really little bit new to java , actually J2ME , really , can anyone know the API or libraries that can freely download to handle the vcf business card format that come with outlook express ? I really feel lazy to write my own code , anyone … | |
[B]Background:[/B] I am developing a library for an existing (network) protocol that frequently changes. I want to develop the library to be compatible with the current protocol and support future changes, while maintaining backwards compatibility. Right now, my concern is about the protocol model. I'm trying to find the best … | |
I downloaded the most recent vesion of winHugs and I installed it. I'm trying to follow a [url=http://www.ssw.uni-linz.ac.at/Teaching/Lectures/SpezialLVA/Stanczyk/]tutorial[/url] about the commands (hugs2List pg 3). I try to use the Prelude function isDigit, but this gives an error. -- File second.hs getDigits :: [Char] -> [Char] getDigits s = [C|c <-s, … | |
I have question about Temporary Web Page. When I click on link in my web application and redirect to ( for example) mywebsite.com/12.aspx. When event OnLoad() fire,I read value 12, which is Primary key and make query to the database,get record and represent on web page. But,I need temporary web … | |
can sumebody tell me whats wrong whis this code?? tried many times but still parse error..on line 53 and if i put validation on php,do i need to put the command at server side??? tq [CODE="PHP"] <table width="1000" height="95" border="1"> <tr> <td bgcolor="#0000FF"> </td> </tr> </table> <? include("connect.php"); //this is your … | |
Hi, I am new to bash scripting. I have some questions here, Can anybody help? I have a text file which has the following format. UserNam User full name road and house nr. post nr, city phone, mobil Department, job The first thing should be to open file and find … | |
Hi i am passing three parameters to my stored procedure. now in stored procedure i want to execute the query on the basis of given condition. suppose i m passing para1, para2 and para3. now i want update table1 if(para1='' or para1= null) then 'update table1 set para2='''+@para2+''' and para3='''+@para3+'''' … | |
Hi all,, My problem is that,,My query is not working correctly when the time of loading the page... But if we echo the query and try to run the same query in PHP MYAdmin then the query is running correctly... For example if i need all the records having sex … | |
hi.. i tried to put picture on our system. in the employee form.. but i dont know the exact step on how. i have here a code for opening the picture.. but i dont know how to save it in my database together with the information of the employee... here … | |
Hi all, I'm working in VB 6.0, when I try to put a component on my form for Crystal Reports XI, It gives me a error message (Unexpected Error) , error Number (35005). Can anybody help me? Thanks in advance Rajesh khanna | |
How can in the output, I want ONLY ONE LINE from 1 to 99, the windows is not enough.. myvector contains: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 … | |
How to correct it? ompiling... 27.cpp C:\Documents and Settings\ashida\My Documents\MASTER C++\main\27.cpp(21) : error C2065: 'aTable' : undeclared identifier C:\Documents and Settings\ashida\My Documents\MASTER C++\main\27.cpp(21) : error C2109: subscript requires array or pointer type C:\Documents and Settings\ashida\My Documents\MASTER C++\main\27.cpp(21) : error C2228: left of '.size' must have class/struct/union type C:\Documents and Settings\ashida\My … | |
hi i have a application were the user admin will select a key word from the drop down based on the dropdown selection....it should search all the rows in a particular table.the corresponding matching data should get displayed to the admin. | |
Hello all, yes yet again an Assignment problem I need help with haha ;) Anyways this time my code is correct, I think, but I am getting hung up on an ifstream issue. Here is the code: [CODE] ifstream infile; ofstream outfile; infile.open("C:\Users\***\Desktop\School\chapter5.txt"); if (!infile) { cout << "Cannot open … | |
Could you please help me? what is wrong with this code? it prints only D->D->D->D (I want A->B->C->D) [code=c++] #include <stdio.h> #include <stdlib.h> #include <string.h> #include <malloc.h> struct node /* Declaration of structure "node" */ { char letter[1]; struct node *next ; }; struct node *start = NULL; main(void) { … | |
Hi, I am trying to create a widget to display live stock quotes. then i have to deploy in iGoogle. Please explain me how can i proceed. 1.i need widget creation tutorial. 2.igoogle deployment tutorial. Server Language: PHP -Bala | |
Can C++ draw a table for matrix? or I must draw a line like this? __________________________ __________________________ _________________________ _________________________ | |
Hey guys, I was doing my reading last night and was trying to come up with a program other than the practice assignments. It has been hard remembering all the keywords when they are given to you in the practice assignment. I came up with one and kinda got myself … | |
I have a set of 2 drop downs. Once a selection is made in the first one, the second one popluates based on the first choice...I also have a a dynamic table on my page that works fine but shows every record from what ever recordset it is based on....here … | |
I have an assignment dealing with polynomials and adding two of them together. Am using vectors to approach this and i have one vector assigned for coefficients and the other exponents Am very very new to c++ and am at a lost. Here is my + operator [code] Polynomial operator+(Polynomial& … | |
whats the different between two multidimensional vector and array? | |
![]() | I have to dynamically add user controls to a asp.net web page. I know that can be done as follows: [code=C#] WebUserControl webug = (WebUserControl)Page.LoadControl("WebUserControl.ascx"); cntrlHolder.Controls.Add(webug); [/code] In the above code cntrlHolder is a PlaceHolder/Panel. I need to add more controls of type WebUserControl into the same page. How can … |
1) is it possible that i could create GUI application under Perl (*.pl) files? 2) what are the things that i need to consider and do? 3) i tried copying a perl program from a certain website and when i tried running it on command prompt for Windows, it says … | |
Hi, What needs to be done to connect TOAD with oracle database ?....i have installed oracle client 9i.. | |
Hi, I am programming in VC++/MFC to make applications for Bus, Airline and other ticket booking softwares. In those applications i need to display the available Buses/Flights in as in Web pages. i.e., like tables. A row for a flight like that. Currently I am making such a view by … | |
The question goes like this: You are given a file in which each line contains a list of space separated words. Write a program to find out: 1. List of words that are present in all the lines (words common to all lines) 2. List of unique words that are … | |
write a bit of code to read from a file and compare a string but it dies before it finishes. the complier tells me there is a segment fault on line 31 can anyone help. [CODE] [LIST=1] [*]#include <stdio.h> [*]#include <string.h> [*]#include <stdlib.h> [*]#define max 100 [*]struct customer{ [*] [*] … | |
I want to store a byte from fread as type char, and then be able to perform comparison operations on that byte as an int. I have [quote] int num; char buffer; num = fread(buffer, 1, 1, myFP); [/quote] and I'm sure it's not right. | |
Can u pls. tell me? how to create a web page with a session locking functio. & also with login & logout facilities? | |
How is a string vector array declared using a Form application ? This seems to work for int in a Form Application: [Code] std::vector<int> Value(10); [/code] But if you change int to string in the same example the compiler says that 'std::vector' : class has no constructors | |
This doesn't work. Please help. (line 8: invalid conversion from `const char' to `const char*' ) const char *alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; int i=0; do { new_ptr = (struct node *)malloc(sizeof(struct node)); new_ptr->next = NULL; if (start == NULL) { strcpy(new_ptr->letter, alphabet[i]); start = new_ptr; current = new_ptr; } else { strcpy(new_ptr->letter, alphabet[i]); … | |
I need to let the user input a line of words and make all the 4 letter words in the sentence "love".... example: cin>> I hate programming output --> I love programming does anybody know if there is any library, or string member functions would help doing this task? below … | |
I am using the following query to pull categories from the DB then creating a select list. Can some tell me how to make the current value selected in the list when they open the category? <?php include("mysql.php"); $queryc = "select * from tbl_category WHERE active = 'yes' ORDER by … | |
Hi there programmers could you help me out. I need idea on how to create an Online Reservation of Books for a Library.. thank you in advance.. | |
Hi, I would like to know whether linux installed as default in all flavors of linux (redhat,suse) or in customized linux distributions. is not so is there any other script to be supported in all linux distributions? thanks | |
Hi, I m new to JavaScript. And I have a webpage where a user can upload 5 images. so I have five input tags, but I want to give him add extra image option,when a user hit add extra image a new input tag appeare. how can I do that … | |
is there a quicker way to fill the list with A,B,C,...,Y,Z whithout doing all this? 1. #include <stdio.h> 2. #include <stdlib.h> 3. #include <string.h> 4. #include <malloc.h> 5. 6. struct node /* Declaration of structure "node" */ 7. { 8. char letter[1]; 9. struct node *next ; 10. }; 11. … | |
I'm trying to make a program that can hide a process that is running, and then restore it for you. I can successfully Hide the window using [CODE] private const int SW_HIDE = 0; private const int SW_RESTORE = 9; [DllImport("User32")] private static extern int ShowWindow(int hwnd, int nCmdShow); private … | |
I have a Petrol Pump system that runs a timer that simulates the litres that run and the display shows the images inserting into an image box. Then the Price at current is the litres * the set price per litre. Thats where the problem is because I can't get … | |
hi frens I am workin on website development project. I want to do a user login module in asp havin login page , registration page along with forgot password and members area features in it with acces db . plz guide me through this or provide useful links to a … |
The End.