43,549 Solved Topics
Remove Filter ![]() | |
![]() | Hello guys This time the problem is basic, I want to install Windows Mobile SDK for Pocket PC so I downloaded and opened it, it shows me the first screen of the installation, but when i click next it shows an error telling me that not all of the development … Software Development visual-basic visual-studio ![]() |
Dear all, I am completely lost and I don't see at all my mistake! I thought this would be a very easy step in the building of my classes. Thanks a lot for your help! In the context of graph theory, I have a class Node. As attribute of this … Software Development c++ | |
[CODE] my %distAvail; foreach (map(split(/\D+/,$_),<STDIN>)) { $distAvail{$_ }++; };[/CODE] What does [COLOR="#ff0000"]$distAvail{$_ }++;[/COLOR] mean here? The input is set of distances separated by whitespace (or any non-digit character). The book says %distAvail keys are distances and whose values give the number of copies of the key. But I don't understand … Software Development perl | |
I have a Splash Screen (which is the first thing that loads). and after 10 seconds of viewing the splash screen i want a form to appear... is that hard to do? Software Development display visual-basic | |
Hi, Can anybody tell me how to access hard disk partition information or MBR content through Visual C++ Programming? Suggest me how should i do programming and which API i should use for this purpose. Bye..... | |
I have the line [code=c++]#include <algorithm>[/code] at the top of a file, and the line [code=c++]nth_element(minRollArray,minRollArray+n,minRollArray+numSets);[/code] in one of the fuctions in that file. However, when I try to compile it I get the error error C3861: 'nth_element': identifier not found at that line. I would expect this if I … | |
Hi guys, am currently creating a client/server program. However im having trouble reading from a text file. Im not sure whether fgets or fread is better in my case. Basically my program requires user to input a country, and the program will display its details out.My question is, what method … Software Development c client-server file-system ubuntu unix | |
Hi, I would like to know if it is possible to obtain a color picker in c#, something similar to the properties dialog box in .NET. My application requires choosing the color dynamically. I know that there is a ColorDialog control, but I assume that the color picker is far … Software Development | |
I'm using a dictionary to store my Foo classes. [CODE] class Foo { int i = 0; public void Update() { i++; } } Dictionary<string, Foo> fooDictionary = new Dictionary<string, Foo>(); [/CODE] The dictionary contains [CODE] fooDictionary.Add("MrFoo", new Foo()); fooDictionary.Add("MrsFoo", new Foo()); fooDictionary.Add("BabyFoo", new Foo()); [/CODE] How can I iterate … Software Development | |
I installed c++ and started to write a new simple program.But i got a warning "Function should return a value". The source code is correct and the directories are also correct. What should I do? Pls help.... Software Development c | |
Basically, I didn't know where to put this so I choose the Super of the 2 Languages. Our lecturer gave us an assignment to lay out diff. b/w C & C++, which started with a rather dirty spurge of concepts. He stated: In C program , the MAIN() should NOT … Software Development c++ | |
Hello everyone. I already know the C code required to use SQL statements within C++. Using mysql_real_connect, I was able to establish a connection to a remote MySQL server. The problem is, even though mysql_real_connect did not RETURN NULL, (meaning that a connection to the mysql server was established) I … | |
how i can print something , i was write it in textarea , labele , any thing by printer alike word ? | |
Write a program that reads in a positive integer N and calculates and displays the sum of the first N even integers. For example if N is 6, the program should display the value 42, which is: 2+4+6+8+10+12=42. Caution: You need to write a program to do the addition. If … Software Development c++ | |
Hi All, I am a newbie and am traking a course in Aptech for C++. Now my instructor asked me to make a program to create, display and insert nodes in a circular link list. I have made the following code: [CODE]#include "stdafx.h" #include <iostream> #include <stdio.h> #include <new> class … Software Development c++ | |
I'm trying to create a string array, but the compiler keeps giving me an error message on the lines I assign a value to each index of the array. Here's the code: [CODE]String[] greeting = new String[4]; greeting[0] = "Why, Hello there!"; greeting[1] = "Welcome."; greeting[2] = "blah blah blah"; … Software Development java | |
class Superclass { void display() { System.out.println("Super"); } } class Sub1 extends Superclass { void display() { System.out.println("sub class1"); } } class Sub2 extends Sub1 { void display() { System.out.println("Sub class2"); } void display2() { System.out.println("Second method"); } } public class reference { public static void main(String[] args) { Superclass … Software Development java | |
Take for example, the number 74.38145. The user inputs how many decimal points they wish to have displayed via the sprintf_s function. I can't for the life of me figure out how to best do this. I know how to display the float to a set number of decimal points: … Software Development c++ | |
Hi guys, i compiled a program but i have this vague error message that occured. Searching through google.com states that it might be due to many problems such as invalid pointers, etc, etc. Im a fairly new person to C prog, so i would like to seek your advise on … | |
Hi everyone, I'm having a little problem I'm sure someone can help me with. I'm trying to read in 10 png images and save them in an ArrayList as BufferedImage objects (I think this is the right way to go about it but if not plaease say so). Here is … Software Development java | |
I want detailed explanation about static int var; final int var; static final int var; Please explain it in the memory implementation level. If there is any mistake in these please explain. __________________ Software Development java | |
Their is difficulty in changing the name of the columnheader of list view constantly by using the loop in button click method...Is their any way to change the textname by using loop??? :S Software Development listview | |
[CODE=cpp] while (j < i) { cin.ignore(); cout << "Please type enter to display: "; cin >> enter2; if (strcmp(enter, enter2) == 0) { cout << "ID: " << students[j].ID << endl; cout << "Name: " <<students[j].name << endl; cout << "Address: " <<students[j].address << endl; cout << "Telephone: " … Software Development c++ | |
I'm making an application which searches all the lines of my text files in a directory, and writes the specific search match to my output box. The only problem is I need to split a string like this: [CODE]character-item = 0 996 1500000[/CODE] How it works: You search for the … Software Development | |
Hi How To Make This Faster [CODE] Private Sub MonMove() For A = 0 To (Cnt - 1) MyControlArray(A).Location = New Point(MyControlArray(A).Left _ - 1,MyControlArray(A).Top) Next End Sub[/CODE] first i make A Hundred of PictureBox Later I use Array How To Make it Faster ,When It Appear More than 20 … Software Development vb.net | |
I've written the following binary search algorithm and it worked on [i]my[/i] tests. I want to know if there is something I'm missing, as this is the first time I try to write it, so give me a case in which it would fail, and I'll try fixing it. I … | |
Hi. So far I have been moving along relatively steadily with my learning of C#. One thing I havently really bothered with yet is try and catch. The reason I havent looked into this is I dont really know in what cases I would need to use it. So my … Software Development | |
Can i show any other word instead of "null" in an array ? Software Development java | |
Hi.. I've been trying to get this to work for hours now but I'm not understanding what to do. Basically I'm creating a quiz on python with 5 questions. I have a function that is only for the quiz. Another function is to display the highest quiz score. I want … Software Development file-system python | |
I am having a problem with the data I have collected. When I write the data to a file it is shown like this. (231.2314,32434.344,134.2342,345.345,1234.45) (2323.567,32.6754,12323.8776,12323.575,233.5673) now when I read data and put it in a list it looks like this. data = ['(231.2314,32434.344,134.2342,345.345,1234.45) \n','(2323.567,32.6754,12323.8776,12323.575,233.5673)\n'] is there any way i … Software Development python | |
Hi Guys! Lately starting to make a project which involving calculations in it, Unfortunately I got some trouble because the calculation which is displayed out is wrong. The main idea is that I set a event where you pay 5 "Gcoins" to play the "paper scissors stone" game against the … Software Development pay-per-click vb.net | |
Hi people, I am trying to read a text file and count each words length. I have got these 2 things working, but I can't write the wordLength into text file. anyone can help me out. thanks a lot~~ there is the text file like: ------------- absent absolute absolutely absorb … Software Development c++ | |
I am trying to finish this hangman game I started. I know how to do everything I have left to do except for one thing. When I run the program and start guessing letters for instance in the word technical, if I guess the letter c, it only puts one … Software Development c++ | |
[CODE]import pygame from pygame.locals import * from sys import exit from random import randint pygame.init() screen = pygame.display.set_mode((640, 480), 0, 32) while True: for event in pygame.event.get(): if event.type == QUIT: exit() rand_col = (randint(0, 255), randint(0, 255), randint(0, 255)) for _ in xrange(100): rand_pos = (randint(0, 630), randint(0, 479)) … Software Development python | |
Hi Guys! I coded my textbox to be only type in numeric numbers. But the backspace doesn't work when I run the program anymore, Can't delete what has typed in the textbox. Anyone can help me? Here is my code [CODE]Private Sub AmountTextBox_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) … Software Development vb.net | |
Hey guys, I really appreciate your help so far! :) This one is a tough beast... I don't even know how to approach it. Let me give you a summary version and a detailed version. Summary version: There are all sorts of these XML files scattered within a bunch of … | |
Hello, I really need help with my payroll program. I just need to input the name, wage, hours, and then get an output with the results. The output needs to show employee name, rate, wage, and total pay. here is what I have written so far. Please help! I am … Software Development java | |
Hi Im trying to get this code to fill in the forms (works without the code making the error) i have tried and tried but i have no clue can you please point out the problem and show me the solution or a fix i am being pushed to the … Software Development assembly web-browser | |
I have the following code to find first and second largest elements of an array: [CODE] using namespace std; #include<iostream> #include<conio.h> #include<cstdio> #include<string.h> int* create(int); int maximum(int *,int); int second_max(int *,int); void freememory(int*); int main(void) { int *p,size; cout<<"Enter size of the array:"; cin>>size; p=create(size); cout<<"\nMaximum elemnt in the array … Software Development c++ | |
suppose we have following function: [CODE]void someFunction(int * araye){ for (int i=0;i<5;i++) cout <<araye[i]<<' '; cout <<'\n'; }[/CODE] can we pass an array to this function by following syntax, under upcoming c++0x standards? : [CODE]someFunction({1,2,3,4,5});[/CODE] if that's true, will we even be able to use this syntax in any case … Software Development c++ | |
Hello everyone. I have managed to connect a winsock client to a server application; however, I do not know how to display the results that are recieved inside of my "recv" buffer as a unified string, as apposed to the char array format it is currently in. I would like … Software Development c++ client-server display | |
Hello, I'm new to this forum. Right now I'm developing a software based on Genetic Algorithms. I really have almost none experience, and I have a question. First of, this software is a prototype, a template. So the user can choose between a lot of choices (types of crossing and … Software Development engineering vb.net | |
For my application we use scan guns to scan barcodes to do various things. My issue is with tabbing. We scan a barcode that represents the ">" sign. When focus is on the combobox box and they scan the ">" sign it places the ">" in the combobox. How can … Software Development java java-swing | |
good morning guys I have a question that am hoping someone can answer for me I am using vs 2008, and have put the sql database into a program that is being built. the database fields all work fine...I am able to make entries, save it, close it out and … | |
hi I can change dictionary values but I can't figure out to change the keys.. here is the scenario I want.. A dictionary is coming like this {'fstn':'Tim','lstn':'Parker','mdl':'W','dob':'19801201'} now I need to change to {'FIRST_NAME':'Tim','LAST_NAME':'Parker','MIDDLE_NAME':'W', 'BIRTH_DATE':'19801201'} please help me to change the keys.. Software Development python | |
Hi I'm very new to Python Language, I'm getting this error "AttributeError: 'str' object has no attribute 'internalSplit'" and don't understand why. please check the following code.. [CODE] sourceAction = str(sourceAction); identityInfoDict = dict(identityInfo); for key in identityInfoDict.keys(): if(key.find("GENESYS_DATA") >= 0): intDict = self.internalSplit(key,identityInfoDict)[/CODE] and the internalSplit is a function … Software Development python | |
Hey there folks. New at this so forgive any mistakes, first post. I'm beginning to learn c++. Not so easy. After reading a few threads went to project euler. Problem i have is problem 3. " The prime factors of 13195 are 5,7,13 and 29. What is the largest prime … Software Development c++ | |
Hello. I am having a problem. I am attempting to gather a group of file names from a directory. I am able to do this. I tested the code by having the list populate into a listbox and all desired items were added to the list. Here is my code: … Software Development file-system vb.net | |
I'm new to Python and I'm having a problem I can't explain. While running: [CODE] >>> open('word.txt') [/CODE] it returns: No such file or directory: 'words.txt', even if I have both files saved in the same place. I've tried entering the entire file location, but still no luck. Any help … Software Development python |
The End.