199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dedeltek

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 …

Member Avatar for dedeltek
0
159
Member Avatar for m_J

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.

Member Avatar for abelLazm
0
36
Member Avatar for mossa

I'm construted a php-class where I create and save some elements in an XMLfile. Outside that class I instantiate the class and save it in a _SESSION['obj'] if the session has not been created yet, otherwise I want to get the document back and add new elements to the XMLfile. …

Member Avatar for mossa
0
321
Member Avatar for Takafoo

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 …

Member Avatar for Takafoo
0
216
Member Avatar for xanawa

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 …

Member Avatar for xanawa
0
90
Member Avatar for sj5536

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

Member Avatar for sj5536
0
108
Member Avatar for Nfurman

Hi again, I need an professional advise how to implement dropdownlist in very professional way. So, my code is: [CODE] <asp:DropDownList id="ddlStudents" runat="server" CssClass="textbox" OnSelectedIndexChanged="ddlStudents_SelectedIndexChanged" AutoPostBack="true" EnableViewState="true"> <asp:ListItem Value="0">Choose</asp:ListItem> </asp:DropDownList> [/CODE] The rest of data I get from SQL DB. Is it the right way to populate the default value …

Member Avatar for Nfurman
0
103
Member Avatar for vishalbhavsar

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?

Member Avatar for JamesCherrill
0
118
Member Avatar for hawita

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 …

Member Avatar for ravenous
0
162
Member Avatar for TinyBelly

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 …

Member Avatar for JamesCherrill
0
132
Member Avatar for Chitru

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 …

Member Avatar for JamesCherrill
0
318
Member Avatar for Stefano Mtangoo

Hi, I have Object that performs not only registration/Login but also manages users after the log in. Does it make sense to store object of that class in session or I should only store userID on session and use that to Query DB? My Object will contain user details (Full …

Member Avatar for Stefano Mtangoo
0
110
Member Avatar for simransuri

hey! i need to create a customised table "Employee" in which i have to insert employeeid,employeename and salary...on inserting the salary,the table should automatically calculate Hra(10% of basic salary),DA(9% of basic salary) and hence calculate net salary...so...plz guide me...how to do this?

Member Avatar for smantscheff
0
102
Member Avatar for wildplace

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

Member Avatar for wildplace
0
96
Member Avatar for niketakapoor

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

Member Avatar for Mitja Bonca
0
116
Member Avatar for bshyama24@gmail
Member Avatar for deceivingrakesh

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 …

Member Avatar for deceivingrakesh
0
217
Member Avatar for triple_A

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 …

Member Avatar for triple_A
0
277
Member Avatar for Khoanyneosr

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 …

Member Avatar for LevyDee
0
264
Member Avatar for bhagawatshinde

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

Member Avatar for bhagawatshinde
0
188
Member Avatar for Rimojenkins

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 …

Member Avatar for LevyDee
0
266
Member Avatar for blackhook

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

Member Avatar for jon.kiparsky
0
288
Member Avatar for ishaan3731

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 …

Member Avatar for WaltP
0
168
Member Avatar for wilch

Hi All I am looking for a new language to learn and add to my language set that already contains PHP & C# in much depth. Ruby is one language i was thinking of learning. Can you guys please give me practical uses and/or applications that use/may use Ruby. I …

Member Avatar for snippsat
0
278
Member Avatar for Lioshenka

I have a basic CMS running, the three main files are cpanel.php, where the user clicks the "edit" button, this then opens pageeditor.php page, where the changes can be made to the document within an iframe and then the user clicks "save", the data gets passed to the saver.php saving …

Member Avatar for Akash Saikia
0
166
Member Avatar for atfOnly

I'm a totally beginner in javascript. i need some chunks of code of it. i have a form. i'm going to store the field into mysql. there are 2 conditions : one or all fields empty OR none is empty. when there's no empty field, the data will be stored. …

Member Avatar for Akash Saikia
0
512
Member Avatar for c++lover

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 …

Member Avatar for chrjs
0
114
Member Avatar for sergent

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 …

Member Avatar for sergent
0
126
Member Avatar for South

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 …

Member Avatar for South
0
116
Member Avatar for ebanbury

Hi I've been using mysqli and recently moved a website to a new server hosting company. They have recently informed me that the version of PHP they use does not support mysqli. I'm not really sure about the why/why not's etc but could I just change all instances of mysqli …

Member Avatar for ebanbury
0
141
Member Avatar for hous3aholik

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 …

Member Avatar for hous3aholik
0
177
Member Avatar for lochnessmonster

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

Member Avatar for mike_2000_17
0
127
Member Avatar for thedalek

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

Member Avatar for yancouto
0
216
Member Avatar for itsmeisuru

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

Member Avatar for jon.kiparsky
0
93
Member Avatar for jamesl22

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

Member Avatar for jamesl22
0
282
Member Avatar for Morten Brendefu

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 …

Member Avatar for pritaeas
0
824
Member Avatar for Whilliam

Hello guys, I have a very simple problem for you to solve. It's not simple for me but it's probably very easy to you guys. I've tried searching this but failed. Anyway, here is my problem. I have an image. When I call a function with onclick, I pass the …

Member Avatar for Whilliam
0
104
Member Avatar for KazenoZ

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 …

Member Avatar for KazenoZ
0
254
Member Avatar for androidz

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 …

Member Avatar for androidz
0
3K
Member Avatar for flynismo

The title is probably confusing, but here is what I am trying to do and failing miserably at: I want to display all the items from my db table named 'inventory'. Then, a user would select one item by clicking a 'Add to cart' image button. When the button is …

Member Avatar for flynismo
0
122
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
4K
Member Avatar for joomphp

[CODE]class manage { private $entryId; function __construct($entryId) { $this->entryId = $entryId; } function deleteEntry() { //delete $this->entryId from database } } $m = new manage(23); $m->deleteEntry(); [/CODE] how this method delete entry from db deleteEntry(); how sql query works with this please help to understand

Member Avatar for ariese
0
84
Member Avatar for never_rain

I am looking for a tutorial or advice wherein I can create a timer for my auction items. You can see those timers on the site like quibids.com The concept is like this. I post and auction and set an end time for the auction. When the auction is live, …

Member Avatar for ariese
0
233
Member Avatar for jenthevb

Hello, I have a problem with this script when i will check it in the browser, the output is : "Warning: mysql_query() expects parameter 1 to be string, resource given in C:\xampp\htdocs\doto\php\new_case.php on line 8 FOUT SELECT * FROM disp_type ORDER BY t_naam ASC Resource id #3" [CODE]<?php $host="localhost"; $username="TEST"; …

Member Avatar for ariese
0
423
Member Avatar for Dean_Grobler

Hey guys, I've taken on a project where I have to code an applet that gathers information and sends it to a database. The thing is though, that the client's website is being hosted by some other unknown company. I have the impression that in order for this to work, …

Member Avatar for masijade
0
370
Member Avatar for Sturdy

Hi all, I'm New to VB 6. I want to select a file from the directory like another applications. How i can do that?

Member Avatar for Sturdy
0
5K
Member Avatar for LanguidLegend

Hi, I was wondering if someone could help me with an issue I'm having in my code. [ICODE]#include <stdio.h> #define SZ 7 int* a[SZ]; int x, y, z; void populate() { x = 1; y = 2; z = 3; a[0] = &x; a[1] = &y; a[2] = &z; a[3] …

Member Avatar for csurfer
0
178
Member Avatar for moonL!ght

hi i want to be a web developer, im studing javascript right know but i didnt now how to studey it actually the book im using is awful any recomendation other that w3school thanks for any one that want to help me.

Member Avatar for Airshow
0
101
Member Avatar for Chubbymouse

Hi there, I have a very basic CMS system that I wish to update within itself and on the same page to cut down the amount of pages it gives me. At present I have a content box and an edit button, this box is validated by JS and if …

0
76
Member Avatar for wildplace

hi, i have the following codes, is there any way to check if the user entered a character instead a number? btw, i dont want to change the input type from long to char thanks =D [CODE] long input; printf("enter a digit to your list: "); scanf("%ld",&input);[/CODE]

Member Avatar for Narue
0
156

The End.