199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MareoRaft

Hello, I am looking for a good library to manipulate matrices. The criteria is as follows... 1. It must have a large amount of functions that we may need to use in the future. Functions will include but are NOT limited to: --sortbyc( Mat, col) (sorts rows in a matrix …

Member Avatar for L7Sqr
0
154
Member Avatar for aldeene

what's the reason that I should set RtsEnable and DtrEnable to true?? it worked for me but I can't understadn why I should set those two property to True..

Member Avatar for aldeene
0
322
Member Avatar for turt2live

Hello, What I am trying to do is restrict access to something if 48 hours hasn't passed since the last access. I have a MySQL table with the last access time (col name: lastAccess). If they are within the 48hours, deny access and tell them how many hours and minutes …

Member Avatar for burgercho
0
175
Member Avatar for 4everct01

Im having some problem in shuffling the deck. There are some repetition after it shuffle. Any solution for it>? [CODE] #include <iostream> #include <windows.h> #include "stdlib.h" #include <cstdlib> #include <ctime> using namespace std; const static int BLACK = 0; const static int BLUE = 9; const static int RED = …

Member Avatar for 4everct01
0
463
Member Avatar for jovillanuev

Hi Expert, Guys, i need your help on how to do a script calculating the totalDays using the formula (see below). i have to calculate the totaldays based on different Supplier and Rtype and also if the totalday is less than the warranty period i have to indicate it as …

Member Avatar for jovillanuev
0
121
Member Avatar for ssai

i need to search for a pattern match in an array of strings, where each string is a list of symbols and a given string in the array may match to only one symbol in the pattern. So suppose we have a pattern as A+B*C and we have the string …

Member Avatar for ssai
0
200
Member Avatar for senergy

Hi, I have few problems, so I hope someone will help me :) I started with win32 API yesterday and I really like it, but I need little help :) #1 edit: I already fixed this :P #2 I created small "login" application, after user press "login" it should get …

Member Avatar for caut_baia
0
361
Member Avatar for momonq1990

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Asiahome Trading Corporation (Server)</title> <script language="javascript" type="text/javascript"> function validate(){ var user = document.getElementById('username') var pass = document.getElementById('password') user.style.backgroundColor = (user.value.length == 0) ? "red" : ""; pass.style.backgroundColor = (pass.value.length == 0) ? "red" : …

Member Avatar for Amr87
0
157
Member Avatar for rhyza

im having trouble with my output i want to justify it the name and the result but i dont dont how when i enter a number it is not centered......pls help me this is my codes [CODE]#include "stdafx.h" #include <iostream> #include <conio.h> #include <string> #include <windows.h> using namespace std; void …

Member Avatar for Satyrn
0
174
Member Avatar for zeulb

input : a sentance between 1 to 10.000 char. every word on the sentance include 1 to 200 char 'a' to 'z'. output : word which is a palindrome Example : Input apa yang di alami malam ini oleh anna dan saras tidak pernah ada Output apa malam ini anna …

Member Avatar for thines01
0
612
Member Avatar for zachattack05

OK so I have a decent database that I have set up with all the correct tables and relationships, but now I have another issue, and that is distributing it. I don't know how to achieve what I am after. I know how to install SQL Server Express during my …

Member Avatar for zachattack05
0
126
Member Avatar for smokepk

Hi guys, I want to store recording(voice recording) in my SQL database. Please let me know is it possible and how ? Thanks, Smoke

Member Avatar for zachattack05
0
661
Member Avatar for wildplace

i used one register in my inline asm. when i compare the asm codes with and without clobber, i dont see any different between them. so, what exactly does clobber do?

Member Avatar for thines01
0
103
Member Avatar for speak2ab

I am trying to connect to crystal report from Visual Studio 2010 but i realised my SQL database should have SQL authentication (i.e requires user and password) instead of windows (which was assigned by default). I have tried several approaches to achieve this without luck. Will appreciate some help.

Member Avatar for speak2ab
0
135
Member Avatar for mools3

Hello everyone , as you can see i'm very beginer in python programming 1 mounth ago , i'm teaching my self from a python and tkinter book i'm trying to write a program that opens the main window after entring the username and password Problem 1: The usernames and passwords …

Member Avatar for Enalicho
0
161
Member Avatar for Inquisit0r

I am getting this error that I can't quite wrap my head around. The code segment calls a mysql stored function that basically assigns an available id number. This is the code: [CODE]try { CallableStatement call_proc = conn.prepareCall( "{ ? = call getAvailableId(?, ?) }" ); call_proc.registerOutParameter(1, Types.INTEGER); call_proc.setString(2, tableName); …

Member Avatar for Inquisit0r
0
918
Member Avatar for vincezed

hi all , i am developing a project that uses sdf database and i want to connect to it using odbc driver.. recently i found that there is no odbc driver for sdf database. I also found we can use ADODB and ADOX with oledb to connect with sdf.. but …

Member Avatar for thines01
0
386
Member Avatar for fashxfreak

hi. i want to know that how to delete or remove items from a file, keeping the file intact itself ???

Member Avatar for Momerath
0
95
Member Avatar for NeoKunal

i wrote a code to create a csv file in java and it works fine for english characters but not for chinese characters. How can i Solve this. i tried modifying it but then it does not show comma separated values when opened in text file. please reply. [CODE] package …

Member Avatar for mKorbel
0
2K
Member Avatar for JoshuaBurleson

I'm doing the google code U python class and came across a problem trying the following problem, which is the commented out region, the solution needs to be a function. I'm on the second part and trying to find a way to count the values which meet the requirement,i[0:2]==i[-2:]. I …

Member Avatar for TrustyTony
0
501
Member Avatar for srijon

I am trying to create a calender with a checkbox for each date. When a user clicks the submit button, I want to get those selected dates inserted into the database and those which are not selected would be deleted from the database if those already exist before. I have …

Member Avatar for madCoder
0
119
Member Avatar for ZIA_JAPPA125

Hello everyone this is the correct ans for your problem....this program is working propely but but int thing is that i can't solve is that the decimal number range between 1 to 7. if any character in my number will increase from 7 thou it shuold give output the number …

Member Avatar for Adak
0
140
Member Avatar for riseguim

For some reason, people cannot write apostrophes without resulting with an error... For example: Prud'homme will not work Here's my line of code: [CODE]$string_exp = "/^[A-Za-zé.¸UûÙùàÀèÈéÉïÏîÎôÔêÊçÇ .,'-]+$/";[/CODE] I don't understand why it doesn't work, does someone know?

Member Avatar for minitauros
0
134
Member Avatar for judithSampathwa

hi i am using C#.net to code. I am using windows desktop application. I have a main form with a menu stript. and in that i have add details update details and some other menus too. i want to know how can i design a interface for each menu stript. …

Member Avatar for nick.crane
0
271
Member Avatar for JoshuaBurleson

I got this snippet out of my text book but it's giving me a type error, I'll just give you the whole code, tell me if you get it too, if you would. [CODE]import urllib.request import math whips=int(0) rate=float(4) while rate <= float(20): improve= rate*float(.15)+rate rate= improve whips=whips+1 print(whips) def …

Member Avatar for JoshuaBurleson
0
319
Member Avatar for BCMusic24

I've developed an application that runs a program (specified in the code) when a button (10 buttons for 10 different programs) is pressed. What I want to do now, is make it so that when a button is pressed, you are asked what application you want to run. The selection …

Member Avatar for nick.crane
0
92
Member Avatar for Ender330

Hello, I need to find a way to use regex to exclude a phone number like this: +558499608822 I want any number that starts with the country code 55 to be excluded. For some reason \+55 does not work. Thanks for the help...

Member Avatar for pritaeas
0
69
Member Avatar for julylee06

Hi - I am a newbie - so I hate to ask for help, but your site has been so useful even before I joined, so I hope you will have pity on me. I am doing a java program using 2D arrays. It covers 4 quarters of sales across …

Member Avatar for julylee06
0
651
Member Avatar for Stefano Mtangoo

Anyone who knows how I can download boost library manual in zipped html chm or pdf? I'm not always working with internet and I will be working with some boost libs(latest). Thanks

Member Avatar for vijayan121
0
855
Member Avatar for dyingatmidnight

I swear I used to know how to do this ... so I have this array: BYTE bcdData[6]; and a function that returns it: [code] BYTE * BCD::GetBcdData() { return bcdData; } [/code] and I have this other array in another class: BYTE tpIdByte[2]; And what I am trying to …

Member Avatar for ChaseRLewis
0
105
Member Avatar for p1nchbeck

Hello you guys, i'm new to this community and relatively new to c++. right now i have a big problem with namespaces and i'm not able to resolve this issue on my own, so here we go: I want to integrate 2 simmilar projects into my project. they are so …

Member Avatar for p1nchbeck
0
284
Member Avatar for IndianaRonaldo

If I write windows API application using vc++ 10,does the .exe file work in any windows computer or is vc++ a necessity in the other computer also?

Member Avatar for play_c
0
176
Member Avatar for ithelp

Hi, Has anyone ported CLIPS rules engine (which is written in C) to java ? Is there any better alternative available than that of porting CLIPS to java ? How big is the CLIPS source code base ?

Member Avatar for JeffGrigg
0
126
Member Avatar for Mits14

Hi guys.. i have a problem with my sqlupdate statement..i don't know which part is the error.. could you help me figure it out?? i even delete the codes and then type it again..but there is still this error.. [CODE] open_con() sqlupdate = "Update tblbook set Section='" & cbosection.Text & …

Member Avatar for Naveed_786
0
104
Member Avatar for ddanbe

I saw a thread lately on this site to rotate an integer. Seemed like a fun project to do. There are probably more efficient solutions out there but this is mine, and indeed it was fun! It is mostly a demo on how you could use the less known shift …

Member Avatar for kel634
0
2K
Member Avatar for pixeldroid

This is related to [url]http://www.daniweb.com/software-development/python/threads/111526[/url] However, in this case, I don't necessarily know the value of the var from which I am getting the name using vars(). Is there a way to get it? [CODE]prefix = 'char' lidControls = [] lidControls2Make = ['uprLid', 'lwrLid','lwrLidTrack', 'uprLidTrack','uprLidRef','lidRig'] for control in lidControls2Make: objTmp …

Member Avatar for pixeldroid
0
207
Member Avatar for azegurb

hi, All. I know that how to use public, protected and private variables. for ex: public i can use it another class, protected i can use in main and being inherited class and private only the class where it declared. but i dont understand what is purpose to it public, …

Member Avatar for MooGeek
0
124
Member Avatar for konradhoppe

Hi community, I am struggeling to get an ajax request to work. The main issue here is that I can't fill in a select box from jquery for some reason. I was working before without jquery and used the method innerHTML() to paste options into the box, which worked fine, …

Member Avatar for konradhoppe
0
202
Member Avatar for stokotten

Hi. I get an (identifier) expected error when I try to write my code. The error message is: "PathFinder.java:25: (identifier) expected TList.setSelectionMode(ListSelectionModel.SINGLE.SELECTION); "PathFinder.java:25: (identifier) expected TList.setSelectionMode(ListSelectionModel.SINGLE.SELECTION); My code looks like this: [CODE]import... class PathFinder extends JFrame { Karta karta; JFileChooser jfc = new JFileChooser("."); int RitNR; JButton NP; ListGraph g …

Member Avatar for Aviras
0
479
Member Avatar for kasthurirangan

Friends i suppose to develop a s/w.. which automatically generates a timetable for the entire college.. on all possible classes..so plz help me in developing the coding in vb.net...

Member Avatar for nellairahul
0
235
Member Avatar for Naveed_786
Member Avatar for Naveed_786
0
179
Member Avatar for Falcon143

Hi friends, Please suggest me how to display the line number in C program. without using predefined macros, or windows library files.

Member Avatar for nmaillet
0
2K
Member Avatar for bigdan182

i am trying to figure out how to pass structures based on the state of one of the variables. bassically there are 8 "teams" that each have a "progress" variable that is a bool. I want to be able to pass the 4 "teams" that have had their "progress" bool …

Member Avatar for nmaillet
0
76
Member Avatar for westony

[CODE] private void FillList() { listView.Items.Clear(); DataTable dtPeople = GetPeople(); listView.BeginUpdate(); foreach (DataRow dr in dtPeople.Rows) { ListViewItem listItem = new ListViewItem(dr["id"].ToString()); listItem.ImageIndex = 0; // Get child rows from a parent one. // person_name is a name of relation between two // tables. DataRow[] r = dr.GetChildRows("person_name"); if (r.Length …

Member Avatar for nick.crane
0
111
Member Avatar for rajeshgs

how can i convert date such as 20/03/2011 0r string 20032011 to twentieth march two thousand and eleven

Member Avatar for Coco Chanel
0
671
Member Avatar for Cainer

Ok, here are some things I don't understand. I have defined variables: [code] byte b = 0x10; const byte a = 0x08; [/code] When I try [code] b = b & a [/code] it says "Cannot implicitly convert int to byte." How can byte & byte be an int?? Second …

Member Avatar for Momerath
0
136
Member Avatar for estelion

Hello to everyone. I'm trying to write a piece of C++/Qt code and I always seem to get stuck at the same thing. I'm creating a DAQ System for my MSc thesis, who's purpose is to present and get some variables from the user interface (class name Interface) and when …

Member Avatar for mike_2000_17
0
148
Member Avatar for SETHU S

please inform, I want to connect one CPP data file with excel data file. How to connect (link) one excel file with cpp data file. Which is the header file for the same.

Member Avatar for Tomtommitom
0
124
Member Avatar for Needshelp444

Is it even possible...I am not sure. Here is my code so far when I click on the Prog_1_Database buttons I want a window to pop up with more button widgets in. Currently the button widget unfortunately gets added to the top level Here is the code so far: [CODE] …

Member Avatar for Needshelp444
0
2K
Member Avatar for docdoc

I would like to write a program to be able to display the events in the windows event viewer logs. Currently I need to drill down thru menu items on the control panel to get to the event viewer and logs. Does anyone know where the event logs are held …

Member Avatar for antipin797
0
104

The End.