132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for troupm

My brain hurts again. I want to take a collection of PointF objects and crate a path that is the outer perimiter of the collection, so that I don't get a criss-cross problem. I'm assuming no wierd shapes with undercuts; just a collection of 'border' points. The best I could …

Software Development vb.net
Member Avatar for kvprajapati
0
179
Member Avatar for Olliepop

Hey guys :) I have been working on an MMORPG for the sole purpose of education recently because i want to start computer science at University in a couple of years and be really prepared for it (i'm only 17 this year) So far i have basically all the networking …

Software Development client-server data-science java
Member Avatar for Olliepop
0
106
Member Avatar for akssps011

I am using VB6 and MS Access for my project. I have to make a printable page to print slips(8 on 1 page) with attributes name, id etc to be retrieved from the database for each slip. how should I approach for this? Is there any tool in vb for …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
73
Member Avatar for loststudent88

Hello I am working on a program and have become pretty confused... I am supposed to write a program that will convert html colours expressed as 6 hexadecimal digits to their individual red, green, and blue components expressed in decimal. If anyone can help me out with some pointers of …

Software Development c++
Member Avatar for mrnutty
0
322
Member Avatar for Whoever90

I need to code a program that input will be any random string and the the output will include processes, unprocessed string. EX: Input String : XYZZXXYYXYZZXYZ Unique Prefixes : ['', 'X', 'Y', 'Z', 'ZX', 'XY', 'YX', 'YZ', 'ZXY'] Encode List : [(0, 'X'), (0, 'Y'), (0, 'Z'), (3, 'X'), …

Software Development python
Member Avatar for Whoever90
0
188
Member Avatar for megmar

I am looking to take a course in C++, but is that language popular now, or is everything more C? Please advise.

Software Development c c# c++
Member Avatar for kendricktamis
0
110
Member Avatar for papamutz

EXAMPLE if i input like this " int a; " or " a+b-c=d " then the output must? OUTPUT : int = CHARACTERS a to z = VARIABLES ; = TERMINATOR 1 - 0 = NUMBERS + - * / ( ) = OPERATORS = = EQUAL

Software Development visual-basic
Member Avatar for vb5prgrmr
0
75
Member Avatar for kikat

I need to print the level order traversal of an AVL tree. I know how the idea works using a queue: enqueue the node, and then enqueue the left and right nodes of it. every node has a int data which needs to be printed but then the thing is …

Software Development c++ queue
Member Avatar for mrnutty
0
117
Member Avatar for Stefano Mtangoo

Hi, I'm finding generic container like vector but that can hold any variable just like a Python list. Thanks

Software Development c++
Member Avatar for Stefano Mtangoo
0
87
Member Avatar for k1robert

Hi i'm creating my Data Access Layer and I want to return my object but not all the fields so this is the code i'm using [CODE] Public Function BasicSearchProposals(ByVal searchvalue As String) As IEnumerable(Of DCProposal) Dim dc As New PPDataContext() Dim proposals = From p In dc.DCProposals _ Where …

Software Development asp.net user-interface vb.net
Member Avatar for kvprajapati
0
1K
Member Avatar for cabsjonel

gud evening to all of u folks folks im so stessed right now cause i have only two days to pass my project in vb6 which is a lending system my big problem is i dont know how to link my customers in formation table and payment table can you …

Software Development visual-basic
Member Avatar for kinwang2009
0
86
Member Avatar for lee.j.baxter

Hi, I've worked with the Speech API in the past (VB6), and I'm now looking to use it in my project. For those who haven't read previous posts of mine, I'm developing an AI system in C#/.NET which learns from the internet. Well, I'm going to say I told a …

Software Development api c# oracle
Member Avatar for kvprajapati
0
207
Member Avatar for DarkC0de

hi when I use this with my program i have msg tell me about the warning in my program please any one explain it thanks

Software Development c
Member Avatar for UncleLeroy
0
1K
Member Avatar for blakenbama

Hello everyone, I need help. In my assignment i have an input file that contains string data: ----> i love music and chicken. today is the first day of the rest of your life. my name is john. I must change it to the following in the output file: ----> …

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
144
Member Avatar for elainadani

I need to create a function that uses a loop. This function will open a text file and then must be able to skip a variable number of leading random integers. The program must be able to handle any number of leading random integers. Example if the opened file reads …

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
152
Member Avatar for fuyuki

Hi, I'm new to this forum. I have a question regarding outputting to .txt file. [CODE]while($file =<DNAFILE>) { open FILE, ">newseq.txt"; my $dna = fasta($file); my $newseq = mutationdna($dna,$years); print FILE $newseq; #this does not work. how do I fix it? print $newseq; # this work }[/CODE] The outputting to …

Software Development file-system perl
Member Avatar for fuyuki
0
125
Member Avatar for clutchkiller

Why are you able to declare them using the class keyword or typename keyword? Is there absolutley no difference? Thanks

Software Development c++
Member Avatar for mrnutty
0
125
Member Avatar for Tech B

I downloaded a dll for head tracking, and have been trying to use it for some time now. I am trying to make a python script that uses it and am getting errors. [URL="http://www.daniweb.com/forums/thread265466.html"]This is the post.[/URL] I posted it in the python forums, and no replies yet, since this …

Software Development c++
Member Avatar for Tech B
0
111
Member Avatar for jjmy95

I have an array of 20 elements with numbers between 1 and 8. I need a for loop that will give me the number of elements greater than 1???

Software Development c++
Member Avatar for Grn Xtrm
0
141
Member Avatar for Tech B

I've been working on facial recognition and have obtained a dll that can recognize faces in an image, and gives cordinates aswell. It came with an example program written in C++ and I'm trying to port it to python. Here is the C++ code [CODE] #include "windows.h" #include "loadbmp.h" // …

Software Development python
Member Avatar for Tech B
0
457
Member Avatar for rgpii

I have an assignment that calls for me to only use standard C. I am currently trying to take in input from a file using fopen() and then take in lines from the file using fgets(). The original problem was that fgets() quits taking in input after six lines. "Something" …

Software Development c
Member Avatar for rgpii
0
192
Member Avatar for csurfer

Hello Everyone, I am developing a kernel module which acts as a sniffer and also a module which edits the TCP packet window size as per requirement of the admin. And in the process I developed this kernel module which is tainting my kernel (Opensuse11.2).The sniffing module developed by me …

Software Development c linux-kernel tcp-udp
Member Avatar for nezachem
0
299
Member Avatar for ChargrO

Hello, im currently working on my major work and im up to the stage where i want to implement a cascade menu into my window. i have differnt buttons on my window but i want the food options to pop down in a cascade menu and not a check menu, …

Software Development python tkinter
0
140
Member Avatar for ceyesuma

Having problem setting JTextFields on a passed object. System.out suggests that all parameters are correct. Am I working with the KeyCards Object wrong? (keycards just builds Panel and components) netbeans project attached. The problem to be solved is in the keycards package. XMLReaderProgressions.java and FillJTextFieldsFromGetters.java Every part of this code …

Software Development gui java java-netbeans
Member Avatar for ceyesuma
0
88
Member Avatar for KiltedScot

This seems to be a common error, but I can't quite get it fixed in my case. The basic operation of my database / form is: Get search value Retrieve record Display record The form has two combo boxes and several text fields. Each of the combo boxes allows the …

Software Development visual-basic
Member Avatar for KiltedScot
0
246
Member Avatar for Flow2

Now I am on my way to making a little command prompt program where it types out the alphabet and removes the vowels as a test. BUT, here's the thing, no errors nothing but it doesn't work. Anyway here is the code if anyone can tell me what is wrong …

Software Development c++
Member Avatar for Flow2
0
152
Member Avatar for ajjg123

Here is the prompt for my assignment Your third assignment is to write a C++ program that will print out the primes numbers between 2 and 100. However, you must use two functions in your program. The first function, factor, takes an int, n, and returns two factors of n …

Software Development c++
Member Avatar for Lerner
0
147
Member Avatar for ticktock

Hey all I am currently practicing my error handling processes and am having trouble filling up a combobox with a list of all the countries so that the user can choose what country they are located in. What I am creating is something like a registration form. I found an …

Software Development algorithm
Member Avatar for Diamonddrake
0
263
Member Avatar for 'AnKo

Hello all! This is my first post to community! I've been writing a program in C++ (not MFC) to get a NTFS ADS file and copy it to desktop. If you don't know what ADS file is, you don't really have to matter, let's say that this program must just …

Software Development c++ ios open-source
Member Avatar for 'AnKo
0
325
Member Avatar for Nicky4815

Hi all, I'm doing a 3d pacman game for a university project which has to be written in c++ (3rd year and having never been taught any c++) My problem is that when I initialise the map array I cannot return the value back to the main method. The values …

Software Development c++
Member Avatar for Salem
0
105
Member Avatar for aravinda reddy
Member Avatar for Clawsy
0
100
Member Avatar for Candi~

Hi everybody, my name is Candi and I am new here, I was lucky enough to find this forum. I am new to C++ and am teaching myself because I can't afford school at this time, all I can afford is second hand books :( and I am having a …

Software Development c++
Member Avatar for Fbody
0
141
Member Avatar for bluerosebuddha

Hello, Can someone break down what this array loop means exactly? Mathematically I can't make any sense of it. I've reread this section of my book multiple times, but it's not sinking in. [code] int alpha[a]; int j; for(j = 0; j< 5; j++) { alpha[j] = 2 * j; …

Software Development c++
Member Avatar for M.FARAG
0
149
Member Avatar for endframe

Hello all, like always : D I'm working on a structure program that has an array [B](m)[/B] that asks the user to enter its values, and then it transfers the even numbers to an array [B](even)[/B] and the odd to another [B](odd)[/B]. Both[B] (evan)[/B] and [B](odd) [/B]arays are in a …

Software Development c++
Member Avatar for endframe
0
118
Member Avatar for __qwerty__

I need to check if a float number has decimals or not. This is what I've tried to do this far but it doesn't seem to work. What am i doing wrong, is there a better way? [CODE] n =[1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0] a = [1.5,2] b = a[0] for i in range(len(n)): …

Software Development python
Member Avatar for __qwerty__
0
150
Member Avatar for theonlywalks

Hey everyone, I have a simple simple problem that is literally driving me insane. Basically, I have a database of numbers seperated my spaces. I just took a segment of my code because I am soooo completely lost with the output!! If the database is: 1 2 3 9 7 …

Software Development c++
Member Avatar for Dave Sinkula
0
133
Member Avatar for DemonGal711

This is my first java code so needless to say I don't know a lot about this. I think I have it all coded correctly but I don't know how to test to verify that it works. The assignment (found [URL="http://media.pearsoncmg.com/aw/aw_kurose_network_3/labs/lab2/lab2.html"]here[/URL]) wants us to actually send a message once we're …

Software Development java
Member Avatar for BestJewSinceJC
0
200
Member Avatar for rohit_var

i want to make a project on Lan Messenger. but unable to get information of how it works i.e. transfer file, send message.... help me out!!!!!!!!!!!!!!!!!!:confused:

Software Development java
Member Avatar for jwenting
0
82
Member Avatar for tom384

Hi guys, I'm having trouble using a pointer to a vector<float>, it doesn't seems to be responding as I'm expecting it to. Probably a silly mistake on my behalf, but would anyone kindly point it out please. [code] vector<float>* t_matrix; ... cout << "get_t_matrices 0: " << Character::anim.get_animations()[j].get_t_matrices()[0].size() << endl; …

Software Development c++
Member Avatar for mattjbond
0
197
Member Avatar for jakesee

Hi, May I ask what is the correct syntax to achieve the following function pointer pattern? I keep getting error C2064: term does not evaluate to a function taking 0 arguments Thank you. [CODE] class Apple { public: Apple(int i) { if(i == 1) { juicer = &Apple::one; } else …

Software Development apple c++
Member Avatar for mattjbond
0
149
Member Avatar for Index

Hi! I would like to split vector elements into the two vectors. One output vector shall contain elements that, for instance, are odd, and another output vector shall contain even elements (actually the case is more complicated;). I wrote something like this: [CODE] typedef vector<int> ItemVec; static bool isOdd(const int …

Software Development algorithm c++
Member Avatar for Index
0
2K
Member Avatar for gmxwilliam

Hey guys, I'm a newbie here and also to Perl.I have a similar but difficult question than a previous question here. [url]http://www.daniweb.com/forums/thread245502.html#[/url] I have a output file containing atoms like this: #F A 1 1 1 3 3 2 #C number type mass x y z vx vy vz Epot …

Software Development perl
Member Avatar for d5e5
0
133
Member Avatar for ticktock

I am currently creating a registration form and it contains error handling processes for the text boxes, like certain characters are only allowed in a certain textbox and so on. So for my first try I tried creating an algorithm that will check if the user only enters letters from …

Software Development algorithm regex
Member Avatar for ticktock
0
180
Member Avatar for templersstorms

Ok, so I am loading data from an XML file into a dataGridView. I have several entries in the XML file and would like each one to create a button next to it. After some searches it looks like I either have to put it in a <code> or <c> …

Software Development c# xml
Member Avatar for templersstorms
0
102
Member Avatar for llemes4011

Hello, I'm working on a specific classloader for my application, but I'm having trouble getting the Generics to work the way I would like them too. I have the following: [code] public interface Loader<E extends GEObject>{ // methods } public class GEClassLoader<E extends GEObject> extends URLClassLoader implements Loader<E>{ // methods …

Software Development java
Member Avatar for ~s.o.s~
0
354
Member Avatar for LiquidScorpio81

I'm trying to use for loops to output: 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1 public class Fit1 { public static void main(String args[]) { int side1,side2, side3; for (side1 = 1; side1 <= 3; side1++) { for (side2 …

Software Development java
Member Avatar for stevelg
0
96
Member Avatar for mischikun

I'm having a bit of a problem with a group project. We're supposed to use linked lists in it and I've already created classes for the nodes for the linked lists. The only problem is that I need to make the class point to itself but I'm not sure how …

Software Development c++ linked-list
Member Avatar for Murtan
0
183
Member Avatar for Dmith

how to deal with awt and swing component in java .error is produced when i compare the swing component so what i do for solving it;

Software Development java java-swing
Member Avatar for javaAddict
0
105
Member Avatar for HelloMe

Hello everyone... I have 2 questions and it would be great if you guys can help me on these. I wrote a factorial program and it works already. The problem is when it comes to higher outputs. For example: 11 P 5 = 55440 // this works so far but …

Software Development c++
Member Avatar for MyrtleTurtle
0
84
Member Avatar for savvas15

hey guys! i am new to c++ and i need help with the following code. we are suppose to write a program and check if a word is palindrome or not. [CODE]#include <iostream> using namespace std; int IsPalindrome(int []); void main() { char word[25]; cout <<" Enter a word: "; …

Software Development c++
Member Avatar for savvas15
0
98

The End.