64,152 Solved Topics
Remove Filter ![]() | |
Ok I need some fast help with this, I'm trying to get a regular expression to work with my file system. this is what i currently have, but it seem to crash on, boost::regex expr(regex); [code=c++]void show_files (const path & directory, bool recurse_into_subdirs, bool lSwitch, bool rSwitch, bool aSwitch, string … | |
I've come across an issue and for the life of me I can't figure it out. I need some serious help confirming if i'm thinking in the right way. But say I have 3 files. TableLayout.c Powers.c Powers.h Now TableLayout.c is a class that just takes a number from the … | |
Hi, can anybody tell me why finalize is not called in this example? I expect finalize to get called and write the file "final.txt". I do see this file if I call finalize explicitly (see commented out line in main). A Java VM will be started and stopped when I … | |
Hi everyone, I am new to PHP and I am not understanding some of it functions and rules on how to do things. I have a few questions but I will work on one at time so that I can understand and absorb the information giving to me. The problem … | |
I bound gridview with databse..property Checkbox -true . I have three columns roll,name ,roll. I want that on button_click, roll nos are displayed whose checkboxes are checked in gridview-- SOURCE TAB [code] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"> <Columns> <asp:TemplateField > <ItemTemplate > <asp:CheckBox ID ="chk" runat ="server" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField … | |
Hi all! I'm trying to compile some code where I use a trylock, testing its return against EBUSY. The problem is that it won't compile because gcc says: error: ‘EBUSY’ undeclared (first use in this function) I'm using pthread.h and -lpthread when compiling. I also tried to unistall build-essential, update … | |
Hey guys, this function is for rounding 2 decimal places, e.g. 1.2785 rounds to 1.2800. First, how would I alter the function so it would round 3 decimal places 1.2780, and second how would I truncate it so it would read 1.278. Thanks! [CODE]double roundIt(double x, double n) //Write definition … | |
I am trying to write a SQL update query for a database column containing an incorrect value. In the JobHistory table (whose primary key = JobID), the ModifiedDt column contains an invalid value, specifically it contains a value from a pickup stop, but I need to use the value for … | |
Hi, there I have some lines in a text file as 159 J=1661,3169,1679,3181 SEC=SLAB2 66 J=5597,5596,7523,7522 SEC=WALL1 How can I delete "SEC=SLAB2" or "SEC=WALL1" and modify the roginal lines into new ones, if I have RE functions 159 J=1661,3169,1679,3181 66 J=5597,5596,7523,7522 I am using and stuyding Python. Please forget me … | |
I saved a few stored procedures in SQL Server Management Studio. The default Save location, which I accepted, was C:\Documents and Settings\BobLewiston\My Documents\SQL Server Management Studio\Projects. (And yes, each stored procedure was in the form of an .sql file, and I assigned each file name root to be the same … | |
hi ,,i m using asp.net 2005 in VB language and sqlserver 2005,,so here i m with a new problem......i have a textbox and a button in my form,,,i m using a table called as details..i want the fname from details table to be displayed in the textbox and on the … | |
This may be a simple solution but I cant seem to find it anywhere! Basically I have just added an imagebutton to My masterpage I have just realised that on my login page i type in the credentials and hit enter however this triggers the image button click event and … | |
![]() | Hi everyone, I am creating a student timetable. I have the table done in html and I now need to input the values in the database. I was trying to use something along the lines of [code]if(day = 'Monday' && time = '9') { echo(subject); }[/code] i keep getting an … |
Hi all, Can anybody tell me how to retrieve hard drive information in vb.net . I try my best search in google but not getting the appropriate information. Its urgent. Thanks in advance. Regards G_8306 | |
Hi guy I've been having a weird situation for a couple of day... I have this button that is suppose to pass parameter in the $_GET array but it doesn't. Here is the code: [code] <html> <body> <form action="test.php?action=test" method="get"> <input type="submit" value="Test"/> </form> </body> </html> [/code] what happens when … | |
Hi Everyone, I am facing one problem in inserting query when i am inserting value of textarea in database. Let me explain whole of this. i am working as a empoyee form in which form when we insert value of all information regarding leave of that employee . In this … | |
Hi all, I ve been given an assignment to be done in LINUX which requires filing for processes. I have studied about the functions to be used, [I]open, read, write[/I]. I have copied the example from the book in my text editor and it gives error when compiled. The input … | |
What is needed for a C++ member function of a class to behave polymorphic? Please can anyone answer me to this, and if you can give me some example. Thanks. | |
hello I want to execute some queries at specific date with out any action on event(i.e on load, on change). I want the file placed on my server will automatically execute at the first of every month. would you help me????? Its Urgent.. | |
Hi all, I am trying to run a javascript function, RH_ShowHelp, that is stored in the file RoboHelp_CSH.js. The function itself should open a popup window containing our product's help system (written with Adobe RoboHelp) and the javascript file was supplied by Adobe as the standard call. I have managed … | |
Hello All, I am working on a simple program that will counts the number of matches found. I then need to display the text of the last successful pattern and the text the preceeds the last successful pattern match. This is where my problem is. How can I get these … | |
HI there [QUOTE]Exception in thread "main" com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`database/t1`, CONSTRAINT `t1_ibfk_1` FOREIGN KEY (`ID`) REFERENCES `t1` (`ID`))[/QUOTE] The field ID is an auto-increment field and I altered the field to a lower number and now I can't insert any … | |
I am trying to read an integer in from the command line, but it keeps reading in the ascii value as the int, and it completely blows up when the number is greater than 9. I know it's probably trivial but can anyone be of assistance please int main(int argc, … | |
I found that semi-colon are some time come to the end of the line. i.e.: end, else,... But just some time. Could you tell me when I need to put semi-colon to the line? And when I need not? | |
Hi, I'm making a site security tester which is basically a bot that scans a selected website for any php security holes such as sql injections then reports them to the user. I have managed to write the bot and all but the last piece left is the function that … | |
I got this assignment and the way it is worded is confusing to me. If anyone can explain it better it would be a great help also how to approach the problem Use a one dimensional array to solve the following problem. Read in 20 numbers, each of which is … | |
![]() | I'm experiencing problems with this gallery tutorial - the following error message is being displayed: [B]Error message: Parse error: syntax error, unexpected T_ECHO in /equinefocus.co.uk/photos/2009-03-21/gallery.php on line 87[/B] I've tried altering line 87 but had no success so far. I removed lines 86-88 out of interest, but the error messageindicated … |
Hello, I need to make this program sort the numbers entered with merge sort then print them. I am having trouble calling merge sort and getting it to print. Here is the code: [code] #include <iostream> #include "queueLinkedList.cpp" using namespace std; /*struct Item : Data { int value; Item *next; … | |
Hi. In [URL="http://www.daniweb.com/forums/thread183983.html"]my previous post[/URL] people said to me i need an array. I'm trying to insert things in an array and I get errors. [URL="http://labs.wasge.es/files.php?action=file&file=files/vass/devel/vass.c&format=yes"]This is the full code[/URL]. This is my piece of code (from line 77 to 85): [code=C] int buttons_add_audio_input[howmanyofeach]; int i = 0; while (i … | |
Hi, I am fit to be tied here. I have a page that feeds information into a new page. I have it put the information into a label. This works great. [code]<asp:Label ID="lblItems" runat="server"> <% if PreviousPage IsNot Nothing then dim SourceLabel as Label dim strMsg as string SourceLabel= PreviousPage.FindControl("lblItems") … | |
Hello, I am having trouble understanding linked lists. I have to make this program that takes input, stores it to a queue, outputs that input, then sorts it using mergesort and outputs it again. It all works except I'm not sure how to call the mergesort classes. Here is the … | |
I have a small database, at the present time, built for basic tracking and it has 5 rows ... trackid datetime uid emailaddress orgcodetrack It's populate with 10 records test data from 3 users (uid)... I need to return the total visits from each uid... Here's what I have so … | |
![]() | hey, I am having some trouble with this one. I am doing a student web organiser.The user registers details which goes into userinfo and sem1week1. My three tables are: 1.userinfo: firstname, lastname, e-mail, username, password, coursecode, courseyear. 2.courseinfo: subject, time, day, semester, coursecode, courseyear. 3.sem1week1: username, coursecode, courseyear, day, time, … |
Ok, this is my second post...i will answer four with this rturn... wtf is with the the compiler not knowing I am making a variable known as the type I write?.. ((String)(Vector)(((Vector)((Vector)DesktopFrame.desktop.masterPane.iconPane.logoffFrame.secretData.uberSecretData.elementAt(1)).elementAt(ind + 1)).elementAt(2))) = label. Yes, Im a wannabeEverything...4 post ansers if I get One :) death | |
hi, im having difficulty with this python question as i am new to python. the question is: Draw up the list of possible inputs for a half adder and the outputs that you expect. Implement a half adder in a few lines of python, so that the variables o1 and … | |
I've got these 3 questions, I didn't work so far in C++, and this is preparation for my C++ class, These questions are a little tricky and unknown to me, I tried to find the answers in Wikipedia, but I didn't manage, if anyone can answer me, please. 1.1 Can … | |
Hi, there Asssuming that I have some lines below 28 J=5202,5204,7497,7498 SEC=WALL1 1185 J=289,3875,2673 SEC=SLAB2 I would like to count number of digital after "J=" on the above two lines in a text file. I am expecting results below the first line: 5202,5204,7497,7498 =====> Answer: 4 the second line: 289,3875,2673 … | |
Hi all Is there any class to store time in easily, without having to store a date too? We have to create a program for swimming competitions. The swimmers in a match need a time (the time they did swimming the match). So we only need hours, minutes, seconds and … | |
i have a jsp page which initializes itself from a database...it has a series of checkboxes that are being created from the database values...now once the user selects the boxes required by him i have designed a function dat reads the values from the checked fields n stores them in … | |
I need to find the values for two columns in my table. The first one is a number and I able to find that one alone. I added the second column and it does not seem to work. It is a check box and all I need the function to … | |
I really don't have a clue on how to even start this, making a login form. So i've been searching around trying to find others doing the same thing but i haven't found much and what i have found they are using different databases. But here's what i have so … | |
I have been trying on this code for so long but I can't seem to find out why the rows could not be displayed / could not be fetched. The checkboxes are present but no info Please help! :(( [code=php]<?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // … | |
[CODE]$realUser = mysql_query("SELECT Username FROM my_db WHERE Username = $user ");[/CODE] This is not storing the $user value to $realUser. I am correctly using $_REQUEST['user'] to retrieve the value for $user from a form, and I am connected to my database. I understand there is an issue with PHP variables … | |
In VS9, when i call the GetTickCount() function, it automatically converts it into the GetTickCount64() function upon compilation. This second function only works on Vista+, and thus my program errors when run on XP. I have tried adding the follow in 'targetver.h', but it did not make a difference: [code=c++]#define … | |
Hi, I ve been given an assigenment in which I have to create a process, open a file and read it by that process, then that process the data to the another process (2nd process) through function pipe (), which capitalizes all the letters. The 2nd process then sends the … | |
Hi everyone, I am a little new to Java programming and am doing a simple project. The Problem is that I am able to connect but am not able to send any data. It is a little weird. The server gets the client's IP and the client to is connecting … | |
I know how to throw an error in Haskell however I don't know how to do it for the read function. When I do something like this: -- find the number on the second line of file/second list of strings getNo :: String->Int getNo inputBigString = read((listOfLines inputBigString) !! 1) … | |
Hi all I have datagridview that shows tasks to be done by user.One of gridview column shows priority of task as icon.Now i want to add tooltiptext to icon as "high priority, low priority or medium". | |
These are just the tables.. STU(SSN [pk], Name, Addr) CLASS(Crs_id[pk,fk], Term[pk], Sect[pk], Fac_id[fk]) COURSE(Crs_id[pk], Description)CLASS_TAKEN (Stu_SSN[pk,fk], Crs_id[pk,fk], FAC(SSN [pk], Name, Dept) Term[pk,fk], Sect[pk,fk], Grade) CORE_CRS(Crs_id[pk,fk]) * term indicates year(4) & semester(1) (i.e, 20091 = Sp 2009) List the names of all faculty members who have taught every course in the … | |
I just replaced a bunch of tables with datagrids for the purpose of easier coding. The tables are all in <div> codes so they are hidden, using CSS, until a user clicks a link. I have one <div> that is not hidden. It shows when the page is first loaded. … |
The End.