132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for paradox814

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 …

Software Development c++
Member Avatar for bugmenot
0
279
Member Avatar for tekrum

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!

Software Development visual-basic
Member Avatar for freshface001
0
84
Member Avatar for bk_kiran_kumar

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

Software Development client-server visual-basic
Member Avatar for omveer256426
0
127
Member Avatar for swaroopk85

Hi all, Is there any module for undefining proxy for https in python like $agent->proxy( 'https', undef ); in perl

Software Development perl python
Member Avatar for swaroopk85
0
43
Member Avatar for Pgmer

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

Software Development vb.net
Member Avatar for Pgmer
0
96
Member Avatar for ChaseVoid

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 …

Software Development
Member Avatar for ChaseVoid
0
548
Member Avatar for StrawberryChips

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 …

Software Development c++
Member Avatar for Agni
0
335
Member Avatar for toolbox03

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 …

Software Development c++
Member Avatar for VernonDozier
0
108
Member Avatar for hmaich

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 …

Software Development c++
Member Avatar for Duoas
0
120
Member Avatar for marcelomdsc

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.

Software Development c++
Member Avatar for marcelomdsc
0
75
Member Avatar for jascase901

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 …

Software Development python
Member Avatar for tondeuse34
0
91
Member Avatar for TheWhite

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

Software Development java java-swing
Member Avatar for TheWhite
0
3K
Member Avatar for code12

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 …

Software Development c++ visual-studio
Member Avatar for code12
0
235
Member Avatar for Jennifer84

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

Software Development c++
Member Avatar for Jennifer84
0
115
Member Avatar for Jennifer84

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]

Software Development c++
Member Avatar for Jennifer84
0
127
Member Avatar for lllllIllIlllI

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

Software Development python
Member Avatar for jrcagle
0
113
Member Avatar for Spagett912

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 …

Software Development assembly c c# c++
Member Avatar for Spagett912
0
248
Member Avatar for ceyesuma

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 …

Software Development java
Member Avatar for ceyesuma
0
153
Member Avatar for omarelmasry

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 …

Software Development java
Member Avatar for omarelmasry
0
97
Member Avatar for 3m4d

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 …

Software Development c++
Member Avatar for hammerhead
0
369
Member Avatar for WalkmanXD

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

Software Development java
Member Avatar for peter_budo
0
140
Member Avatar for BAEdwards

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 …

Software Development c++ gui ide
Member Avatar for mitrmkar
0
281
Member Avatar for d.p.l

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 …

Software Development c++
Member Avatar for Nick Evan
0
72
Member Avatar for scream2ice

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 …

Software Development c++
Member Avatar for scream2ice
0
425
Member Avatar for daniel88

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 …

Software Development c++
Member Avatar for Radical Edward
0
137
Member Avatar for ceyesuma

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 …

Software Development java java-netbeans oracle
0
86
Member Avatar for Jennifer84

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 …

Software Development c++
Member Avatar for Radical Edward
0
194
Member Avatar for wujianwei

how to use AWT to write button tip? i don't want to use Swing. Please help me!:)

Software Development java java-swing
Member Avatar for javaAddict
0
98
Member Avatar for Black Magic

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)

Software Development c++
Member Avatar for William Hemsworth
0
136
Member Avatar for tharris7

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 …

Software Development c++
Member Avatar for Nick Evan
0
195
Member Avatar for nabeelcool17

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 …

Software Development c++
Member Avatar for nabeelcool17
0
91
Member Avatar for notbadday

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 !

Software Development c++
Member Avatar for Salem
0
86
Member Avatar for Black Magic

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 …

Software Development c++
Member Avatar for Nick Evan
0
138
Member Avatar for kimbostun

I want to Define class name MutiItemSale that represents a sale of multiple items of type Sale. The class MutiItemSale that have instance variable whose type is Sale[], which will be used as a partially filled array. There will also anther instance variable of type int that keep track of …

Software Development java
Member Avatar for javaAddict
0
105
Member Avatar for hassanawdah

Welcome I have small project but I can't understand it. I hope from the members help me in this. thank you -------------------------------------------------------- Q: Problem: You’re writing code for an embedded processor for automobile safety. In the final system the car speed will be detected automatically, but in your sample program …

Software Development assembly
Member Avatar for Salem
0
270
Member Avatar for wam2

I have written a code for maximum power point tracking. The purpose was to create DLL file and use it in a circuit base simulation program. I used Microsoft visual c++ 2008 express and created that DLL file but I only get first value from the created array in C. …

Software Development algorithm c pdf
Member Avatar for wam2
0
378
Member Avatar for Ryano24

These are the only answers I could not find can anyone help me out please public class TestA { public static void main( String args[] ) { int x = 2, y = 20, counter = 0; for ( int j = y % x; j < 100; j += …

Software Development java
Member Avatar for TheWhite
0
216
Member Avatar for Kumar Arun

[QUOTE=Kumar Arun;603385]I am exploring the RS232 communication possibilities. I am faced with problems when i try to send file across the rs232 port. Please help...[/QUOTE] I am really sorry if i was not expressive enough. I will explain the situation. I have implemented the RS232 communication, At System A, i …

Software Development file-system vb.net visual-basic
Member Avatar for Kumar Arun
0
174
Member Avatar for Spagett912

A while ago i had requested help for a Marital and Federal tax program. Unfortunately I'm making this program for a particularly picky person. So I ended up having to remake it somewhat. If someone could take a look and help me with this that'd be cool. Here's what I …

Software Development c++
Member Avatar for joshmo
0
154
Member Avatar for NAMAN JAIN

most oftenly u have said or heard the word JAVA BUT I WANT U TO EXPLAIN WHAT ACTUALLY JAVA IS I AM EAGER TO KNOW PLEASE NO SMART ANSWERS ANSWERS FROM PRO

Software Development java
Member Avatar for jwenting
0
104
Member Avatar for GigaCorp

ok i got past that part i posted about before, now im having some more trouble. i can add 2 patients easily to the file. then i try to display them. it displays the first one just fine, but the second it tries to display the first value in the …

Software Development c++
Member Avatar for GigaCorp
0
144
Member Avatar for touqra

Can C++ make a function that returns two values ?

Software Development c++
Member Avatar for vijayan121
0
104
Member Avatar for awoc

when i print out a big answers 13100000000000000 i wanted to say 13.1e12 this should happen to all different answers that come out

Software Development c
Member Avatar for jephthah
0
89
Member Avatar for Jennifer84

I wonder how it is possible to create a "Folder". I know how to create files like this. How could this be possible with ofstream. I am not sure if I find any members to ofstream that could be associated with "Folders" ? [code] ofstream OutFile1; OutFile1.open("C:\\File1.txt"); OutFile1; [/code]

Software Development c++
Member Avatar for Jennifer84
0
105
Member Avatar for GigaCorp

i ended up doing it woithout that function. nov ive got a bigger issue,im trying to make a database of patients and i am working on writing 2 of 8 of the functions in the menu. displaypatients is supposed to display all the info for the patients 1 by 1, …

Software Development c++
Member Avatar for VernonDozier
0
143
Member Avatar for Clockowl

Hai guys, I have quite a large program here that I don't seem to understand. The program, Bow Vice Jet (an anagram for object view) is meant to display WaveFront .obj files. However, it quits when it loads a specific file while on my computer, while on another it does …

Software Development c
Member Avatar for jephthah
0
148
Member Avatar for Relegant

With these codes [CODE]public boolean rogue() { if(rogue = true) { playerEquipment[playerHat]=5554; // set armor playerEquipment[playerCape]=6570; playerEquipment[playerAmulet]=6585; playerEquipment[playerChest]=1; playerEquipment[playerShield]=1; playerEquipment[playerLegs]=5555; playerEquipment[playerHands]=5556; playerEquipment[playerFeet]=5557; playerEquipment[playerRing]=1; playerEquipment[playerArrows]=1; playerEquipment[playerWeapon]=1; } } public booletan hunter() { if(hunter = true) { playerEquipment[playerHat]=1038; // set armor playerEquipment[playerCape]=6570; playerEquipment[playerAmulet]=6585; playerEquipment[playerChest]=-1; playerEquipment[playerShield]=-1; playerEquipment[playerLegs]=-1; playerEquipment[playerHands]=7462; playerEquipment[playerFeet]=-1; playerEquipment[playerRing]=6735; playerEquipment[playerArrows]=-1; playerEquipment[playerWeapon]=4151; } …

Software Development java
Member Avatar for jasimp
0
104
Member Avatar for tiney83

Hi, My assignment is to read in data from a file(first name, last name, and grade) and then output it. i have my code and i beleive the problem lies within the function readData, but i cant figure out what it is. I run the program and i get an …

Software Development c++
Member Avatar for tiney83
0
140
Member Avatar for unpolloloco

I am quite the beginner at python (and programming altogether), but I'm attempting to learn (slowly but surely). Anyway, I am attempting to make a standalone python program that will interact with firefox (opening links, etc.). I've figured out how to open FF and open links. However, for the life …

Software Development python
Member Avatar for unpolloloco
0
107
Member Avatar for Mackjan

How can i create a function which sort a list in this way for example if list 4,4,2 4,4,2 3,3,1,3 2,2,0,2,4 1,1,0,1,3,4 0,0,0,0,2,3,4 0,0,0,0,0,1,2,3,4 If the list is impossible to sort then the program have to try it 15 times not more. The function which I wrote does it only …

Software Development python
Member Avatar for Mackjan
0
80

The End.