199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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'), … | |
I am looking to take a course in C++, but is that language popular now, or is everything more C? Please advise. | |
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 | |
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 … | |
Hi, I'm finding generic container like vector but that can hold any variable just like a Python list. Thanks | |
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 … | |
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; … | |
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 … | |
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) … | |
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 … | |
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 | |
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: ----> … | |
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 … | |
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 … | |
Why are you able to declare them using the class keyword or typename keyword? Is there absolutley no difference? Thanks | |
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 … | |
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??? | |
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" // … | |
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 … | |
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 | |
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" … | |
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 … | |
![]() | 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, … |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
I want to Copy Whole Word document Content to XML in C# | |
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 … | |
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 … | |
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; … | |
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 … | |
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)): … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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: | |
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 … ![]() | |
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 … ![]() | |
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; … | |
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 … | |
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 … | |
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 … |
The End.