132,723 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for seemant gupta

i am unable to work with images and audio in net beans

Software Development audio java
Member Avatar for verruckt24
0
81
Member Avatar for shamila08

Hello! i got this code. However i'm really not familiar with memcpy function. Can anybody can show me the other way to write that code without using memory function? [code=cplusplus] void rightRotate (int k, int n) { char temp [2*MAX], *saveptr; saveptr = num+k; // cout << "k" << k …

Software Development c++
Member Avatar for StuXYZ
0
164
Member Avatar for bemo55

I just learned pointers in my computer science class and i am having a hard time understanding what they are used for. Are they absolutely necessary to use them when passing arrays from functions ect. or is it just a more efficient way of doing so?

Software Development c
Member Avatar for ArkM
0
109
Member Avatar for ozan

Hi, I am using Windows Vista as operating system and Microsoft Visual C++ 2008 Express Edition as an compiler. I need a matrix library.Could you suggest me any library that I will easily configurate and link with my compiler. For example I need to take square root of a matrix.Because …

Software Development c++ operating-system windows-vista
Member Avatar for ArkM
0
165
Member Avatar for zeiken

HI!!!I am new in java i would like to know sample program that counts the number of vowels of word

Software Development java
Member Avatar for stultuske
0
48
Member Avatar for barbz

/*this program counts the number of transitions and tranversion occur between two *genes when two DNA strings from a source file are compared using threading.*/ [code] import java.io.*; import java.util.*; import java.lang.*; public class Gacer021109{ public static Vector<String> DNA = new Vector<String>(); public static int cnt=0; public static void main(String[] …

Software Development java
Member Avatar for barbz
0
464
Member Avatar for smtareq

Hello everyone, Can someone kindly explain me what is the basic difference between python statements and expressions? I'm too much confused about them and cannot upgrade my knowledge about Python until I get a full grasp on them because they are everywhere! Some explanation with example may help me a …

Software Development python
Member Avatar for Stefano Mtangoo
0
224
Member Avatar for spanker1

plzzzzz help me on this java programming question? hello people.. can u plzzzzzzzzzzzzzzzzzzz help me out with this java programm. its due tmrw....... and i havent even get started on this program. i dont want to cheat .... actually some hints of how to do this program and a brief …

Software Development java puzzle
Member Avatar for stultuske
0
126
Member Avatar for Rabia Iqbal

Peace be on all the readers, i want to read a dbx file from Outlook Express in C++ or even in C#. But i dont know how to do this. Can anyone help me please !!!!!!!

Software Development c# c++
Member Avatar for Rabia Iqbal
0
114
Member Avatar for DJPlayer

asked to do something that is I suppose a little strange. maybe because it's out of the blue and never tried it before. Essentially take a .txt file and split it up into 4 files. (no criteria on size, readability etc.. etc. ) Just split it up.. give each a …

Software Development algorithm c++ file-system
Member Avatar for DJPlayer
0
118
Member Avatar for premsharma

hello nice help from this site, pls help me for program problem : C program to read a list of names ending on a '$'. Each name ends on '.' and contains maximum of 30 characters. our program must convert the format as indicated in the example below and print …

Software Development c
Member Avatar for csurfer
0
166
Member Avatar for planetPlosion

I am trying to make a 8 x 8 grid of boxes to manipulate for a matching game. I started with wxPython since I have no experience with pygame. I have it laid out with: [code] WINDOW_WIDTH = 1200 WINDOW_HEIGHT = 1200 class MainFrame(wx.Frame): def __init__(self): wx.Frame.__init__(self, None, title = …

Software Development python
Member Avatar for planetPlosion
0
477
Member Avatar for nandomendoza

Can anyone help me write a program in java that: Has a user enter their name then enter their last 4 weeks hours worked Then have it display the: -total hours worked -average hours per week -full time equivalent: 2 weeks 3 days 7 hours This would help me out …

Software Development java
Member Avatar for nandomendoza
0
94
Member Avatar for Stefano Mtangoo

(I have installed both MSDN and VC++ 2008 Edition How do I access MSDN? Thanks all

Software Development c++
Member Avatar for Stefano Mtangoo
0
94
Member Avatar for artemis_f

I am a complete beginner to python (I have only used it for a statistics class in the past). I want to develop a program that is kind of like [URL="http://en.wikipedia.org/wiki/FreeMind"]FreeMind[/URL] - it will allow the user to create Ishikawa diagrams for a particular purpose. So essentially I want the …

Software Development python user-interface
Member Avatar for Stefano Mtangoo
0
163
Member Avatar for mruane

I ask the user in my program to enter up to four types of income, with 0 filling the unused income slots. Then, the program is supposed to add up the incomes. It goes like this: user defines values for incomes 1, 2, 3 and 4. Program adds together the …

Software Development python
Member Avatar for gbrokaw
0
103
Member Avatar for rat1973

I wish to perform a sort of an XML document, and have the output be in the same structure as the existing document. The reason for doing this, is I need the resulting document to be transformed into a new document. My source XML is: [code] <?xml version="1.0" encoding="UTF-8"?> <Msg …

Software Development data-structure xml
Member Avatar for rat1973
0
152
Member Avatar for rat1973

I really need help in copying the root node. I have been spending far too much time on this, and I can't beleive that it should be that difficult. I can't use 'copy-of', as that will copy all the children as well. I need to copy the root node, and …

Software Development xml
Member Avatar for rat1973
0
195
Member Avatar for PoZHx

Ok, what i'm wanting to do is read a variables from another process ( not modify it ....just read it and output it) so e.g. test.exe: int main(){ int test = 1; return 0; } how would i write a program to read from the process (test.exe) and check what …

Software Development c c# c++
Member Avatar for PoZHx
0
99
Member Avatar for javaman2

i have a question on how i could calculate the overall score of the users input using five instance variables, three for three quizzes, one for a midterm and one for a final exam. the quizzes are graded between 1 and 10 while the midterm and final are graded between …

Software Development java
Member Avatar for Ezzaral
0
101
Member Avatar for tmoney7566

I am writing a 2-part program, a main program and a test program that figures the area and perimeter of a rectangle from an users input. I have my main program with no compile errors, but my test program has a couple errors and they both have to do with …

Software Development java
Member Avatar for Ezzaral
0
125
Member Avatar for drjay1627

I want to read a file character by character and add to an array. [code] while(!feof(inputfile)){ chKey = getc(inputfile); for(int i = 0; i<=51; i++){ chKey = enc[i]; } }[/code] Since there isn't like a add() function, how do you move the position by 1 and add something to an …

Software Development c
Member Avatar for drjay1627
0
107
Member Avatar for transplantedNYr

So the point of the other thread (java compiler) was I could not test any solutions I came up with at home for my next question. My assignment is to create a Binary Tree (done), and write the output to a file name (out.dat). The assignment is for one of …

Software Development java linked-list os-x
Member Avatar for ~s.o.s~
0
186
Member Avatar for infernojmd

so im making the project and there is two pictures one that shows a light bulb on and the other is off. ur suppose to be able to type ur name in a text box and it will display turn on the light, what u type and turn off the …

Software Development printer vb.net
Member Avatar for Teme64
0
1K
Member Avatar for drjay1627

The following is a project description of a project that I have to complete: Write a shell-like program that illustrates how UNIX spawns processes. This program will provide its own prompt to the user, read the command from the input and execute the command. Let the shell allow arguments to …

Software Development c unix
Member Avatar for drjay1627
0
148
Member Avatar for hybrid87

I get this error message while I'm trying to use copy constructor, I understand why the error message is showing but I don't know how to resolve it. #include <iostream> #include <iomanip> #include <fstream> #include <sstream> #include <string> #include <ctime> #include <cmath> #include <vector> #include <cassert> using namespace std; class …

Software Development c++ queue
Member Avatar for Freaky_Chris
0
191
Member Avatar for iansane

Hi, I have read about using sprintf and tried it but can't make sense of how it works. I have a double with the value 16.525 . I want to cout only 16.53 I also tried setprecision() and it just cuts off the 5 on the end which won't display …

Software Development c++
Member Avatar for vmanes
0
768
Member Avatar for axfv

I'm trying to get info about users in Active Directory using C++. In particular, I'd like to retrieve the EmployeeID property, but it doesn't seem to work. I know for sure one user has a value for the EmployeeID. If I look for FullName or LastLogin, I get the values, …

Software Development c++ client-server windows-server
Member Avatar for axfv
0
180
Member Avatar for haydenal

I have a start date and an end date and I'd like to know how many months that occurrence fell in. For example if my start date was 2009, 01, 31 and the end date was 2009, 02, 01 I'd like to calculate that the occurrence fell in 2 different …

Software Development python
Member Avatar for oldSoftDev
0
73
Member Avatar for En-Motion

I'm trying some code with classes but get these errors: overloaded member function not found in 'Point' 'Point' : no appropriate default constructor available [CODE]#include <iostream> using namespace std; class Point { public: Point(float f_x, float f_y, float f_z); private: float x, y, z; protected: }; Point::Point() { cout << …

Software Development c++
Member Avatar for En-Motion
0
1K
Member Avatar for vivekc++

[code=cplusplus] #include<iostream> #include<list> using namespace std; int main() { list<int> dob; for(int i=0;i<5;i++) { dob.push_back(i); } for(int i=0,list<int>::iterator itr=dob.begin();i<3;itr++,i++) cout<<*itr; return 0; } [/code] errors-- test.cpp: In function `int main ()': test.cpp:17: `iterator' specified as declarator-id test.cpp:17: extraneous `int' ignored test.cpp:17: `int list<int, allocator<int> >::iterator' is not a static member …

Software Development c++
Member Avatar for Ancient Dragon
0
174
Member Avatar for LinkMaster03

Using curses, how can I echo and capture input at the current cursor position? I have moved the cursor using scr.move(y,x) and turned on echoing. I can type into it and have it displayed. How can I capture this data as a string after the user presses enter?

Software Development python
Member Avatar for LinkMaster03
0
114
Member Avatar for parkes92

hi i need to know how to delete records from a flat file without emptying the whole thing anyone no how?????? thanks will be appreciated

Software Development visual-basic
Member Avatar for hkdani
0
147
Member Avatar for msalman

Hey everyone, I'm very new to c++ and need some help with overloading operator= for a polynomial class. Here's my relevant code: [CODE] // i can't change the method signature as it is required this way polynomial& polynomial::operator =(const polynomial& rtSide) { this->nullify(); // a method to reset variables polynomial …

Software Development c++
Member Avatar for StuXYZ
0
427
Member Avatar for zgulser

Hi, I have class X and class Y such as the following; [code] class X { ... void foo(); ... } ----------------------------------------------- #include "X.h" class Y { void hoo() { X myNewX; myNewX.foo(); } } int main() { X newX = new X(); } [/code] When I do this, it …

Software Development c++
Member Avatar for Ancient Dragon
0
122
Member Avatar for NenadL

Hello, i found your forum useful from time to time while i was an absolute beginner in C language. And i'd like to thank you all for that. Now i have a problem i don't have too much time to solve, so i was wondering if any of you guys …

Software Development c
Member Avatar for Ancient Dragon
0
377
Member Avatar for Jayrrus

[CODE] this is my program could somebody help plz #include <iostream.h> #include <string> using namespace std; typedef int ComponentType; struct CropType { string crop; string farmer; string color; }; CropType myCrop; struct TreeNode { CropType info; TreeNode* left; TreeNode* right; }; void Insert ( /* in */ ComponentType item); void …

Software Development c++
Member Avatar for ArkM
0
136
Member Avatar for Motvel

I need to do a project. How can i develop a keyboard driver in C & ASM? which book i should to consult. Its very helpful for me if i found material on internet. Please provide appropriate URL? The keyboard is connected through USB. if u can help me i …

Software Development assembly
Member Avatar for cuocthiseo01
0
148
Member Avatar for trelek2

Hi! I'm a newbie in drawing graphics with Java and have another problem with my traffic Jam simulation: At the end of the simulation the program should draw the finalA array as a series of filled/unfilled squares. All I get is a white window coming up:@ I will post all …

Software Development java java-swing
Member Avatar for Ezzaral
0
133
Member Avatar for Bidamin

Hi, I am trying to write a script that takes in a user inputed Excel file and adds/deletes/edits a row and re-saves it. Because xlrd and xlwt dont work together I am forced to combine them together and copy the xlrd workbook to an xlwt workbook. I am using python …

Software Development open-source python
Member Avatar for slate
0
809
Member Avatar for pspwxp fan

Hey wizeguys, I am using windows XP and have VC++ 2008. I can make a simple GUI window and write text and add menus and all that n00bish crap. I want to move further. Firstly, i atleast want to know how to change the color of the text that we …

Software Development c c# c++ gui
Member Avatar for William Hemsworth
0
194
Member Avatar for Alien15x

am i correct in assuming that when a computer behind a router with port forwarding opens a port (port 1337, when i run my server), that the router automatically notices and sets itself up to send all port 1337 traffic to that computer? i've got two simple applications, a client …

Software Development client-server python
Member Avatar for Freaky_Chris
0
971
Member Avatar for msshapira

Hi all, I have written recurisve pathfinding fuction from matrix[i][j] to matrix[x][y]. however, it's not returning the right values. It is supposed to return the minimal cost from 2 points using any possible path. all ".value" are the cost to use this Node all ".bestFromStart" are the max of long …

Software Development algorithm c
Member Avatar for nucleon
0
111
Member Avatar for amarsha4

Hi, Apologies if I'm missing something really easy here: I have a TabStrip with 4 tabs on my form. When the user is editing the information on one of the tabs I want to display a message box confirming whether the data should be saved. Here is what I have: …

Software Development visual-basic
Member Avatar for amarsha4
0
146
Member Avatar for trelek2

Hi! I'm really fed up with my program. I'm trying to write a JAVA simulation of a traffic jam. In the beginning the user inputs the length a of Road n (problem with the constructor) and the number of cars c. The Road is an object- simply an array filled …

Software Development java
Member Avatar for verruckt24
0
710
Member Avatar for MJV

Hi im new to C# and I have a form with customer data on it. There is a combo box with the customer name and some address fields. When I select the customer name I would like the address field to be automatically updated from the customer table. Can anyone …

Software Development
Member Avatar for JerryShaw
0
114
Member Avatar for lllllIllIlllI

Well this is probably a really stupid question but i was doing pygame tutorial and i dont know what a vector is and they keep talking about them, there were special vector classes and things like that, im rather confused, so if someone could teach me what a vector is …

Software Development python
Member Avatar for Ene Uran
0
131
Member Avatar for monkey_king

Hey, does anyone know if it possible to have something like [CODE] #DEFINE NUM_DEC 4 printf("This is your value:%.NUM_DECf\n"); [/CODE] thanks in advance

Software Development c
Member Avatar for Prabakar
0
98
Member Avatar for karthi_selva

hi, i need to add the information into the datagridview manually. i searched in google and books. they fill the datagridview by using Datasource method. but i need to add at compile time please share ur ideas.......

Software Development
Member Avatar for LizR
0
139
Member Avatar for karthi_selva

hi, i am doing a project using C#. i haven't much knowledge in C#. i stored some information in Dataset like named as (Table). i do't know how to collect the data from dataset(like Table) using DML (query). i do't know about the connection information. please kindly provide the notes …

Software Development dataset
Member Avatar for karthi_selva
0
195

The End.