132,726 Archived Topics
Remove Filter ![]() | |
Hi guyzz !! I have tried scouting the internet but could not get a suitable explanation. Please tell me with an example as to what are bit arrays and what are their applications. Any help would be greatly appreciated. Thanks Software Development c++ | |
I"m trying to determine if the user is root or not then prompt to become root user; [CODE]if os.geteuid() != 0: # If not root user... os.system("gksudo crack.py") # Open root password window else: # Do Nothing if os.geteuid() == 0: # If you are root user... os.system("You are now … Software Development python | |
[CODE] list<int>* compare(){ list q; q.push_front(1); q.push_front(2); return &q; } [/CODE] this method returns a pointer to an empty list how can I do to return priority_queue contain 1,2. Software Development c++ | |
I have to creat a program that draws squares instead of circles. It also has to draw additional squares for each mouse click, and at the end print a message "Click again to quit" after the loop, and wait for a final clikc before closing the window. This is what … Software Development python | |
I get the error test cannot be resolved to a type here [code] test[] arrayOftest = new test[ 3 ]; [/code] - ideas or help? [code] public class Test { public static void main( String args[] ) { Point point = new Point( 3, 3 ); Square square = new … Software Development java | |
I am a beginner in C programming language.I have seen many compilers around but I cannot understand which one will be better to use.Plz help me. Thanks.... Software Development c | |
Please help how do i do this program?? Write a program to read data from a large text file. Within the file, the data are arranged in two columns, separated by white space characters, and comprised of a variable number of rows of data, the last of which contains nine … Software Development c++ | |
Ok, I read other posts on the same topic, but i didn't get what i exactly wanted.. 1- i want to add JCheckboxes in one of the JTable columns 2- i want to handle events for it.. e.g adding new row when checkbox is clicked etc I referred the java … Software Development java | |
I am currently attempting to write a single [B]recursive[/B] method (per instruction) whereas the items in a binary tree are displayed in a horizontal hierarchical manner (level order traversal). The UML describes the method as: levelOrderTraversal(TreeNode<T> tree, Integer indent) - tree: a node in the binary tree - indent: describes … Software Development data-structure java programming-construct queue | |
I am trying to only have the words print out if they occur the same number of times as in the fibonacci sequence. If a words show up 1,2,3,5,8 etc then it will print up. I have gotten the program to print up the words based on how many times … Software Development python | |
when i browse data, will pop out an error which is index out of range.Must be non negative and less than the size of the collection. may i know wat error with my coding? my text file data are: 11 21 11 21 11 21 below are coding: [CODE] private … Software Development | |
I am trying to write a small program to keep track of my movie collection but I can't seem to get the streamwriter(I think thats what its called to work). Right now I am working on writing to a text file. I had a couple of questions though, will I … Software Development c# | |
hi i have to make tool which is similar to google search editor right know i only needed graphical help that is hot create that component according to me it is an drop down list with editable facility is there any way for that in java description when name enter … Software Development java | |
I know I may not be ready for this but I want to make a client side application that will talk to a server and be able to inspect element. I know some Windows APIs and C++ but I am not sure how to log in the web-site with the … Software Development c++ client-server flash | |
Hi, I'm making a tv guide program and I'm letting the user select a start date and an end date and I need to output all the programmes which fall between those times. I'm using linq like this to filter the data [code]var result = from p in programmes where … Software Development | |
I TRY TO MAKE CODE COUNTER WITH CODE [B]MR/IR/001[/B] IN MY APPLICATION USING VISUAL BASIC 2008, BUT WHEN THE CODE GET [B]MR/IR/999[/B] IT`S STUCK AND NOT INCREASING, I WANT TO MAKE THE CODE INCREASE TO : MR/IR/1000 MR/IR/1001 MR/IR/1002 MORE AND MORE ... FOR DATABASE I`M USING MS ACCESS 2007 … Software Development vb.net visual-basic | |
HEY i am trying to resolve my problem here is the code and the error [quote]2 [main] PA4 2768 exception::handle: Exception: STATUS_ACCESS_VIOLATION 2331 [main] PA4 2768 open_stackdumpfile: Dumping stack trace to PA4.exe.stackdump [/quote] Function [code] void BinarySearchTree::Insert(int val) { BSTNode *node, *p; cout<<node->GetLeftChild(); cout<<node->GetLeftChild(); p=root; node->setData(val); node->SetLeftChild(0); node->SetRightChild(0); if(p==0) { … Software Development c++ | |
[CODE]#include <stdio.h> #define CALORIES 150 #define WEIGHT 15 int main() { double beer; double money_spent; double total_spent; double total_beer_consumed; double total_calories_consumed; double weight_gain; printf("On average, how many beers will you consume each day?\n"); scanf("%lf\n", &beer); printf("On average, how much will you pay for each can of beer?\n"); scanf("%lf\n", &money_spent); // … Software Development c | |
hi guys i would like to ask how do I subtract a value from my column Quantity(data type is integer = 18) in my inventory table if a customer will want to have 2 orders and of course 18 - 2 will be 16. how will i do this? please … Software Development vb.net | |
Hi there, I am creating a cinema booking system for my assignment, I have used filewriter to create my file called Movie.txt, i have 3 string one (title, director, info) i would like that my file display in a JtextArea, any help how to do. i have my menu bar … Software Development java | |
Hi guys! I can not deal with the problem "Singly linked list to store integers". Can you give an example or to recommend books, where can I read about it. Thanks for your consideration. Software Development linked-list | |
Hi I am new to Fortran and am getting the below error when I try and compile using ifort 100.f90 [QUOTE] /tmp/ifortN2Zshv.o: In function `MAIN__': 100.f90:(.text+0x25a2): undefined reference to `zgesv_'[/QUOTE] I am not sure how to correct this and cannot find anything in my searches so any help would be … Software Development | |
hi, i have 2 buttons in form1 -> btnAdd -> btnDelete clicking one of these buttons will open the same form (form2). In this form i have 2 methods. -> Add -> Delete Depending on which button is clicked one of the methods will work. How can i no what … Software Development | |
i amconfused that which layout do i used for placing noumber of panel in Frame in following ways 1) first variable lenght(heigth) with is fixed to width of frame 2) second panel in similar fassion 3) third panel in similar pasion and so on Software Development java | |
Hi all, i am writing a program which displays the data from the file on the applet. but i m not able to do it. I think we cannot access files through applet due to security reasons. is there any alternative to do this? Software Development file-system java | |
After i have read in a data arranged in two columns, separated by white space characters and comprised of M = 1001 rows(where the data may be considered ordered pairs of points x and y), how do i use linear regression to find the equation of a line that best … Software Development c++ | |
Help me guys..im trying to make event handling for button "Report" to display Value and Result on another window... i dont know what the problem...~ help me guys.. and can someone teach me how to do the meter to kilometer if i press "Convert" button.. p/s : sry for my … Software Development java java-swing | |
i googled for awt learnings then found a thread that awt is not necessary, you can directly go to swing. then i started swing, but i can't underdtand it that easily. now i know the very basic in swing, will you please help me to increase my accuracy by giving … Software Development java java-swing | |
im trying to learn pointer n the &(no idea the specific name for it); so my question is.. im passing the memory address of P to changePTR, why p is not taken the address of o(lets assume o is dynamic allocated), or even i want to change p to NULL. … Software Development c++ | |
[COLOR="Green"]membership desc=silver,gold,platinum[/COLOR] [COLOR="Red"]fine_per day=30,20,10[/COLOR] from book_due date and returned_date as number of days in which fine is added to get the fine............ how this can b [COLOR="Red"]done in c#[/COLOR] i think the calculation is done as(book_due_date)-(book_returned_on)*30 or 20 or10 how to do all this in c# to get fine in … Software Development | |
Guys thanks in advance , Im actually stuck with this project I'm working on now , The thing is that its a asp.net project coded in vb users will upload texfiles which might include images, and what I'm trying to do is to convert those texfiles into pdf and storing … | |
Hey all, I'm new to VB.NET, and to programming altogether actually, and I need some help. I am making a program which stores the names and test scores of five students collected from input boxes into a two dimensional array; displays the data in a list box (student names in … Software Development file-system vb.net | |
So, I've been learning DirectX10 and have had alot of questions... I'm sure i've frustrated about all the people that are willing to help me with my DirectX problems (Sorry about that) but now i have a new problem. I have some source code that i downloaded from a site … Software Development api c++ windows-api | |
Hi, I am using windows application in c#. In one form their is two Richtextbox i want to save these richtextbox value as encrypted format in sql server and again displayed by decrypting it. Can anybody help me... Thanks in advance Software Development | |
Hello. I'm currently making a program that deals with a priorityQueue and inheritence/polymorphism. Student -> undergrad -> coop_student or student -> grad Now, the queue takes in the data and just puts it in a linked list and gives it a priority. That way, there are 3 queues and we … Software Development c++ linked-list oop | |
im having hard time to get the output of the the ff. data: name of smallest pet, name of largest pet, name of the oldest pet, name of the youngest pet, average weight of five pets and average age of the five pets? this is what i did import java.util.Scanner; … Software Development java | |
pls help me. i have got a school project to make a program that generates a shopping bill and shows the present stock at end of bill. also 1.the user inputs only the quantity and product code(thats where i am facing problem to feed the product codes in my program … Software Development c++ | |
hi, im working on josepus problem but this programe is not working well it is working in unlimited loop any one can point out the mistakes????????? #include<iostream> using namespace std; class node { private: int object; node *nextnode; public: int get(){return object;}; void set(int object){this->object=object;}; node *getnext(){return nextnode;}; void setnext(node … Software Development c++ | |
Hello, I am making a program where you are entering 2 numbers which should be product AND sum of other 2 numbers. The program then outputs what are the other 2 numbers. For example if I enter sum 13 and product 22 the program will output 2 and 11. But … Software Development c++ | |
For some reason it just jumps to the else statement instead of going to if and elif. Any input would really be apreciated. [CODE]a=raw_input( "What is your name: ") b= int(raw_input( "What year were you born: ")) c= int(raw_input( "What year is it now: ")) print "Hello",a,"you are",c-b,"years old." class … Software Development python | |
Hi! I need some guidance on this project. I wrote most of it, but i would like to improve my code by implementing more functions, and im open to hear suggestions on my code. My main concern is, every time the user picks one of the drinks it should subtract … | |
[code]// header moduleinjector - header for class moduleinjector itself // as well as "core" moduleinjector-related functionality namespace Injection { class moduleinjector {...}; ... // ... = core related functionality e.g. non member functions almost all clients need ... } [/code] when you construct a moduleinjectior object you must pass in … Software Development c++ | |
Hello, I've written a fairly simple program to print a string in a window...But my Java compiler (JGrasp) will not compile it. It says: JDemoGraphics.java:7: cannot find symbol symbol : method String(java.lang.String) location: class JDemoGraphics String companyName = String("Event Handlers Incorporated"); ^ I've checked my capitalization, run a debugging program, … Software Development java java-swing | |
Hi, I have a value in a string variable in java, and I want that string to get print using a printer. Please help me.. | |
Hi, I am writing an FPS game in C++ using OpenGL. I am trying to write the crouch system but I want to make the crouch more smooth. At the moment you press the crouch key the character immediatly moves down. Here is the code: Crouch Down: [CODE] entity[0].crouching = … | |
Dear knowledgeable ones. I started on a project to be able to use a smart card and a smart card reader in order to limit access to a program. I had some sample code written in Visual Basic, and wanted to translate this to Delphi instead, something I think I … | |
Hello, I've finally come to a point when I want to send my program over to some people to test, however, I've run into problems on that. This is my first time writing a program in managed code(C++\CLR), and so far, all I had to do was pack the redistributional … Software Development c++ | |
Hi guys its me again i have another problem this is related on my previous topic which is making a label during run time. Now that i have learned how to make a label at run time i also made a textbox during run time which is the same concept … Software Development visual-basic | |
Hi there, I have a really quick question about a shuffling and dealing cards program I found in a book. here's main: [CODE]// Fig. 8.27: fig08_27.cpp // Card shuffling and dealing program. #include "DeckOfCards.h" // DeckOfCards class definition int main() { DeckOfCards deckOfCards; // create DeckOfCards object deckOfCards.shuffle(); // shuffle … Software Development c++ |
The End.