132,728 Archived Topics
Remove Filter ![]() | |
i have written the following code for an add fucntion for a linked list implementation. when i run it, it runs correctly. when i went to class today, i found i had made a mistake. my add function adds only a student data type, whereas the assignment was to make … Software Development c++ linked-list | |
Simple assignment - create a java program to print j a v v a j a a v v a a j j aaaaa vv aaaaa jj a a v a a I'm using a 2d array rather than escape characters and print sequences but can anyone thing of a … Software Development java | |
[CODE]background_image_filename = 'sushiplate.jpg' sprice_image_filename = 'fugu.png' import pygame from pygame.locals import * from sys import exit pygame.init() screen = pygame.display.set_mode((640, 480), 0, 32) background = pygame.image.load(background_image_filename).convert() sprite = pygame.image.load(sprice_image_filename) # our clock object clock = pygame.time.Clock() x1 = 0. x2 = 0. # speed in pixels per second speed = … Software Development python | |
Hey guys, I need some help with this code I have. I'm running into several issues at the moment. 1 - I don't know what bitwise operators to use for finding the difference of A and B 2 - When the Union and Symmetric Difference calculate, the outputs aren't displaying … Software Development java | |
hey friends..i'm trying to make a program to find the largest prime factor of a number of 12 digits.but i'm unable to figure out that what's the appropriate variable type for that.can u guys help me... [CODE]#include<stdio.h> int main() { int c2; unsigned long nbr=600851475143,lprime=2,prime,n=3; do { for(c2=2;c2<n;c2++) if(n%c2==0) break; … Software Development c | |
Alright I was given a link ([url]http://support.microsoft.com/kb/195192[/url]) along with [b]InternetSetOption(0, INTERNET_OPTION_END_BROWSER_SESSION, 0, 0);[/b] and told it should force 2 browsers in the same application to use 2 different cookies. I ran it through the code translator and got the following. [code=c#] const int INTERNET_OPTION_END_BROWSER_SESSION = 42; [DllImport("wininet.dll", EntryPoint="InternetSetOptionA")] private static … Software Development web-browser | |
I have too make an application in C that uses a dictionary. I have 54000 words in a file, on per line and I need a way to handle it. - I first wanted to keep it in an array but as it's bigger that INT (32767) I cannot do … Software Development c | |
Hi everyone, I'm in a situation where I would like to have a ServerSocket that listens on a specific port. However, if this port is already taken, I would like to listen on a different port. How can I advertise what port my Java program is listening on, so that … Software Development java | |
Hi, i know this topic was here several times, but all threads are very old and codes from them are not working for me. So, I need to simulate mouse and keyboard events on my windows (moving mouse,clicking mouse, pushing keyboard buttons). I need to do this all from c++ … Software Development c++ visual-studio | |
Can anyone help me? I'm trying to display a date range from a Saturday to the following next Friday (every two weeks) in an asp:listbox for the past 12 months. I.e., would show something like: 9/11/2010 - 9/24/2010 8/28/2010 - 9/10/2010 8/14/2010 - 8/27/2010 etc... I'm using asp.net c#. Any … Software Development asp.net | |
i have been given a series and ihave to find its sum. i'm just a beginner so pleese keep ur program simple; series is like this; 2^2 + ( 2^2+ 4^4) + (2^2 + 4^4 + 6^6).... take in number of terms from user. Software Development c++ | |
I am trying to return the last value of a list: [CODE] public int GetControllerState() { // return the last controllerState in the list if (controllerStateList != null) { if (controllerStateList.Count > 0) { return (int)controllerStateList[controllerStateList.Count - 1]; } else { return 0; } } else { return 0; } … Software Development | |
hello guys, sorry if it's wrong topic name but in accelerated c++ book and in chapter 2 exactly i have a problem [CODE]#include <iostream> #include <string> // say what standard-library names we use using std::cin; using std::endl; using std::cout; using std::string; int main() { // ask for the person's name … Software Development c++ | |
i am making a command line interpreter for an os course. the preoblem statement says that i have to log the output of every command i type in this interpreter along with the usual display in the stdout. how do i do this? i have used dup2 to redirect the … Software Development c | |
There's a map for that. And now nonprofits can get it for free. ESRI, the company that produces the ARCView series of geographic information systems applications, [URL="http://www.esri.com/nonprofit/index.html"]announced [/URL]today its Nonprofit Organization Program, intended to provide copies of the seminal mapping software for free to nonprofits. "The Esri Nonprofit Organization Program … Software Development politics | |
Hi I have to write a simple client server application using TCP sockets to implement a movie server application (for MPEG files) whereby clients can register to a main system (server) and then watch movies. The problem is I don't know how to send video files over tcp, can someone … Software Development audio client-server java | |
I've built my fair share of computers and figured it was time to learn to take advantage of that hardware by learning to program. So I'm taking some courses online. I'm having some issues writing some programs though, so any help would be appreciated. Right now, I'm stuck on this … Software Development python | |
Hello, How would I count the number of files in a directory? Thanks! Software Development java | |
I have a SQL table that contains spam or naughty word phrases. I'm trying to decide how to take some text and determine if any of the values in the table exist in my text. In the past I have selected all of the phrases out of the database and … Software Development sql | |
Hi everybody, I recently created my first full application and have since passed it along to my friend for testing. Unfortunately, on his laptop, the executable, when double clicked, will act as if it is launching, show up in task manager, remain in task manager, but will not launch. The … Software Development c++ | |
I'm trying to populate my textboxs with data from my database when the user name is selected but I'm having trouble getting the code right. Help Please! table users (there is a textbox for each of these fields) password lastname firstname Using upcmd As New SqlCommand("SELECT * FROM users WHERE … | |
| |
I have seen similar posts but could not find the exact answer that i can understand. I have to store and print the value which will 2 power 5 digit number. ex: 2 ^ 55555 2 ^ 99999 etc ... Please help me [B]coding:[/B] C [B]Compiler:[/B] DevC++ Software Development c | |
Okay, We have a Laboratory Exercise that, asks a user to input his/her name and gives an output of its initial (from the input NAME). example: My name is Dani A. Ona and the output is >> D A O. My instructor said that I will use `CharAt()` ... is … Software Development java | |
hi everyone!!! need some help here, im having a hard time in passing an image to another form, i have two forms (form1 i have a picturebox, in form 2 i have a combobox, a picture box and a button), when i select from my combobox a picture will be … Software Development image | |
Consider a single linked list with 'n' nodes and other single linked list with 'm' nodes At the 'k'th node in 'n' ,the second linked list merges at some part of it .. jst like the shape Y Now i was asked to find out the address of Kth node … Software Development c linked-list | |
I Have a PDF Folder containing pdf files with the names ( sp_1.pdf , sp_2.pdf etc.....) In my word files , I have the text : " and it was created under the rule sp_1 in order to acheive the level we are working for that is sp_2 " so … | |
hello guys..i have a question..Is it possible to make the time running in datagirdview? and also if it is possible to make the update of two form combine in 1 form for example you have a customer form that you save, update in database and another like for employee that … Software Development vb.net | |
Hi! I am using a label widget in order to display a n rows and m columns matrix. My program allows repeated generation of a random matrix of integer (of arbitrarily number of rows and columns) - I am observing these matrices by representing them in a Label type widget. … | |
Here's the problem. Bought a new wireless printer, HP B209a. Have a wireless router, Belkin, been using it for years. I take it, the printer, out of the box, follow all the instructions on setting it up, run the setup program in a laptop, following all on screen instructions. It … | |
Suppose B class inherits A. Then the following code works. [CODE]A ob; ob=new B(); [/CODE] but the following throws an ArrayStoreException : [CODE]A ob[]=new B[2]; ob[0]=new A();[/CODE] Is [B]ob[0][/B] a reference of type A or B ? In the first code, [B]ob[/B] was a reference of type A and therefore … Software Development java | |
Hello i need help about detecting any series items in a list box. suppose two or more series items are "glass01" "glass02" "glass04" "glass03" "glass05" "marvel" "apple" "mango001" "mango002" "mango003" "mango004" "book" "pen" these items are list1 item. the series may be in different string. here two series glass and … Software Development apple visual-basic | |
Im pretty new to Python (2.7) and no programming experience before. Anyway Im in the process of learning python but have a mysterious error that I can't figure out. Whenever I put equal sign in print statement, I get syntax error. here's an example code [CODE]def main(): f = open('lines.txt') … Software Development python | |
Hi again. I just wrote here to ask for a little help yesterday, so I got the help and worked that out, and I'm just curious about something I am going to do in the following couple of days, as soon as I work the network part of this project. … Software Development data-structure java | |
PLease Tell me how to mark as solved in DaniWeb. Thank You Software Development | |
Hy...My name in Alin , and I'm new using Java language/code . I'm trying make a little / simple JAva desktop aplication . Sometthing like phone book , but very very simple . I using Neatbeans 6.8 and mysql-essential-5.1 .I maked interface of that project using Java swing , I … Software Development java java-swing | |
in my problems, i want to use event keyboard press 'Enter' on textbox, i'm very confuse because in event property from textbox there was Enter, but after I double click and read statement in that, after i test my program, there was nothing , please help thanks before :) Software Development vb.net | |
Hi all this my first thread to me here ,and i wish u help me I wanna start learning java ee and i don't know from where could i start. i am waiting your advise . thanx in advance. Software Development java | |
from random import randint correct = 0 for i in range(10): n1 = randint(1,10) n2 = randint(1,10) prod = n1 * n2 ans = input('What's %d * %d? ' % (n1,n2)) if ans == prod: print('That's Right! Well done.') correct = correct + 1 else: print('No, I'm afraid the answer … Software Development python | |
Hi, i would like to share you my problem in order to get solution `cause i gonna be crazy :( Actualy when i do click to insert button in my form i get this error: [ATTACH]17077[/ATTACH] the strange is when i close this window and i do click again the … | |
I'm using Mastering Visual Basic 2010 <book and it tells me... In a button's Click event handler, declare two variables as follows: Dim a As Single, b As Double Then enter the following statements: a = 1 / 3 Debug.WriteLine(a) Run the application, and you should get the following result … Software Development vb.net visual-basic | |
Dear All, Please Help Me i want to write a code in asp.net using c# to list previous, current and next 3 years in dropdownlist dynamically at page load without using table. Thanks and regards, Dipti | |
hi, Does someone have a good books(if free fine but commercial even oky) on code reviewing and industry c++ projects? I mean how I could do a professional code review according to the industry standards? I need to read a one and want to listen from the experienced ppl in … | |
How can I delete specific record from mshflexgrid? For example mshflex grid is showing data from monthly_instal table. Now I want to delete record from this table. I have written code to delete record from that table but its deleting record one by one like 1 2 3 4. I … Software Development visual-basic | |
Hi all, I'm fairly new to VB. I'm working on a Windows forms app that will average a set of numbers, the only catch is that there are 10 textboxes(4 in the example for times sake), and not all of the textboxes could be filled with a number... I know … Software Development mathematics vb.net | |
For the past few hours I have been pouring through hundreds of internet articles, blogs and posts in various forums regarding interfaces. I get a general idea that it is basically a class with no implementation at all...a "skeleton" if you will. I was hoping for an a-ha! moment that … Software Development ![]() | |
[code] hi, i have been having an endless problem with the save button for some time and i am also new in here. Actually, here's how my problem defines: i was developing my own project in the university so what i am stack is to have save button which firstly … Software Development vb.net | |
hello...how can i make my post thread solve if it is already answer? Software Development vb.net |
The End.