199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ubi_ct83

hi, lets say i have 2 classes 1 is to process the data and another 1 is to connect to mysql. P.java to process the data and Connection.java to connect to mysql.i use JDBC to connect and pass the data through constructor P way=new P(String side).after process the data, i …

Member Avatar for ubi_ct83
0
103
Member Avatar for Phinisher

How do I appropriately go about resetting where the pointer is in a file? I was under the impression that I had the correct way, but my code is not properly functioning. I need to do a character count, word count, line count. Which ever function I run first returns …

Member Avatar for griswolf
0
110
Member Avatar for anirban1087

Hi, I am working on a project where I have to deal with hierarchical data. The data looks like Member-1 | --------------- | | member2 member3 |---------------| | member4 member6 ---------------- | | member7 member5 I have searched a lot to find a good solution to store this data, but …

Member Avatar for anirban1087
0
107
Member Avatar for Awah Mohamed

hey people i want to create a vedio chatting i know how to create a php/mysql chatting but i dont know how to create a vedio chatting do i need to learn another lamguage or php is okay. will i need flash?? how can i acccess the webcam from a …

Member Avatar for Awah Mohamed
0
109
Member Avatar for vienne

[B]I'm having a problem with my sorting algorithm. before I made quick sort which used insertion sort, but I don't want to use this insertion sort. I want to use recursive algorithm. Also, I want to get new idea, so If you know any quick sort algorithm, reply for me.Please~ …

Member Avatar for shashankc
0
268
Member Avatar for mith_cool

hi, am working on a project called online store using java. For the navigation menu bar i used javascript in a jsp page. The problem is am unable to see the image in navigation bar. Since i have no thorough knowledge of javascript please rectify me.Here is my code [CODE] …

Member Avatar for skald89
0
127
Member Avatar for megaLU

Hey, My code was working great yesterday. I go to submit it and it's got this new error out of nowhere! It is 'class std::vector<long double>' has no member named '_'. It says instantiated from the line [code] vector <LD> matrix; [/code] and then takes me to some code entitled …

Member Avatar for jonsca
0
2K
Member Avatar for irenejd

I have an electronic subscription to a newspaper and I generally download and print the puzzles for doing them later. Due to health issues, I'm behind about 6 months, but I'd like to catch up. I'd like a script to automate the download and save it to my PC. I'm …

Member Avatar for irenejd
0
151
Member Avatar for ubi_ct83

hi and good day to all, i have a problem with my data from the mysql. i have string data from the db and want to process in program(java app),but no out appeared.i suspect something is wrong with the input because, there is no problem if i run with direct …

Member Avatar for ubi_ct83
0
168
Member Avatar for LeMajestique

I am having trouble making this menu, I followed some instructions online but I can't seem to get it to loop back to the menu after I am done with a menu selection. Please Help! [CODE]#include <iostream> #include <string> #include <cmath> using namespace std; int main () { int choice; …

Member Avatar for LeMajestique
0
116
Member Avatar for jmaple

So I thought I had an understanding of pointers and references but I'm not sure whats going on with int*& x. Does this mean a reference to a pointer to an int? also what use does this have?

Member Avatar for jmaple
0
99
Member Avatar for Agent Cosmic

Hi guys, I'm learning PHP and MySQL now, so I did a simple forum database in MySQL Workbench. I hope you guys can check it out and point out anything I should that note of. Also I would appreciate it if you could share your learning resources (like blogs/tutorials, not …

Member Avatar for Agent Cosmic
0
240
Member Avatar for lius84

Hi all, I write because I am struggling with a very strange thing. I have this class: [CODE] static const long POINTS_VERY_FEW = 100; class Bin2DSphere { /*! Class for 2-dimensional binning on a sphere */ public: string Name; double PhiMin; /* Minimum value of Phi */ double PhiMax; /* …

Member Avatar for mike_2000_17
0
181
Member Avatar for Micksnothere

I have these for entities and can not come up with a simple ERD. The entities are: ChairPerson, Faculty, College, Department, Certification, University, Journal, Company. I need to come up with a relational database design in Visio. I don't know what Journal or Company exactly refer to and I can …

Member Avatar for Micksnothere
0
70
Member Avatar for waveydaveywaves

i've successfully developed a page where i can echo a `$_SESSION['SESS_MEMBER_ID']` and display the member id of a person who is logged in. however i need to display all the data of two mysql databases that are relational. $sql = "SELECT * FROM `members`.`players` WHERE `member_id` = 3 LIMIT 0, …

Member Avatar for waveydaveywaves
0
154
Member Avatar for gingank

Hi All, I want to ask how to remove unwanted character from string?? Can provide an example? Dim A As String A = "@AA@BB@CC@DD" If i want to remove @BB what method i should use? First i try to use instr to detect where the @BB but how to do …

Member Avatar for jhai_salvador
0
235
Member Avatar for JessieJ

Hello, before I ask anything THIS IS A HOMEWORK QUESTION! I know alot of people dont like to help with homework, however I have really tried on this and I still dont think I have it. Im not asking for the answer as I do need to learn it myself …

Member Avatar for Fest3er
0
119
Member Avatar for Lxyslckr

I'm trying to do four operations. Find the minimum including 0 # (working on) find the sum of the negative # (Think I'm done) Find the sum of the odd # (working on) How many positive #(working on) I need help on the sum of negative This is what will …

Member Avatar for Lxyslckr
0
92
Member Avatar for cjoyce
Member Avatar for Joe34

Let's say I have a huge variable called $file $file contains thousands of lines of html, css, javascript and more. But, I want to be able to find all of these link and edit them. I want to only edit the ones that don't have a domain name. Example: I …

Member Avatar for Joe34
0
184
Member Avatar for da10x

Hello people, I have an assignment to do and I have no idea how to do it. First: I have to modify this program to prompt the use for a word and display how many times that word appeared in the input file. When the user hits RETURN, the program …

Member Avatar for dynaflex
0
194
Member Avatar for javanoob101

Hello! I need to get some collision detection going in my code but I have no idea where to start! can anybody find out how to put this in? the detection will stop drwaing monstors if the bullet hits them [code] // The "SpaceShooter" class. //import java.applet.*; import java.applet.Applet; import …

Member Avatar for javanoob101
0
370
Member Avatar for MasterGberry

Ok, well I have done some research on this. And I have tried a few different methods, both seem to be giving me the same results, which must mean there is something else going on here that I am not understanding, or its just not working right. EDIT: This piece …

Member Avatar for MasterGberry
0
205
Member Avatar for Mr.BunyRabit

Hey there. So i have this database, that updates when i press the "update" button. Now everything works good, until you dont enter a value into the primary key slot. Now i know what the problem is, (you cant have that slot open). What i want to konw is what …

Member Avatar for Mr.BunyRabit
0
190
Member Avatar for tim8w

I have a DataGridViewComboBoxColumn that I allow the user to add new items to by typing in the ComboBox and hitting the 'Enter' key. That triggers CellValidating and I do the adding there by the following: cmbColumn.Items.Add(e.FormattedValue) All this works well, except that it leaves the DataGridViewComboBoxColumn blank. How can …

Member Avatar for tim8w
0
698
Member Avatar for martin11ph

I need a program that opens a sample program and counts the number of reserved words, operands and operators. Operands and operators are easy to distinguish. My problem is how do I determine the reserved words there? One solution I thought of is to create a separate text file that …

Member Avatar for mrnutty
0
154
Member Avatar for nocookies92

Recently, i found a book online that walks you through various elements of java game creation. The code from the book uses the java3D timer, so to compile the example programs, I had to download and install java3D. At Oracle's site, I selected WindowsXP as my OS and downloaded the …

Member Avatar for nocookies92
0
399
Member Avatar for ThatGuy2244

I am trying to make a win32 program which uses an array of data that then gets put on the window. That way I can do my drawing on the array and then bitblt it or something to the screen. How would I do this. Also how many bytes of …

Member Avatar for ThatGuy2244
0
126
Member Avatar for ThatGuy2244

I had tried to make a compare strings function in real mode assembly, but it didn't work, so I tried it another way and it did. It seems to me that both functions I wrote do the same thing yet one doesn't work. Can someone tell me why, the two …

Member Avatar for ThatGuy2244
0
190
Member Avatar for kchyn

Hi, I want to send chains of 12 bits of data through USB, but I'm completely new to USB programming. Say I type in "A", and it'll send 000000000001 or something like that. Basically, I'm wondering how you tell the USB port to send a 0 or a 1 in …

Member Avatar for pseudorandom21
0
3K
Member Avatar for wewehalim

Hi i have this code to build datagridview column. I will fill this coulmn with the data from another column (I have done it) But now, I want it so that the table property READONLY: TRUE and the column TOTAL_PRICE to have $#.00 format. Can anyone help me? Thanks [CODE] …

Member Avatar for wewehalim
0
165
Member Avatar for tiuwulf

Hi there, i've ran in a problem and made up an example code of my prob. [CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct mystruct { int a; }mytype; mytype* createMytype(int x) { mytype *mt; mt = (mytype*)calloc(1, sizeof(mytype)); mt->a = x; return mt; } int foo(mytype* mt) { mt …

Member Avatar for tiuwulf
0
91
Member Avatar for nambiajith

i am doing project bandwidth efficient video simulation in java. I set class path in jdk set classpath=%classpath%;.\\lib\\gif4j_pro_trial_2.3.jar; [Ljava.lang.String;@15151aa Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation p roblems: The import javax.media cannot be resolved The import javax.media cannot be resolved The import javax.media cannot be resolved The import javax.media cannot …

Member Avatar for peter_budo
0
577
Member Avatar for ftl25

Hi, Does anyone know of some code analysis tools (add-ins) for VB6? I used to use checkstyle and some other tools for Java, and am looking for something similar for our VB6 project. There is a huge codebase, and as I'm just starting out in VB coding, I'd like advice …

Member Avatar for IssamLahlali
0
1K
Member Avatar for winecoding

A C++ newbie question: I found the following function: [CODE]int &min(int &x, int &y) { return x < y ? x : y; }[/CODE] I am confused of the usage of “&”. Is that possible to re-write the above function as [CODE]int &min(int x, int y) { return x < …

Member Avatar for mike_2000_17
0
123
Member Avatar for RuneFS

Im currently in the need of some code metrics. Specifically Im in need of afferent + efferent coupling and Instability measures. I used to work with NDepend (on .NET platform) but I now need to be able to make similar measurements on a c++ project. If you don't know NDependt, …

Member Avatar for IssamLahlali
0
118
Member Avatar for antoniokp

I am totally new to posting here and dealing with Coldfusion. Hello ALL. I have an application built by a past employee over 4 years ago that is just now showing errors on a regular basis. I have tried to explore the files associated with the errors when I catch …

Member Avatar for arrgh
0
146
Member Avatar for somshridhar

Dear Sir, I am trying to print the string with the following code, but I am getting errors like Undefined symbol 'string' Undefined symbol 'str'. [CODE]#include<conio.h> #include<string.h> #include<iostream.h> void main() { string str = "My name is shridhar"; cout<<"What is your name"<<str; getch(); } [/CODE] I think the problem is …

Member Avatar for kernel>panic
0
4K
Member Avatar for theurbanist

Hello everyone, I'm trying to create a diagram of numbers as represented by asterisks. I'm taking an integer and turning it into a string of *. For example, for the value of 4, it'd be ****. For the value of 7, it'd be *******. Does anyone know of a way …

Member Avatar for JamesCherrill
0
118
Member Avatar for simpleonline123

Sounds really retarded but I'm wanting to create an application that when ran the user can create an instance of lets say a button by clicking on the button that I have drawn on the screen. It's going to be an application builder programs. What I need to know is …

Member Avatar for midimatt
0
113
Member Avatar for lit108

I have created a login system with some validation which all works fine, however I want to be able to create a session when the user logs in and then store this session information in a table that I have allready created. The table has the following values id ip_address …

Member Avatar for ice_k99
0
200
Member Avatar for Amoryethel

I'm creating a program that adds fractions together. That being said however, my program does not seem to be responding correctly. Everytime I run the client code, it outputs 18, when I want it to add 2/6 and 1/6. [CODE] // Constructor // public class RationalNumber { int num; int …

Member Avatar for JamesCherrill
0
163
Member Avatar for TheDocterd

Hi there I have a small problem. I have a datagridview on my winform. I also have a label that will display hours worked. What I would like to do is when I select a whole row in the datagridview, I want the label mentioned to display hours worked for …

Member Avatar for lolafuertes
0
123
Member Avatar for progurammaar

Hi there i need to create a fully functional website. Please suggest me a CMS that will help me do so. I mean joomla and wordpress are goo if you want to make blogs. Secondly, i would like to know how to send mails through php using local server and …

Member Avatar for chrishea
0
134
Member Avatar for hicman

hi every one I'm new and it really interesting what's happening here !! Well I'm a beginner in PHP , the problem is that when i use print_r($message) or echo in the same page where I call header I got this message [QUOTE] Warning: Cannot modify header information - headers …

Member Avatar for hicman
0
308
Member Avatar for vavazoom

I have a Matrix class and I am trying to overload the multiplication sign. It compiles without error and runs, however it does not display the matrix like it should. So I want to make sure the error is not in my overload operation. [CODE] public static Matrix operator *(Matrix …

Member Avatar for ddanbe
0
185
Member Avatar for mgonzalezwec

How do I specify the default SMTP host within Visual Studio 2005 or within a web project in Visual Studio 2005? I realize this can be done in the web.config file, however I don't want to do it at that level (I would rather it be done at the machine …

Member Avatar for mgonzalezwec
0
207
Member Avatar for harikrishna439

I have a problem with me.I'm unable to understand it.So I want from you the meaning and explanation of that problem below.I don't want program from you. ---------------------- A rectangle with sides parallel to the X- and Y-axes is specified by four real numbers a, b, c, and d. Assume …

Member Avatar for himam
0
137
Member Avatar for moni94

Hi. Let's say I have a method in a foreach statement, for example: [ICODE] foreach(string str in GetStrings()) ... [/ICODE] Does the method (GetStrings() in our example) get called once or once per iteration?

Member Avatar for Mitja Bonca
0
115
Member Avatar for blondie.simon

Hello I have an array of boolean data that I'm trying to display on the screen using 144 check boxes. Is there an easy way of updating all 144 check boxes with the data from an array and an easy way to update the array when changes are made to …

Member Avatar for blondie.simon
0
215

The End.