43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Sw8Lala

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
Member Avatar for Sw8Lala
0
171
Member Avatar for komyg

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
Member Avatar for komyg
0
285
Member Avatar for SBA-CDeCinko

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
Member Avatar for SBA-CDeCinko
0
160
Member Avatar for prashanth s j

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
Member Avatar for prashanth s j
0
194
Member Avatar for ndeniche

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 …

Software Development sql vb.net
Member Avatar for ndeniche
0
844
Member Avatar for ceyesuma

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
0
43
Member Avatar for onlinessp

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
Member Avatar for tanor
1
111
Member Avatar for monmonsnow

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 …

Software Development java oop
Member Avatar for NormR1
0
261
Member Avatar for SoggyFries

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
Member Avatar for leiger
0
183
Member Avatar for Pineapplesf

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
Member Avatar for vegaseat
0
13K
Member Avatar for ajwei810192

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: …

Software Development html-css xml
Member Avatar for ajwei810192
0
187
Member Avatar for SiahCheePing

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
Member Avatar for G_Waddell
0
125
Member Avatar for Ellitivity

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
Member Avatar for G_Waddell
0
145
Member Avatar for Atlantistwo

Hey guys I was wondering if there was a way to have more than one condition in an IF statement. Thanks

Software Development
Member Avatar for kvprajapati
0
164
Member Avatar for arpal

How can I declare a separate function which will be called in case of Run-Time Error to prevent program crash ?

Software Development c++
Member Avatar for Aranarth
0
121
Member Avatar for onlinessp

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
Member Avatar for nick.crane
1
385
Member Avatar for doc15

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 …

Software Development c c# c++
Member Avatar for doc15
0
1K
Member Avatar for tchiloh

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
Member Avatar for tchiloh
0
113
Member Avatar for Ebisu

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
Member Avatar for SiahCheePing
0
121
Member Avatar for paraug99

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++
Member Avatar for paraug99
0
84
Member Avatar for TotoTitus

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
Member Avatar for Ghost_Buster
0
117
Member Avatar for Andreas5

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 …

Software Development c++ seo
Member Avatar for Andreas5
1
161
Member Avatar for mohamed mo'men

ways to do random variables in array but not repeat , how i can do that?

Software Development java
Member Avatar for NormR1
0
59
Member Avatar for eng hassan

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 …

Software Development c++ oop
Member Avatar for eng hassan
0
118
Member Avatar for gerard4143

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
Member Avatar for gerard4143
0
176
Member Avatar for insanely_sane

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 …

Software Development ide java
0
110
Member Avatar for zismad

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
Member Avatar for zismad
0
182
Member Avatar for SimonSellick

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
Member Avatar for SimonSellick
0
168
Member Avatar for matthewl

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
Member Avatar for matthewl
0
196
Member Avatar for Netcode

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 …

Software Development sql vb.net
Member Avatar for finito
-1
1K
Member Avatar for sdhawan

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
Member Avatar for nick.crane
0
102
Member Avatar for manutd4life

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
Member Avatar for manutd4life
0
166
Member Avatar for ereruh

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
Member Avatar for ereruh
0
242
Member Avatar for niyujin

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
Member Avatar for gusano79
0
201
Member Avatar for seebharath

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
Member Avatar for gusano79
-1
880
Member Avatar for gedas

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
Member Avatar for gedas
0
113
Member Avatar for pixeldroid

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, …

Software Development app-store python
Member Avatar for pixeldroid
0
175
Member Avatar for achieve_goals

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
Member Avatar for achieve_goals
0
113
Member Avatar for Kingcoder210

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
Member Avatar for Luc001
0
105
Member Avatar for idlackage

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
Member Avatar for Radical Edward
0
98
Member Avatar for vlady

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
Member Avatar for vlady
0
81
Member Avatar for adamomo

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]); …

Software Development c++ redhat
Member Avatar for adamomo
0
183
Member Avatar for nccsbim071

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
Member Avatar for kvprajapati
1
323
Member Avatar for nozzers

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
Member Avatar for kvprajapati
0
81
Member Avatar for neo.mn

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
Member Avatar for kvprajapati
0
111
Member Avatar for end3r

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
Member Avatar for end3r
0
98
Member Avatar for ahaykal

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 …

Software Development c++ ios
Member Avatar for ahaykal
0
107
Member Avatar for rmsagar

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
Member Avatar for rmsagar
0
92
Member Avatar for Dazamondo

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
Member Avatar for Luc001
0
228
Member Avatar for AspiringCoder

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
Member Avatar for mrnutty
0
144

The End.