132,726 Archived Topics
Remove Filter ![]() | |
To Shift the Three Numbers a,b,c in Circular order Software Development c | |
Hi everybody. My question is. I made an html template that I will extend in every other html pages. And this template have some variables. So my question is how to assign a function to this base template. Let me be more clear and give you an example: base.html ... … Software Development python | |
I've recently created a .dll project in Visual Studio using C++. I'm curious how Visual Studio is creating the ability to link the files. I got everything working properly but it seems I can get the project to work flawlessly regardless of where the .dll file is located. Once the … Software Development c++ unix visual-studio | |
I am learning Python through LPTHW. There is an exercise where we need to create test scenarios. The following is the code for whom Test Case have to be made: ############################# # Sentence Parser # ############################# class ParserError(Exception): pass class Sentence(Object): def __init__(self, subject, verb, object): # remember, we take … Software Development python | |
Currently I'm working on Euler Problem 62, Permutations of a cube, the program is searching for a cube that 5 of the permutations are other cubes, I did some online research and found that the cube that im searching for is within the range of an int64, Actually its 12 … Software Development | |
hey guys, i was looking into rewriting the php custom framework at work into java. i was going to download the J2EE but there is 2 versions. J2EE SDK (regular) and J2EE Web Profile SDK http://www.oracle.com/technetwork/java/javaee/downloads/index.html i've look at the descriptions and the includes and it look the same. whats … | |
Hello Friends Creating library object. I have a library.txt that contain 20 books and every line in library,txt contain author ,title and loan , my questions is how to create class and object for library script with python. 1. search at title 2. search at author 3. Borrow a book … Software Development python | |
Hi, I'm currently creating a pool game which is nearly complete but I want to have it as a 2 player (human vs human) game. All that I want the program to perform is that when the game begins then the two players are asked to enter their names (I … Software Development java | |
Hi, I am writing a program that uses post-order breadth first tree-traversal to give me a path navigating from one point in my house to another. Here is a map of my house: http://postimage.org/image/3vq80wdkx/. Here is the tree that I need to traverse and list all the possibilites of: http://postimage.org/image/nlbv9dp03/. … Software Development c++ | |
Hi all experts ... I have a question .... How can i call a function of Class A from Class B without creating any objects,static menthds or using any inheritance.. like if class A has a variable of classB then classB can call a method of class A.... explanatory code: … Software Development | |
i want to create a program that would translate number to words from 1-1 billion this is how i started: package app.runner; import javax.swing.*; public class EnglishNumberToWords{ public static void main(String args[]){ int inputNumber=0; String oness[]={"one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"}; String tens[]={"ten","twenty","thirty","fourty","fifty","sixty","seventy","eighty","ninety"}; String answer=""; String calculate=""; inputNumber=Integer.parseInt(JOptionPane.showInputDialog(null,"PLease Enter a Number: ")); int billion=inputNumber/1000000; int … Software Development java java-swing | |
im using this code to send strings to serial port but this is very slow,the other end of communciation arduino board is not able to get those strings at realtime,how can i fasten this communication? there is no problem in arduino board or arduino code,it works fine for its sample … | |
Hi, i want to call an msword apllication into a panel in vb.net. Software Development vb.net | |
public int insert(Order order) throws SQLException { PreparedStatement insert = null; int orderKey = -1; try { String method = new String("DBInterface.insert( Order )"); FileLogger.log(FileLogger.HIGH, method + " - Entering..."); int col = 0; int actionCode = getCodeKey("ORDER_ACTION", order._action); int statusCode = getCodeKey("PCO_AUTO_STATUS", order._status); int falloutTypeCode = getCodeKey("FALLOUT_TYPE", order._falloutType); orderKey … Software Development java | |
How can I print a BufferedImage? I mean how can I send a BufferedImage to the printer? I heard something like printJob but I don't get it. Please help me about this. Thanks in advance. | |
Hi all, Could anyone help me to create function Encrypt and Decrypt username and password in vb.net? best regard, Kimlong. Software Development vb.net | |
Dear all; I have using VB.Net and sql server to develop an application. In the form I use controls to move record like First Rec, Previous Rec, Next Rec, Last Rec. But I'm not using Navigator Binding control. It's mean I use code to move.Anyone can help me, please. Thank! … Software Development vb.net | |
Hey everybody! I recently bought a book on developing for android. I got stuck on the main.xml file code when it gave me a bunch of errors... here's the code <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" > <SlidingDrawer android:id="@+id/drawer" android:layout_width="320dip" android:layout_height="440dip" android:orientation="vertical" … Software Development android android-development xml | |
Hi, I got a strange problem with a TextBox, which is in an Xpander in an XpanderList in a custom UserControl. (Using C#, .NET 4, Visual Studio 2010, WinForms, Windows 7.) I am making a simple "auto-complete", by starting a Timer in my TextBox TextChanged event. If this timer fires … Software Development gui visual-studio | |
String q = new String(“Cat”); String r = q; String s = new String(r); I understand that the first line would equate to `String q = "Cat";` and the second would be `String r = q;`, but what would the last one equate to without using new? I originally thought … Software Development java | |
Dear All; I would like to suggest for a function name getDataToGrid(). Example: I have table name tblStaff(StaffID,StaffName),tblPosition(PositionID,PositionName) and DataGridView anem dgvStaff. For my purpose is, I don't want to write the same code for each forms. That's why I want a function, just call to each form. It can … | |
hi guys, i want to do this task given by ebook : **Modify the SimpleVector class template presented in this chapter to include the member functions push_back and pop_back. These functions should emulate the STL vector class member functions of the same name. (See Table 16-5.) The push_back function should … Software Development c++ | |
Hey guys. Im in my first week of class for Java OOP. This is what my first assignment looks like **1. Ask from the user: how many students take CompSci in summer, and store that number in a variable.** **2. Ask the user to input the name and mark of … | |
Hello, Is it possible to disable the windows key when the application is running?? Suppose I am running a particular application....and if the user press the windows key or clicked on the windows key on the task bar it shud prompt a message box that user is not allowed to … | |
Can anybody help me out, show me where to look or a keyword or something? I'm trying to figure out how to write simple programs that can manipulate other programs. To keep it simple, and as a start, I'd like to be able to run the program to insert a … Software Development java | |
Hey guys im need some help with this binary calculator, you enter the amount of bits or n in and then it calculates the number? In order for you to understand my problem more I will explain why I am making this, I asked my dad how big 128 bit … Software Development python | |
So I'm working on a checkers like game that involved moving two different types of pieces around the board to try and capture the opponents pieces. One of these pieces is a ball, and it's movement rules are that it can move up and down only one space per turn, … | |
I have made a simple web browswer in java. The problem is it's to simple. How would I add things like HTML5 support in my web browser? Software Development html-css java web-browser | |
Hi, I have a problem in data structures I am stuck in this one .Please try to help me. Question : A man Joe has a habbit of eating pancakes & driving bikes.Once he went for outside by his bike,now he is EXACTLY IN THE MIDDLE OF A ROAD his … Software Development algorithm c data-structure | |
Please help me to make a program in turbo c that will let you guess the password. but if it is wrong the program will ask you do you want to continue y or n ,if y it will display again what is the password if no end the program Software Development c | |
Here's some simulation of the basic push_back and pop_back functions from stl vectors, "inspired" by this thread: http://www.daniweb.com/software-development/cpp/threads/427912/question-about-a-simple-vector-class-template Software Development c++ | |
I hope someone can point out to me what I am doing wrong here. I have a set of picture boxes in an array. If I use the following code with the PictureBox array declared in the private sub, there is no issue. If I put the array as part … Software Development vb.net | |
![]() | hi, 1. actually i was reading some text from my book and i come across this expression. I am not getting what it means. here it goes, typedef int (*HIG) (int,int); And "sizeof" can't be used in #if because the preprocessor does not parse type names. What this statement means … Software Development c |
Hi folks, just a queary about checking chars. I have a char[] variable. I ask the user a question and the user types a response and presses enter. I need to check the variable to see if it said particular things and more importantly if it said nothing. #include <iostream> … Software Development c++ | |
Hello! i have a windows form application which i have many controls such textboxes buttons and more. that i need is to draw or add a control on top of all the form.but i need that control to be transparent so the user can see the textboxes and labels behind … Software Development | |
![]() | I came across [this](http://www.daniweb.com/software-development/cpp/threads/189901/screen-capture-program) program in the C++ section. How to do something similar in C? Let me elaborate. I want to read the colour values of individual pixels in at the rate of at least about 25Hz. I have a nVidia GeForce GTS450 graphic card and Windows 7 64-bit/Linux … Software Development c display windows-vista-7-8 ![]() |
Is it possible to create charts with XML. What I am trying to do is build a database application and it will need to be able to generate reports. I will need to be cross-platform and open source. Because I'm new to the idea of XML I will be reading … Software Development open-source xml | |
I am using the code below to bind my Gridview to a datatable and the code works well. However I now want to add data to the datable and its giving me an error "Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.". So … | |
i wanna search items like MS windows search for example if i wanna search mp4 files i should write "*.mp4" its enough my searching but if i ll use filter function i cant do this on datagridview couse when i want to search something i need to know full name … Software Development vb.net | |
Hey Hey I have found that in certain instances breakpoint just dont cut it for me...let me explain: The current program I'm working on in Delphi Codegear has some 2 mil lines of code under a button click, not bad coding btw, just a lot of fuctionality. Now, the program … | |
here is the problem: Write a C/C++ program (call it string invert) that takes a string argument from the command line and outputs the string in reversed order. Here comes the twist: Each process can output at most one character. If you want to output more than a single character, … | |
Sample Input: 20 10 2 5 2 Sample Output: 2 Explanation: An amount of 20 could be made in 2 ways: 10*2 10*1 + 5*2 I want to find out the number of ways a particular amount can be made with given coins.In the sample input 20 is the amount … | |
Hi, I am trying to write code to read a text file containing velocity vector data in the form x, y, u, v. An example of the data file I am opening is: 0 1.0 3.24 45.64 1.5 2.5 54.34 23.45 ... I have a function which can read the … Software Development c data-structure file-system | |
Hello, I have just recently begun the move from Java (beginner) to C++ and have found an interestng project I would like to develop which should teach me some great c++ code. **Encrypted Console Journal** * Text File Encryption * File IO * Date && Time System Retrieval * Text … Software Development c++ encryption | |
im using this code to detect face features,it works properly but after sometime of its run,video frame pauses and stops responding. im running it on microsoft visual cpp 2008 #include "stdafx.h" #include <stdlib.h> #include <stdio.h> #include <math.h> #include <cv.h> #include <highgui.h> #include <conio.h> // A Simple Camera Capture Framework const … | |
Good morning, I'm having some trouble getting this to work, but i am using 1 color filter to detect a color in my webcam video, but to achieve what i want, is it possible to use 2 color filters? Thank you in advance. Software Development webcam | |
This is a simple game of pong with made using pygame. You will need to make a picture of the pong for it to run properly. Simply make a cirlce in paint, 25x25. Joe Software Development python | |
Hi Friends, I have created a small C# program to "SendKeys" to the active application. I use it to automate the cheat code typing for games. I have assigned cheats to some keys in the keyboard. Problem is the `SendKeys.Send()` works with notepad (i've tested) but not working with GTA … Software Development gaming |
The End.