43,549 Solved Topics
Remove Filter ![]() | |
hi every one, I am making KBC game in C++. To store questions and its options in a file, I am unable to write successfully the character string of question in the file due to spaces between question. So,can anyone tell me how to write a character string having spaces … Software Development c++ file-system | |
Hi, I am developing a WSDL file for a Web Service and I am having a problem with the XSD schema associated with this WSDL. The Schema is below: [CODE] <wsdl:types> <xsd:schema targetNamespace="SNIPPED"> <!-- Classes de apoio --> <xsd:simpleType name="resultadoOperacao" final="restriction"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="OK"/> <xsd:enumeration value="NOK"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType … Software Development xml | |
I have a DetailsView that I use to update some database data. In the footer of the DetailsView is a label I am trying to use as a status message panel. For instance, I display validation errors in this label. After updating a record, which causes a postback, I am … Software Development | |
Hi all, the following code prints garbage values. I want to read from an array two bytes and print then as a short int after doing ntohs. What is the bug in the code? Thanks and Regards, Prashanth [code] #include<stdio.h> struct converter { unsigned short int i; }; main() { … Software Development c | |
Hello guys. I'm building an application that connects to a SQL Server 2008 database via connection string. The thing is, since the computer loading the app (or the user, in either case) is outside the Active Directory domain, I can't use Windows Authentication to connect to the DB. But when … | |
Hello: I was trying to plan a component to collect data from a user. I have two approaches in mind. I was considering a Jtable with editable cells. Can a table be configured to display vertically? Or, I was going to get meta data from the tables and build a … Software Development java | |
Hi, i am writing a program to show all files in a drive including directories but i am unable to correctly implement it.can u tell me about the source code using GUI thanks in advance. Software Development gui | |
hi guys i need help with my project. I am a beginner in Java programming,and recently I came across a project, i am having problem at the start...so i need some guide to tell me how i should do(the steps). My project required us to do a word game that … | |
This is my node and driver class. I need to find the smallest value on the left side of the tree. [CODE]import java.util.ArrayList; import java.util.List; public class NTreeNode<T> { public T value; public List<NTreeNode<T>> children; public NTreeNode(T val) { value = val; children = new ArrayList<NTreeNode<T>>(); } public String toString() … Software Development java | |
I am having a lot of trouble sorting an array. The array contains 140 inner arrays of 3 points (x y z). I would like to sort all arrays based on lowest x coordinate to the highest. I have googled many methods and none of them have worked so far. … Software Development python | |
Hi, I have an XML file that attaches an xsl stylesheet using version that has sorting function at the beginning of the file. At the same time, eason, I would like to put in some other information in the beginning, such as html headers as well. Here is my code: … | |
is there anyway to retrieve and list all the attributes for an active directory user to be used for updating with using the following [CODE] de.properties.contains(propertyName) [/CODE] Just wondering, quite a newbie AD programming, a little guidance thanks Software Development vb.net | |
Hello I'm building a small program like notepad and wanted to know how to make it save and load a file [CODE] Public Class Form1 Private Sub btnClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click txtNotes.Text = "" End Sub Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e … Software Development vb.net | |
Hey guys I was wondering if there was a way to have more than one condition in an IF statement. Thanks Software Development | |
How can I declare a separate function which will be called in case of Run-Time Error to prevent program crash ? Software Development c++ | |
i am currently writing file name showing program i unable to understand that why it's not completely giving me the name of files in a drive exception occurs at the line no 64.if i comment the line no 64.then it will start looping between two or three files show the … Software Development | |
Hey there, So I've looked everywhere for help with my assignment until finally I found this useful service. I'm a C++ beginner and so far the problem solving and coding have fulfilled all expectations. If there is anyone to offer suggestions for my assignment, that'd be amazing! What it is … | |
i want get multiple values if i call i method. example: _____________________________________________ public void setData(int age, string name, string address){} ______________________________________________ Data data = new Data(); data.setData(age, name, address); ______________________________________________ when setData() are excuted he doesn't return the parameters with the values. what can i do? Software Development | |
Hi, im trying to disable a button until anything has been entered into two text boxes simultaneously. So far i have tried: [code] If String.IsNullOrEmpty(TextBox1.Text & TextBox2.Text) Then Button1.Enabled = False Else Button1.Enabled = True End If [/code] However it doesnt work simultaneously, the button will become enabled if i … Software Development vb.net | |
Hi Everyone, I'm doing this assignment and i'm stuck. I'm getting junk for my area calculations. any help would be appreciated. heres my code. CPP file [code] // Ass2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <cmath> #include "BasicShape.h" #include "Circle.h" #include … Software Development c++ | |
Merry Christmas everyone! I'm using Lisp in a Box (emacs + GC Lisp) And i tried making a function which takes a number as argument, adds 1 to it if it's negative, and substracts 1 from it if it's positive. (look) [CODE=LISP] (defun enlarge(x) (if (< x 0) (- x … Software Development | |
Hello this is my first post here, i made this search function and i would like some feedback and or tips. (: [CODE] // Implement your own [search]strstr[/search] function. (Intermediate) #include "stdafx.h" #include <iostream> #include <string> using namespace std; class Search { private: int m_nTextL; int m_nSearchL; int m_nResult; bool … | |
ways to do random variables in array but not repeat , how i can do that? Software Development java | |
HI everyone,,,i am a beginner in c++ & i have an a assignment that i cant even start & i need in advice that i can get so plzzzzzzz help,,, the assignment is about a game [B][U]The Predator‐Prey game [/U][/B]is a simple board game where a set of predators and … | |
I have a question about functions and pointers to functions.... Why does a C program treat a function call to a function and a function call to a function pointer the same? [CODE] #include <stdio.h> #include <stdlib.h> typedef void (*funcptr)(void); void myfunc(void) { fputs("Hello, World!\n", stdout); } int main(int argc, … Software Development c | |
Hey guys. I am currently just a 11th grade student but since I'm done the whole curriculum for my Computers class already, I recently just started making extra stuff for fun. One of things I'm doing is Making a graphical/visual sorting applet. Something like : [url]http://www.cs.ubc.ca/~harrison/Java/sorting-demo.html[/url] I have my code … | |
Hi all, i need a 26 rows by 8 colums check boxes table. i get the number of rows from a data base so i prefere to create the check boxes at run time. the thing is it takes something like 10 seconds on my powerful computer to draw them … Software Development | |
Hi, Can anyone point me towards a working example of a plug-in architecture for C#/.Net 2? I am developing a simple task manager and I want the individual task types to have their own, separately compiled processors. These will conform to a common interface / API defined by the task … Software Development api | |
I am having an issue with my multimap insert. I have looked high and low for a possible solution to this problem. What I am trying to do is make an dynamic hierarchy data structure that has a root element then child elements under it holding values. I thought using … Software Development c++ data-structure storage | |
hi guys. its been a long time but sincerely, am happy to be back. now i've got a problem on my mind and that is; am trying to develop a database application but i want it to be a console application. the major issue is that i dont know how … | |
Hi guys , what i am trying to do is when i select a row in datagrid i see the selected row in a text box,now when i try to edit that row in text box that row in the datagrid gets unselected.how can i keep that row selected. Thanks Software Development | |
Hello, i need to do a program which takes an input sequence of characters from the alphabet {A,B,C} and compresses it by replacing each subsequence of a particular character by a single occurrence of the character, and the length of the substring. e.g. Input : AAAAABBBBBBBCCBBBAABBCCCCCS Output: A5B7C2B3A2B2C5 i dont … Software Development c | |
Hey. I would like to save a txt file from the listbox into a folder that the user chooses. I've got the writing to work, but so far it only saves the file to the debug folder (since I haven't specified another folder) This is what I have so far: … Software Development | |
My English is very poor...there must be a lot of mistake in my expressions. but It would be very kind if you can answer my question... 3Q. In c compiler ( vs 2010 express c++), I tried the code as follow, 0 error 0 waring. In C++, it is the … Software Development c | |
Hi All, Does anyone know good and reliable "Open Source"object oriented database for use with c#. My Database will contain about 500 mb to 1 Gb of data. Thanks, Software Development c# open-source | |
hi guys, i am planning to undertake a massive project which would be something to do with wii remote as i am aware the wii remote communicate with the console or computer via blue-tooth. i was wondering what sort of data wii remote sends back to the computer or a … Software Development java | |
Hi folks: Once again, working w/Python in Maya, a 3D animation app. I'm using a potentially time-consuming procedure to generate a list of commands, and I want to store the list in the Maya file. The best solution I can think of is to convert the list to a string, … | |
Hi, I was working on Josephus problem, where I have to make a circular linked list and having errors in it. Will really appreciate if anyone can help me. The following method is in Node Class: void link(int num_people, Node* temp) { int n = num_people; [B]head->next = new Node;[/B] … Software Development c++ linked-list | |
Hi! I dont have enough knowledge about making report there in vb.net. Let me explain what I want to do. I have a combo box there in my form. When user will run this form combo box will get ID number from database. When user will select ID number from … Software Development vb.net | |
I'm reading in a text file that contains a little custom script. However, one line of that script gets ignored and I can't figure out why. Script: [CODE]# Test Case #1 - Simple Movement RESET FORWARD 2 PAUSE 1 REVERSE 2 PAUSE 2 TURNRIGHT 2 PAUSE 1 TURNLEFT 2 PAUSE … Software Development c | |
I study manual "Think Python: How to Think Like a Computer Scientist by Allen B. Downey, Version 1.1.22, chapter 13, 13.6 Dictionary subtraction. There is an exercise 6. I did it by not using set types. The result will be the same? Pls can you show me how to use … Software Development data-structure python | |
Hi all. This has been bugging me for hours. I do a simple text book passing of a filehandle to a function and get a bundle of errors. my func : int appendVVmatrix(VVdouble &mat,ofstream& outF){ if (outF.is_open()){ for (int i=0; i<mat[0].size();i++) { for (int j=0; j<mat[0].size();j++) { char num[40]; sprintf(num,"%f",mat[i][j]); … | |
Hi, I have used an open source code from codeproject to read email from incoming mail server(POP Server). The code can be found at following location: [url]http://www.codeproject.com/KB/IP/Pop3MimeClient.aspx[/url] So far it works fine i can read emails. My objective of using this code was to retrieve emails from POP server and … Software Development client-server email open-source | |
i've been been trying to decipher what is wrong with this code for some time, help would be apreciated. It is an application in visual studio 2008 with c#, when a user puts in a number, the application checks the number to make sure it is a number, then if … Software Development visual-studio | |
Dear Members, I am developing a desktop application on “Attendance and Payroll Management System”. To develop this I am using [B]C# and MS SQL Server 2005[/B]. I would like to build this based on [B]Unicode characters so that all the data from user interface can be stored in the database … Software Development c# user-interface | |
Hy, I have 4 combo-boxes and each one has a RefreshableValueHolder. If I change the value in one of them, I would like to automatically change contents of the others. I know I have to use the refresh() method of this class, but I cannot figure it out how. for … Software Development java | |
Hello again, I will go straight to the point. I have two files one that is called student.dat and the other is called grades.dat . Student.dat has the following items in it : 20092112 Anthony Haykal 20084564 John Doe 20075640 James Bond 20045678 Cynthia Smith 20092134 Jennifer Hajj grades.dat has … | |
Hi Everyone, I am a beginner with java, please pardon my stupidity The program below is not working and I have this error. Please let me know what I am doing wrong. public class test { public static void main(String[] args) throws Exception { String Month = "May"; if ( … Software Development java | |
Hi Guys, I wonder if you will be able to help me with creating a password generator in VB using VS 2008. I have limited programming knowledge from my time at university and it wasn’t my strong point :). What I want to do is have a front end which … Software Development vb.net visual-basic | |
I was wondering whether it was possible to use dynamic memory or something else to achieve something to the effect of entering numbers or a string using standard input without first having to specify how many instances you intend to enter. If this can be done through some other method … Software Development c++ motherboards-cpu-ram |
The End.