199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sammer021486

I need some help with developing a breadcrumb trail/menu. I am currently using php scripts to call my menu to the currently viewed page. Due to my menu being so large and wanting to keep all of the content on one screen size, without using vertical scroll bars. I have …

Member Avatar for sammer021486
0
1K
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'), …

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.

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

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 …

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

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 …

Member Avatar for kvprajapati
0
1K
Member Avatar for lisles

hey,can any1 tell me what im doin wrong here.im trying to upload a pdf file but the file is not gettin uploaded.here's my code [code=php] <?php require_once "../inc/functions.php"; sessionCheck(); session_start(); $old_sessionid = session_id(); //i've added these lines session_regenerate_id(); //i've added these lines $new_sessionid = session_id(); if($_POST['submit'] && $_FILES['txtFile']['name']){ global $uploadPath; …

Member Avatar for lisles
0
97
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 …

Member Avatar for kinwang2009
0
86
Member Avatar for jonyetter33

I'm attempting to create a form that will eventually take user submitted information to create a pdf and email it to them with a pdf attachment. I got through making the form, and how I've been getting the information from page to page (its about a 4 page little form) …

0
79
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 …

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

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

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 …

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 …

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

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 …

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

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" // …

Member Avatar for Tech B
0
457
Member Avatar for xXxWiredxXx

im newbie on MySql... im trying to migrate my DB(MsAccess) to MySql.. i have this sql statement on my MsAccess [QUOTE]SELECT MI.MIDate, MI.WIStockNo, Month(MI.MIDate) & ", " & Year(MI.MIDate) AS Period, MI.MIStockName, MI.MIUnitM, MI.MIRequired, MI.MIUpdated, MI.MIBCQ, MI.MITo, MI.MISection, MI.MIPurpose, MI.MIJobNo, MI.MIItemNo, MI.MIEncoder, MI.MIRequisition, MI.MIStockman, ([MI.MIRequired]*[WItems.WIAmountUnit]) AS TotalReqAmt FROM WItems INNER …

0
75
Member Avatar for s_kanika

Hello everyone i'm new to daniweb and php also. i need help. I want to send sms alert to my customer when he fills a form just like email alert from my website Can anyone help me. Thanx a lot in advance

Member Avatar for vsmash
0
78
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" …

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 …

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

0
140
Member Avatar for grisha83

Hey guys, I am trying to do the basic :hello world" in PHP When i compile the code, my browser doesn't display "hello world" it is giving me an error: "You tried to access the address [url]http://localhost/PhpProject1/index.php[/url], which is currently unavailable. Please make sure that the Web address (URL) is …

Member Avatar for diafol
0
221
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 …

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 …

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 …

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 …

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 …

Member Avatar for Diamonddrake
0
263
Member Avatar for SKANK!!!!!

i have a dirctory full og images starting from 1.png to like 55.png not skipping a number. im going to keep adding to the directory in consiquative order. how do i have an image show on a page and then it get clicked on and then it turns to the …

Member Avatar for essential
0
155
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 …

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 …

Member Avatar for Salem
0
105
Member Avatar for aravinda reddy
Member Avatar for sutt0n

Ok, so basically I want to be able to do this. I have it all down from obtaining the content from the e-mail and saving the attachment, but when I save the file's content into a file (permissions aren't a problem, as you'll see in the code) it doesn't show …

0
157
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 …

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

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 …

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)): …

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 …

Member Avatar for Dave Sinkula
0
133
Member Avatar for SKANK!!!!!

[CODE]$arr = array(1 => "rambow", 2 => "rambow", 3 => "popcorn", 4 => "rambow");[/CODE] how do i make it in simpler format so i dont have to keep typing "rambow" for every number that => "rambow" ? cause theres a lot of "rambow" for a whole bunch of numbers. isnt …

Member Avatar for OS_dev
0
121
Member Avatar for aideveloper

I have a Dropdown with two values "P" and "Q" with AutoPostBack= true. I have another Custom WebControl called BDTextBox, this custom textbox have a Boolean property called LabelMode , on setting it to true would render the textbox as label.This LabelMode Property is set using ViewState and not using …

Member Avatar for aideveloper
0
103
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 …

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:

Member Avatar for jwenting
0
82
Member Avatar for andydeans

hi, i added a css code to transform the text of my input form however it only displays this and inserts lower case into the database rather than first letter being capitalized. i looked at the phpstrtoupper, however how would i use this in my input form to change it …

Member Avatar for diafol
0
125
Member Avatar for Mujahid158

How can I set a time limit for a user to stay on a web page. Let me explain it to you; Let suppose I've two web pages, page-A and page-B. When the user is on page-A, he needs to stay at this page for 30 secs before going to …

Member Avatar for diafol
0
98
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; …

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 …

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 …

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 …

Member Avatar for d5e5
0
133

The End.