996 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for cambalinho

without use DirectX, how can i get rendering\graphics speed? i created an Image class that uses DIB's... but something seems wrong for i draw in a pixel way.. too slow, maybe because i'm trying getting the line, 3D, points. maybe someone can give me more info: Friend Sub DrawImageRectanglePoints(DestinationHDC As …

Software Development visual-basic-6
Member Avatar for cambalinho
0
146
Member Avatar for vegaseat

What "Hello World" is to the console, the "Bouncing Ball" is to the Graphical User Interface. Nothing fancy, the ball is created via a call to the API function ellipse() and then bounced within the confines of the windows form. For the DEV C++ crowd: Let me know if you …

Software Development c++ windows
Member Avatar for laheg
2
25K
Member Avatar for vegaseat

The printer seems to be a much ignored computer peripheral when it comes to programming. This little code snippet explores one way to send text to the default printer. It actually draws the text into an imaginary box on the paper. You can specify the upper left and lower right …

Software Development python
Member Avatar for Djcordeiro
2
4K
Member Avatar for BlackIris

Hi everybody, I'm having a little problem with finding sum of nested list in Prolog. So far what I have is [ICODE] totalSum([],0). totalSum([H|T],S):- totalSum(T,Sum), S is Sum + H. totalSum([H|T],S):- totalSum(H,Sum1), totalSum(T,Sum2), S is Sum1+Sum2. [/ICODE] With first two predicates, I have no problems getting sum of not-nested list. …

Software Development
Member Avatar for fgmart
0
2K
Member Avatar for Computer Doctor

from socket import * #Start test() def test(): #Specify the port serverPort = 80 serverSocket = socket(AF_INET,SOCK_STREAM) serverSocket.bind(('',serverPort)) #Listen for the 1 connection serverSocket.listen(1) #Print the port address print("web server on port",serverPort) #Start thw while loop. while True: #Establish the connection. print("ready to serve") #Create connection socket for accepted client. …

Software Development java python
Member Avatar for JamesCherrill
0
196
Member Avatar for cambalinho

i have 1 function that give me an array of a line points... on these array, how can i get the array size without using the UBound() and LBound()?

Software Development visual-basic-6
Member Avatar for cambalinho
0
149
Member Avatar for Nikita_14

Create a dialog box and add text entry box and colour to the dialog box and text using wxpyton

Software Development gui python windows
Member Avatar for rproffitt
0
95
Member Avatar for snow_1

when I read FutureTask's run method, I found it use cas to set runner variableļ¼Œ public void run() { if (state != NEW || !UNSAFE.compareAndSwapObject(this, runnerOffset, null, Thread.currentThread())) return; try { Callable<V> c = callable; if (c != null && state == NEW) { V result; boolean ran; try { …

Software Development java
Member Avatar for JamesCherrill
0
78
Member Avatar for arsharma159

Hello guys, I'm new to VB.Net programming and Daniweb community as well. I'm developing a software in VB.net. But the problem is that I don't know how to create Invoices after taking the Sales Order. I'm in an urgent need of your valuable help you could provide me. Thanks in …

Software Development vb.net
Member Avatar for kali_4
0
1K
Member Avatar for andre.jonker

Dear Friends, I have add resource file with number of images to my project. My question is, after deyploment and setup of the windows base application, i cannot I find resources file on the client pc, but the pictures are visible? Thank you in advance, AndrƩ

Software Development c#
Member Avatar for rproffitt
0
275
Member Avatar for ANGEL123@@

HELP ME IN MY BUS RESERVATION PROJECT I NEED TO HAVE A CONDITONAL STATEMENT IN MT SEATING ARRANGEMENT FOR EXAMPLE IF THE SEAT NUMBER IS ALREADY SELECTED IT WILL POP UP THE SEAT IS ALREADY SELECTED I USE THE COMBO BOX FOR THE SEAT NUMBER

Software Development java
Member Avatar for stultuske
0
257
Member Avatar for Dontah

So, basically what I'm trying to do is a Tic Tac Toe game for a project. I started with making 3 1-D Char Arrays to represent the game's bord. the code below compares the Arrays data to try and figure out if any of the winning possibilites were achieved by …

Software Development c
Member Avatar for SpOOKy.Is.GoD
0
201
Member Avatar for phphp

Sir I have installed JAVA 15 windows 7 64bit ![aapng.png](https://static.daniweb.com/attachments/4/6317016c29f6905d889b1cecd53f91b3.png) I want to ask what Microsoft JDBC Driver for SQLSERVER 2014 should I download. Please

Software Development java
Member Avatar for JamesCherrill
0
122
Member Avatar for Hamsterking

hi there i have an XML file wich contain some music information in a node and i would like to insert more i would like to add more node on demeand when i do i receive this error HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is …

Software Development java
0
90
Member Avatar for Poppic

Currently trying to understand how to convert some C into mips. Is a "return func" different from "return"? Both C codes are very similar yet im unsure how they will both look in code once completed. Are both of these codes the same? The second code is from another thread …

Software Development assembly
Member Avatar for rproffitt
0
6K
Member Avatar for CB8379

Hello all, I am fairly new to Java, and have had a terrible time with arrays thus far. I am attempting to complete a project using arrays to store inventory items (item number, name, unit price, and unit numbers) and need to output information using an array to hold the …

Software Development java
Member Avatar for Kandapatrick19
0
670
Member Avatar for Rayhana

Hello, i have some problems with my c code, could you help me? it's returns randomly numbers for averages. #include<stdio.h> #include<stdlib.h> struct Student MStudent(struct Student std); void CalcAvrg(struct Student std); struct Student{ int mark[5][5]; }; struct Student MStudent(struct Student std){ int i,j; for(i=0;i<5;i++){ for(j=0;j<5;j++){ printf("%d. Student's mark for %d. exam …

Software Development c
Member Avatar for mcriscolo
0
153
Member Avatar for Violet_82

Hi I'm trying to create a script in powershell that finds a string in a file and then modifies it but I'm having issues matching the string I want. So, I'm trying to make sure that I can find this type of string |d where d is is any digit, …

Software Development regex
Member Avatar for xrjf
0
892
Member Avatar for Big papi

QUESTION:You are required to write a program that performs syntax checking for a given computer program Hey Everyone i need your help badly can anyone please modify my code below against the following rules: ā€¢ The code always starts with begin keyword and ends with the end keyword ā€¢ The …

Software Development c++
0
292
Member Avatar for cyroclasim

this is what i have so far. public class PersonalInformation{ /* =================================================== ===== Challenge 6.1 - Personal Information Class ===== ====================================================== Design a class that holds the following personal data: name, age, and phone number. Write appropriate accessor and mutator methods. Demonstrate the class by writing a program that creates …

Software Development java
Member Avatar for stultuske
0
175
Member Avatar for Ashvin_3

I came across a KMeans implementation in Java. The number of clusters generated by the code is 3. But when I tried to change it to 2, I am getting the error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2 Any help is much appreciated. Here is the code: public class KMeans …

Software Development java
0
100
Member Avatar for jopeto

I just started using python a couple of days ago, so I am a complete beginner. Basically what I am trying to do is the following. Imagine that I have a string variable such as: food = 'bread' I want to create another variable (integer or another type) so that …

Software Development python
Member Avatar for Rayalacheruvu
1
101K
Member Avatar for tony75

Hi When I run main.py I got this error how can I fix it? I'm using https://github.com/PicciMario/iPhone-Backup-Analyzer-2 / Traceback (most recent call last): File "./main.py", line 44, in <module> from PySide import QtCore, QtGui ImportError: No module named PySide I appreciate your help

Software Development python
Member Avatar for Andreas_7
0
22K
Member Avatar for VIPER5646

Hello all I have a form with two datagridviews. Grid A is polulated with orders from DB, grib B has an empty table with the same column name as grid A. Im currently draging orders from Grid A onto grid B. My isue is that since grid B has only …

Software Development vb.net
Member Avatar for VIPER5646
0
361
Member Avatar for MD Nawab
Member Avatar for Dani
0
105
Member Avatar for rudypooh786

Write a Java application that calculates the number of repayments for a loan based on the initial loan amount, annual interest rate and monthly payment. The user enters these values and application uses a loop to display the balance each month after payment has been made. Note that interest is …

Software Development java
Member Avatar for KAIWEN KEVIN
0
4K
Member Avatar for Violet_82

I 'm building an application to store and retrieve books, but I have an issue with retrieving data from the db. I'm using REST and testing with postman. Everything works OK. Currently I have a series of methods written in Java at the backend like so @Override @POST @Path("/add") //@Produces("application/json") …

Software Development database java sql
Member Avatar for Smartfitness33
0
400
Member Avatar for Violet_82

Hi there, I am trying to do an exercise from a C++ book. It goes: Develop a program that will move the knight around an empty chessboard. The chessboard is represented by an 8-by-8 two-dimensional array [ICODE]board[][][/ICODE]. Each of the squares is initialized to 0. We describe each of the …

Software Development c++
Member Avatar for yaer
0
3K
Member Avatar for newtocplus432

Hello and thanks for reading my post. I need help converting the fallowing Algorithm into working C++ code, and below is what i have come up with so far, what do i need to do to make this compile? Algorithm: PayCalc 1. CaseOf PayCode = "H" Pay = Rate * …

Software Development c++
Member Avatar for mohannad_1
0
1K
Member Avatar for davecoventry

I have written the following Tkinter script: When I run it, the first thing that happens is the File Dialog box opens without it being called. I am expecting the file dialog box only to open when the "Open Document" button is pressed. import tkinter as tk from tkinter import …

Software Development python tkinter
Member Avatar for davecoventry
0
250

The End.