43,549 Solved Topics
Remove Filter ![]() | |
I have a few assignments to get done, but I figured I'll post one to see if I'm the right track. If so then what I did will greatly help me. Here are the requirements [quote]Create a simple Dog class that has the following private fields (age (int), gender(char), name(string), … Software Development c++ | |
Hi C experts, In my code I have got #pragma extern_prefix (push, ""); Some extern function declarations #pragma extern_prefix (pop, ""); So that compiler does not prepend anything to those extern functions , I get an error error #14: extra text after expected end of preprocessing directive Does anyone know … Software Development c | |
Hi guys, Not sure where to ask this so I figured I'll start with C#. I would like to write a windows service that will allow some external device or authentication provider to log a user into windows. For example, a finger print reader can log a user into windows … Software Development | |
I have written some code to dynamically allocate memory for a 2D matrix. I am using overload operator to perform functions on the matrix naturally. I am having memory issues (Unhandled exception at 0x... Access violation reading ...). Here is my class, header, and main code. The code builds fine … Software Development c++ | |
Hi, I wish to read the file twice. I am using ifstream to read the file. I tried using rewind(File pointer). But i get an error. How can i do it. Thanks Software Development c++ | |
I wrote the following function for my assignment at college. The whole thing is working flawlessly. This function requires me to create a box on the screen as follows: [QUOTE] int console_Box(int row, int col, int l, int h, char edge, char top_btm, char ls_rs) This function displays a box … Software Development c | |
i start to w3shools xsl tutorial and created one xml and xsl file and linked them together, after running the xml file i got the following error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh … Software Development xml | |
I have an application with Hotkeys installed. when the hotkey is pressed, the application comes to the topmost, or bottommost z-order. I have used SetwindowPos api. The problem, however, is that in as much as the window is the topmost, it is not active, so it does not receive input. … Software Development api visual-basic | |
I'm trying to use VB.NET to insert the data in the current row of my datagrid into a table. I wrote the following code: [CODE] Dim vCustomer, vBulkQty, vItem, vBaseUnit, vEachQty, vEachUnit As String vCustomer = dgCustomers.CurrentRow.Cells(0).Value vItem = dgItems.CurrentRow.Cells(0).Value vBulkQty = dgItems.CurrentRow.Cells(3).Value vBaseUnit = dgItems.CurrentRow.Cells(4).Value vEachQty = dgItems.CurrentRow.Cells(5).Value vEachUnit … Software Development vb.net | |
hi...can somebody give me a little help here. i get error message : 'file' object is not callable its a program that call shell script (shell script run "fusion.deb"). here`s the code: test.py [CODE]#!/usr/bin/env python import sys import os try: import pygtk pygtk.require("2.0") except: pass try: import gtk import gtk.glade … Software Development file-system python xml | |
I have Dictionary that I update time after time and the dictionary result get inserted to the wxListCtrl in report mode. The problem comes when I insert new data. It seems that the unicode character (u') is also get inserted as part of data. Is there any way to strip … Software Development python | |
I had learned that JVM will collect only the freed memory location during the garbage collection..That is if an object had a reference, then it will not be collected... My doubt is, will the JVM collect all the used location whenever it goes out of the method..That is . [ICODE] … Software Development java | |
gud day I made a software in which it is possible to save data to an Excel sheet. Now, I would like to program that one can open this sheet and the saved data is then (automatically) loaded into some textboxes of the forms in the VB software. The data … Software Development visual-basic ![]() | |
Hi, I have recently jumped into the realms of C# and I am having some trouble with editing properies accross threads. From what i have managed to research thus far i beleive i need to use the Invoke() method, however i am not quite sure how to go about this … | |
I need some help with a project. I'm trying to print out all possible combinations of a number grid. For example: 1 3 2 5 4 2 4 3 1 5 5 3 4 2 3 4 3 1 5 2 5 3 4 1 2 The numbers are randomly … Software Development c++ | |
Does anybody know how to indent in the java code and then once then one you run the application the output is displayed with the indentation you created. Anyone's input in this would be helpful. Software Development java | |
Hello Everybody, If you plz am fresh graduate and now am asked to do project and to use barcode..... really I dont know anything about barcodes, I've searched the internet , i knew that there are fonts... (code39,...) If i have a barcode field saved in db, if i read … Software Development vb.net | |
I tried to search for other threads to answer my question but couldnt come up with anything that I could think of to describe what I was looking for well. My assignment is this: Write an application that shows the sum of 1 to n for every n from 1 … | |
Hi people. I have this code and I am stuck on trying to get a 'call by reference' to work properly. I need to convert Celsius to Fahrenheit and Fahrenheit to Celsius. I am not sure what is wrong with my code. Remember that I have to use a function … Software Development c++ | |
hi, i just have many questions regarding abstract class, please briefly explain if you may. thanks. 1. what is the difference between declaring public abstract class and abstract class ? 2. should abstract class have a constructor? i know by default it has one, but since abstract class doesn't have … Software Development java | |
HI! i need to create a program that lets user input as many numeric grades as they like.... in return they get the letter grade for each and the their grade average, minimum, and maximum. this is all i have so far...... import TerminalIO.KeyboardReader; public class LetterGradeWLT { public static … Software Development java | |
Hi. I have written a program to build an array and move values around until a point of "equilibrium" is reached. It then records how many of each number there are and outputs them to a file. My program works in part, but sometimes encounters a seg fault (I think … Software Development c | |
I just started nightschool to learn c# (learn programming at all) We got an exercise where we need to test for a palindrome We were asked to put the test in a function and then call the result in a messagebox. I'm kinda stuck on the last part the calling. … Software Development | |
Hi. I am working on my Final for my Intro to C# class so yes I am new and my code is pretty unprofessional probably. We are required to use a array or a class to read addresses from a text file and display them in the GUI. We should … Software Development gui visual-studio | |
Hi, I tried creating multiple bitmaps on top of each other but cant seem to get the result i want: currently i have one bitmap that is the background and another bitmap that is supposed to be an animal and will be on top of the background. this is my … Software Development c++ | |
I am trying to create an array of integers from a list of strings to do some calculations, but all I can get is an array of strings or an error. Does numpy have any functions to do this? any help at all would be much appreciated. infile: 23 CL … Software Development python | |
HI can u plz help me with this? [CODE=c]#include<stdio.h> #include<conio.h> void main () { int i,j; printf ("\t*"); for (i=2; i<=5; i++) { i=i+1; printf ("*",i); for (i=3; i>=1; i--) { printf ("*"); } printf ("\n"); } getch(); }[/CODE] its suppose to give an output in the form of diamond … Software Development c | |
I need to add a column to a list of strings and then print it back to a new text file without [] or "". I tried this below but it is not the result I wanted. infile looks like this: 23 CL 006 2004 DBA8ORPU 41 8Y S0111P 2 … Software Development python | |
I changed the name of a folder so that it would meet the requirements for my assignment submission and now my program wont run in the command window. its saying it can't find the .txt files. However, the program runs without any problems in JCreator. i have a folder called … | |
HI guys, I have file with 6 values in: [code] 1060276 2211546 7544.941158316 1060276 2211606 7545.960677177 [/code] I put those numbers into variables: [code] obyte1=`cat $TMP | sed -n 1p` rbyte1=`cat $TMP | sed -n 2p` snapt1=`cat $TMP | sed -n 3p` obyte2=`cat $TMP | sed -n 4p` rbyte2=`cat $TMP … Software Development shell-scripting | |
/*this program counts the number of transitions and tranversion occur between two *genes when two DNA strings from a source file are compared using threading.*/ [code] import java.io.*; import java.util.*; import java.lang.*; public class Gacer021109{ public static Vector<String> DNA = new Vector<String>(); public static int cnt=0; public static void main(String[] … Software Development java | |
Hello everyone, Can someone kindly explain me what is the basic difference between python statements and expressions? I'm too much confused about them and cannot upgrade my knowledge about Python until I get a full grasp on them because they are everywhere! Some explanation with example may help me a … Software Development python | |
I am trying to make a 8 x 8 grid of boxes to manipulate for a matching game. I started with wxPython since I have no experience with pygame. I have it laid out with: [code] WINDOW_WIDTH = 1200 WINDOW_HEIGHT = 1200 class MainFrame(wx.Frame): def __init__(self): wx.Frame.__init__(self, None, title = … Software Development python | |
Can anyone help me write a program in java that: Has a user enter their name then enter their last 4 weeks hours worked Then have it display the: -total hours worked -average hours per week -full time equivalent: 2 weeks 3 days 7 hours This would help me out … Software Development java | |
(I have installed both MSDN and VC++ 2008 Edition How do I access MSDN? Thanks all Software Development c++ | |
I wish to perform a sort of an XML document, and have the output be in the same structure as the existing document. The reason for doing this, is I need the resulting document to be transformed into a new document. My source XML is: [code] <?xml version="1.0" encoding="UTF-8"?> <Msg … Software Development data-structure xml | |
I really need help in copying the root node. I have been spending far too much time on this, and I can't beleive that it should be that difficult. I can't use 'copy-of', as that will copy all the children as well. I need to copy the root node, and … Software Development xml | |
i have a question on how i could calculate the overall score of the users input using five instance variables, three for three quizzes, one for a midterm and one for a final exam. the quizzes are graded between 1 and 10 while the midterm and final are graded between … Software Development java | |
I am writing a 2-part program, a main program and a test program that figures the area and perimeter of a rectangle from an users input. I have my main program with no compile errors, but my test program has a couple errors and they both have to do with … Software Development java | |
So the point of the other thread (java compiler) was I could not test any solutions I came up with at home for my next question. My assignment is to create a Binary Tree (done), and write the output to a file name (out.dat). The assignment is for one of … Software Development java linked-list os-x | |
I'm trying some code with classes but get these errors: overloaded member function not found in 'Point' 'Point' : no appropriate default constructor available [CODE]#include <iostream> using namespace std; class Point { public: Point(float f_x, float f_y, float f_z); private: float x, y, z; protected: }; Point::Point() { cout << … Software Development c++ | |
Hey wizeguys, I am using windows XP and have VC++ 2008. I can make a simple GUI window and write text and add menus and all that n00bish crap. I want to move further. Firstly, i atleast want to know how to change the color of the text that we … | |
Hi! I'm really fed up with my program. I'm trying to write a JAVA simulation of a traffic jam. In the beginning the user inputs the length a of Road n (problem with the constructor) and the number of cars c. The Road is an object- simply an array filled … Software Development java | |
Hi im new to C# and I have a form with customer data on it. There is a combo box with the customer name and some address fields. When I select the customer name I would like the address field to be automatically updated from the customer table. Can anyone … Software Development | |
Well this is probably a really stupid question but i was doing pygame tutorial and i dont know what a vector is and they keep talking about them, there were special vector classes and things like that, im rather confused, so if someone could teach me what a vector is … Software Development python | |
hi, i need to add the information into the datagridview manually. i searched in google and books. they fill the datagridview by using Datasource method. but i need to add at compile time please share ur ideas....... Software Development | |
I'm having trouble getting this while loop to stop and look for a new input. Obviously the while loop is infinite because I don't get new input. I know this is easy but I'm still stuck here is my while loop [code] while (guessInt != randInt){ setPrevGuess(guessInt); guessInt = Integer.parseInt(GuessGame.numberField.getText()); … Software Development java | |
hi, P1 c1 c2 p2 c3 c4 (pls consider this is treeview: P1,P2--Parent, c1,c2,c3,c4---Child nodes) task is , when i select the item from treeview. i like to show in the datagrid view. if user selects one parent item from treeview. i like show in datagrid view that entire parent … Software Development | |
hi, i am new to .net. i like to add the datagridview into the datagridview. please share ur ideas, Software Development |
The End.