199,113 Archived Topics
Remove Filter ![]() | |
[code] void firstClass(int f); void businessClass(int b); void coachClass(char typeTicket); int main() { char type; cout<<"Please enter your which class you want to fly. (f=firstClass, b=businessClass, c=coach)"; cin>>type; cout<<endl; //bad data check while (type != 'f' && type != 'F' && type != 'b' && type != 'B'&& type != … | |
I am usually not keen for asking for help in these kind of situations but I am really stumped when it comes to this, all I really need is a good step in the right direction and I should be (hopefully) fine. I am currently writing an airplane seating program … | |
Hi, I want to show a login pop up window that has the username and password, I want it to be like the prompt. Can anyone help.... | |
i have a problem about sending variables through to other pages. I have done this before using forms to post the variables. I have tried to use the SESSION_START () function but that does not like the code i have used for the image resize on the page. i have … | |
I am looking for a visual studio tutorial, can you suggest one? I have expirience working in visual basic and was asked by my boss to learn asp.net. So I got visual studio installed, and read a few sites about asp.net. the idea of visual studio looks very much like … | |
I am stuck on something that I know is so simple that I can't figure it out... I have a BST class, and a private item: [code]Node<K> *root; // root pointer //and in a seperate class I have... template <typename K> class Node { public: // constructors Node() {}; Node(const … | |
Does anyone knows how to make datasource location of a report fixed like in VB you can use app.path. Can anyone suggest how to do it? Thanks in advance! | |
hai, I've written a client side code for creating virtual channels in remote desktop protocol. How to write the server side code? I need a COM object or a standard application. Thank you. bk_kiran_kumar | |
Hi all, Is there any module for undefining proxy for https in python like $agent->proxy( 'https', undef ); in perl | |
Hi i am having listbox,i want to open a new window after doubleclick of particular item in listbox in asp.net | |
Hi, How can I see changes made by admin in the client page?What exactly I want is that I have few events in admin side when admin selects any of them the selected event must be viewed in the client page..How can I do that...Any help? | |
Hi all Im developing one application where i need Ms Exell as my database and vb as fornt end i dont know how to use exel as data base? Plz help me out..... thnx regards.. Pgmer | |
I want to implement that using C#'s Generic LinkedList and the new features of C# 3.0. But I'm stuck now. the code add's the polynomials with matching exponents but doesn't add the rest of the nodes to the new LinkedList. [code=csharp] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace … | |
First off I'd like to say I'm a beginner in C++ (VB was my stronger point I think), so be gentle about how gigantic my code is. I've been working on a project for a class for a couple days now, it's not due for a couple days, but for … | |
this is what i am trying to do. Write a simple program that do the following: 1. Accept user input for date in format of (YYYY-MM-DD). 2. Validate YYYY, MM, DD are number. 3. Validate whether this input is a valid date. 4. Print a monthly calendar for the month … | |
I came across this script. I wrote it sometime ago. It writes out two different id coordinates. Just thought I would put it up. Right click for source its pretty easy to modify. [URL="http://www.stupidharold.com/Dani/mouseover4.htm"]http://www.stupidharold.com/Dani/mouseover4.htm[/URL] | |
I have a txt file of this format: 2 Jack S123 Y 1 Choco P0001 5.50 2 Jane S456 N 2 Rice P0002 10.00 2 Chicken P0004 7.50 1 how do i create the loop to store the data into 2 classes? my code for (int i = 0; i … | |
Hello all, I have a doubt concerning to overloaded operators. Does the compiler create new temporary object to the elements involved on the overloaded operation? E.g. Operator + overloaded. a = b + c; Does the compiler creat temporary object for b and c? See the following code and the … | |
Hi I'm not really sure how to solve this, if a system supports ten digits of precision for floating-point numbers, what are the results for the following computations? a. 1.4E+12 + 100.0 b. 4.2E-8 + 100.0 c. 3.2E-5 + 3.2E+5 Thank You. | |
i am trying to teach myself python using this book called, core python programing by wesley chung. one of the exersises in this book says make a text based menu application that uses more than one of the programs you made already.When i made the application one of my code … | |
[code=java] import java.awt.Color; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.SwingUtilities; public class Testing extends JFrame { public static void main(String[] args){ SwingUtilities.invokeLater(new Runnable() { public void run(){ new Testing(); } }); } private Testing(){ super("tester"); launch(); } private void launch(){ setBounds(200, 200, 300, 300); setDefaultCloseOperation(EXIT_ON_CLOSE); JPanel topPanel = new … | |
Here is my code for the program. which I'm trying to complie...I just started testing it and was going through it step by step...but the first function whichI started testing is getAccountNumbers, but there are some issues with it, here's the code, it has Person file included in it, it … | |
How is it possible to delete all Rows from it´s contents in a dataGridView1 ? For example I have 10 Rows and 15 Columns with Information. Thanks... | |
How is it possible to programatically select Row 2 in a dataGridView. I know how to do it for a checkListBox like below but can´t find a member simular to this in the dataGridView. [code] checkListBox1->SelectedIndex = 2; [/code] | |
Hi I have been looking around for some good tutorials but i havent been able to find any especially for networking. i was wondering if anyone in the community could help. thanks | |
I'm trying to translate the following code from C++ into Asembly language but am having trouble. I know that I have to make a cmp and one or more jmp. If any1 has sugguestions or tips thats great. Here's the C++ coding: [CODE] int x = 1 * 2; int … | |
I am working with the tutorial at: [url]http://www.netbeans.org/kb/articles/mysql.html[/url] Is there someone able to assist me in learning how to add a search functionality to the above tutorial? right now I am deciding if I need to transform th code (below) to the @Action,actionPerformed(),and class extending (@Action) Task. [code] public void … | |
I am not too good with php and am trying to get this search and results form to work. I am trying to get the user to be able to search by shape, color, price range, etc. I was only able to let them search for one color and one … | |
Hello, I am collecting data from users on one form, altering the data, and then depending on which option the users (user will choose a submit button out of many) selects I will be passing the data to a different form where the data will be altered further. I plan … ![]() | |
I am a C++ programmer, but i am required to prepare a presentaion about Generics in Java I need someone to explain this function: public static <T> T do_something(T [ ] list) { … } Please show what every part indicates; <T> indicates: ..... T indicates : ..... ...... and … | |
In Vb.net, I do it in the foll. way-- Dim value as string [U]Button_Click[/U] For each value in combobox1.items combobox2.items.add(value) Next But it is not working in ASP.net. Plz de reply back. | |
Could sum1 plz help me undastand these Questions just wna no how it is done fank u 3. If DoSomething is a void function that takes an int expression as an argument, which of the following is an incorrect statement? (Assume all variables are int variables.) A) DoSomething(n); B) DoSomething(3*n … | |
I wrote a program to implement LinkedList : package JavaApplication; import JavaApplication.MyExciption; public class LinkedList<ListElementType> { class Node { ListElementType elem; Node next; } private Node head; private Node tail; private Node current; public LinkedList() { head=null; tail=null; current=null; } public void insert(ListElementType elem)throws MyExciption { Node addedNode=new Node(); if(addedNode==null) … | |
hi i have written a code for convertingo uploaded a .doc and view it as html........ i am not able to view thw first line,all the bold string are looking like ordinary string | |
Hello all, I am submitting this post because I am having problems with implementing threads in my code and wonder if someone may be able to tell me what is going on! I am using Borland C++ Builder3 to create a GUI based application. This application contains a lengthly search … | |
Hello, I'm a beginner programmer and I was looking to see if anyone has a book or online tutorial that they have either used or heard about that's any good. I've seen a lot of online tutorials but they seem to get a bit dodgy when talking about Arrays and … | |
hi i have an n*n page (n is a power of 2) with an empty place in it, and i want to fill in this sqaure with right trominos (a tromino has an 'L' shape) i want to show the empty spaces with zeros and the ones filled with trominos … | |
I want to enable members in my web to send mails to another web example yahoo,hotmail, and others. What to are essential needs to Get Started??? ![]() | |
[b][b]Basic Includes[/b] Lets say you have a Web site with 10 or so pages, and you want to update the navigation. You don't want the hassle of updating every single page. That's where includes come in handy. Your basic include will look like this. [php] <?php include ( 'includes/navigation.php' ); … | |
Hi guys, I am currently working on a practical for a first year computing subject. I am determined to work it out because I think it will really unlock pointers and dynamic memory allocation for me. Essentially, the task requires that I produce a program which, when prompted, will store … | |
I am working with the tutorial at: http://www.netbeans.org/kb/articles/mysql.html can any one help me figure out why I can not set a query with this method? entityManager = java.beans.Beans.isDesignTime() ? null : javax.persistence.Persistence.createEntityManagerFactory ("splashbookdbPU").createEntityManager(); org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance (splashtemplateda.SplashTemplateDAApp.class).getContext().getResourceMap (SplashTemplateDAView.class); query = java.beans.Beans.isDesignTime() ? null : entityManager.createQuery (resourceMap.getString("query.query")); // NOI18N list … | |
Is it possible to Show a MessageBox or Something simular to a MessageBox that by it self will show for about 2 seconds so you doesn´t have to press OK. So what happens is that a "messageBox" will appear for about 2 seconds and the by itself dissapear ? (A … | |
how to use AWT to write button tip? i don't want to use Swing. Please help me!:) | |
i am trying to get an image file to display in an email, the file is stored on the server but it will not send the file with the email. i have been working on this code now for a few days and i cannot get it to work. the … ![]() | |
Hey, I was just wondering what was the simplest way to "real" world type, like open wordpad and you could watch it actually typing, thanks in advance. (Hopefully the answer is not writing to file etc) | |
Hi, I'm quite new to C++ so all help is appreciated. I have a program that makes a string of at least three characters. I want to be able to compare the string to a list of words (i.e. dictionary) in a separate file, and then output the string if … | |
I want to make a procedure that runs at every day at certain time. I read that I have to do Scheduling, but to do it I should have sql server agent. I am using sql server express edition with sql management studio express endition. But there is no sql … | |
i have made an electricity bill program and wants to add graphics in it mean when it need input from user it writes in graphics............. so plz help me in making this....... [code]#include<stdio.h> #include<conio.h> #include<iostream.h> void main() { int unit=3; int reading,previous,current,consumed,bill; cout<<"enter your meter no"; cin>>reading; cout<<"enter previous redaing … | |
I have problems to extract frames from mp4. I'd like extract frames to memory or hard disk in order to modify them before show them on the screen. Could anyone help me how to do this ? Thanks ! | |
Hey, i was thinking these may help me if I made these little programs etc, but i've came to a situation, I've go no error but have to use [CODE]cin.get();[/CODE] twice, here's the whole program.. [code=c++]#include <iostream> using namespace std; int main() { system("title Simple use of if else if … |
The End.