64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Argo54325

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 …

Member Avatar for Argo54325
0
188
Member Avatar for MaestroRage

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 …

Member Avatar for Ancient Dragon
0
9K
Member Avatar for mnieber

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 …

Member Avatar for Ezzaral
0
128
Member Avatar for vanessia_1999

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 …

Member Avatar for vanessia_1999
0
114
Member Avatar for mansi sharma

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 …

Member Avatar for mansi sharma
0
112
Member Avatar for Guru Silva

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 …

Member Avatar for Guru Silva
0
510
Member Avatar for songweaver

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 …

Member Avatar for songweaver
0
1K
Member Avatar for chad_jensen71

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 …

Member Avatar for chad_jensen71
0
156
Member Avatar for ning2009

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 …

Member Avatar for ning2009
0
111
Member Avatar for BobLewiston

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 …

Member Avatar for BobLewiston
0
276
Member Avatar for johnny.g

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 …

Member Avatar for P.K.Chaudhary
0
191
Member Avatar for DanielPartridge

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 …

Member Avatar for BzzBee
0
386
Member Avatar for otooleb6

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 …

Member Avatar for nav33n
0
88
Member Avatar for guest11

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

Member Avatar for guest11
0
175
Member Avatar for silh

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 …

Member Avatar for silh
1
276
Member Avatar for gagan22

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 …

Member Avatar for nav33n
0
295
Member Avatar for Samran

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 …

Member Avatar for Samran
0
165
Member Avatar for viki0077

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.

Member Avatar for NicAx64
0
142
Member Avatar for BzzBee

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

Member Avatar for BzzBee
0
151
Member Avatar for darkagn

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 …

Member Avatar for hemasow
0
20K
Member Avatar for KimJack

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 …

Member Avatar for KimJack
0
79
Member Avatar for bernardf

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 …

Member Avatar for darkagn
0
202
Member Avatar for bobrien314

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

Member Avatar for bobrien314
0
85
Member Avatar for turbomen

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?

Member Avatar for Duoas
0
94
Member Avatar for cwarn23

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 …

Member Avatar for cwarn23
0
192
Member Avatar for neox183

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 …

Member Avatar for Ancient Dragon
0
74
Member Avatar for Borderline

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 …

Member Avatar for chrishea
0
213
Member Avatar for christiangirl

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

Member Avatar for christiangirl
0
199
Member Avatar for wasge

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 …

Member Avatar for wasge
0
197
Member Avatar for WinginSue

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

Member Avatar for WinginSue
0
79
Member Avatar for christiangirl

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 …

Member Avatar for christiangirl
0
232
Member Avatar for changeco

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 …

Member Avatar for changeco
0
153
Member Avatar for otooleb6

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

Member Avatar for buddylee17
0
84
Member Avatar for deathwishgenius

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

Member Avatar for JamesCherrill
0
106
Member Avatar for srk619

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 …

Member Avatar for srk619
0
2K
Member Avatar for viki0077

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 …

Member Avatar for viki0077
0
131
Member Avatar for ning2009

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 …

Member Avatar for ning2009
0
107
Member Avatar for K?!

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 …

Member Avatar for K?!
0
102
Member Avatar for k2cool_87

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 …

Member Avatar for k2cool_87
0
132
Member Avatar for LindseyV

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 …

Member Avatar for sudeep123
0
93
Member Avatar for bored4

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 …

0
80
Member Avatar for xila

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

Member Avatar for nav33n
0
129
Member Avatar for baudday

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

Member Avatar for nav33n
0
716
Member Avatar for mikey123

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 …

Member Avatar for mikey123
0
111
Member Avatar for Samran

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 …

Member Avatar for Samran
0
287
Member Avatar for Prabakar

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 …

Member Avatar for Prabakar
0
99
Member Avatar for artemis_f

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

Member Avatar for artemis_f
0
132
Member Avatar for fawadkhalil

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".

Member Avatar for fawadkhalil
0
118
Member Avatar for vickyfin

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 …

Member Avatar for vickyfin
0
140
Member Avatar for WinginSue

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

Member Avatar for WinginSue
0
87

The End.