132,726 Archived Topics
Remove Filter ![]() | |
Hi. The program works fine if i just compile and run. But for the program to get graded it has to pass a test written in python which it does not. Since i'm complete dummy at c and programming if you find to explain, dumb it down please... so here … Software Development c os-x python socket-programming | |
Hi, I would like to share over the net folder with users. How to I set permission on folders and files by using C#? the users are not windows authentication , the users are from a registers list of users. Please refer to microsoft folder sharing application on [url]https://foldershare.com/welcome.aspx[/url] I … Software Development c# client-server socket-programming windows-server | |
Hi, I want to transfer a file as it is via a socket...not read the file contents and send it.How can I do this? Software Development c++ socket-programming | |
hi... this is a small doubt in VB6... i am making a request form... in which one of the fields are reasons... now i want it such if my user send in a new reason then it should get written into my database and generate it as a part of … Software Development visual-basic | |
First off, I know that to set an indexed variable, say, mylist[3] = "Hello". I also know that you wouldn't be able to set mylist[3] if you didn't first state: [code = python]mylist = ["Whatever", "Whatever", "Whatever", "Whatever"][/code] But, if you had a variable with an extremely large index, it … | |
Im still a newb when it comes to programming so im just curious, i understand as far to where return(0); at the end of a function tells the program their were no errors and to end the program right? But what else can you use return(???); for? And how exactly … Software Development c++ | |
I can't really seem to find a jython forum and this question is somewhere between a jython and a python question. I'm trying to get a java Scanner in python. So in java I say myInterpretter.exec("import java.util") and then in python I try and access jav.util.Scanner but it says java … Software Development python | |
Please help me with this program Your assignment is to write an assembler program which does the following: (1) prints your name and NYIT I.D. as a first action. (2) reads in two 2-digit integers, one keystroke at a time, and operates Euclid’s algorithm on them (3) prints the result … Software Development algorithm assembly operating-system | |
Hi there...I can get the input from a user...however I need to add them. I'm thinking I need a loop to add them, and carry the extra if the person adds them. Keep in mind, the max size is 20, and I have no added the error checking in there. … Software Development java | |
Hi, I am having some trouble with arrays. I have an array of 5 elements. The values of the array are integers. I want to validate the input using an if statement. (the numbers must be between 10 and 100). I then want to compare the user input to the … Software Development java | |
Hey Daniweb! I'm here again with another C++ problem. I am trying to add three pairs into my main vector 'theMap'. I am thinking I need to use the 'insert' function, but I just cant figure out why my syntax is working. I've tried the 'copy' command as well, no … Software Development c++ | |
I am having a problem with a class I am writing. I have defined a whole bunch of methods defined that the compiler is telling me in the implementation are different. The errors are: [QUOTE] 1>------ Build started: Project: prog6a, Configuration: Debug Win32 ------ 1>Compiling... 1>main.cpp 1>c:\users\philip\documents\visual studio 2005\projects\cs211\prog6a\prog6a\avltree.h(186) : … Software Development c c# c++ queue visual-studio | |
how can i create a c++ program that can somehow connect to a phone and let you talk to them through a computer mic? also how do i create an email program? the email program could also send txt messages (number@carrier.com). can you give me links or code and an … | |
Hi, let's say I define this two classes that do not inherit from one another. I get an error at line 10: field "DataNoFather" has incomplete type. 1.Any idea what that means and how to fix it? 2. Is it possible to have a variable like DataNoSon labeled with type … Software Development c++ | |
I am doing an online course and for one of the chapters (in [U]Practical C++ Programming[/U] by Steve Oualline) it had a bitmapped graphics section-only 4 pages long. The chapter is about bit operations and includes a section about hexadecimals. I understoodit until I got to this passage in bitmapped … Software Development c++ | |
I have a small lab where I'm trying to dynamically allocate an array to hold whatever number of scores. We were given the code to pass it into a function that sorts those scores via pointer notation. However, when I try to pass the array into the function, I get … Software Development c++ | |
Hello, I am trying to get this code to work. I am getting an error code on line 38, that I don't understand why. Can anyone help me out. the error code that I am getting is identifier expected. Thanks, countrygirl1970 [code] // Displaying multiple strings import javax.swing.*; // To … Software Development java java-swing | |
my program has the following errors: there are primary-expressions expected before "else" the upon commening on the lines with else, i got a mistake like "core dumped" and it couldn't run no more. could anyone please take a minute to go through my programm and kindly let me know where … | |
[code] #include <iostream> #include <string.h> using namespace std; class Date { public : Date(); void setDate(int,string,int); void printDate(); private : int day; string mth; int year; };//end class //date constructor Date::Date() { day = 01; mth = "Jan"; year = 1990; } //setDate void Date::setDate(int inDay,string inMth, int inYear) { … Software Development c++ | |
When i use a variable type [B]double[/B] the value [B]e.g 345624.769123[/B] rounded to [B]345625[/B] but when i take [B]5 digits[/B] before decimal [B]i.e 34562.4769123[/B] then it shows [B]34562.5[/B] Please explain Why? Thanks Software Development c++ | |
Do anyone have any idea to write a c progrm which counts no of times it is run without using a updating file??:?: Software Development c | |
I remade an equation-solver program from Java to C++, and I plan to post it soon but I would rather not until I can determine where modulus fits in with PEMDAS. To those who don't know, PEMDAS is the order in which mathematical expressions are to be evaluated. The order … | |
Hi there. I started with wxPython (Under Linux) a little while ago and I'm enjoying very much, however, there doesn't seem to be a control for working with Rich text. Iv found a few articles (mostly dated a few years ago) that suggest that such a control is on its … Software Development python | |
Hi everyone, Since it's the weekend, I can't get assistance from my professor or his assistant until Monday. My deadline for submission is approaching and I'd feel a lot safer getting as much work as I can. I'm implementing a hash table to store strings using linear probing. My implementation … Software Development c++ | |
well lately I have been working on a CPU core for 6502 assembly, and I have been writing it all in c++. However for obvious reasons I was thinking of remaking the core in assembly. First I was wondering if it would be worth it (speed wise) to write functions … | |
Can someone either give me a couple links, or some code with explanations on how to create gui (graphical user interface) buttons that are like boxes with text and color in them, that are equal to a command when you click them. Also, how do you create a gui slider … Software Development c c# c++ gui user-interface | |
hi we have a programming assignment which computes the volume of a barrel. I don't have a compiler yet and java is not yet recognized by my computer yet because I haven't downloaded any JDK yet because I don't know which one to download...Here's my code so far...Please just review … Software Development java | |
Hello., Im learning C online, and one of the examples from the internet is this: [CODE] #include <stdio.h> int CalcVolume (int length, int width, int height); void PrintIt (int vol); void main() { int volume1, volume2; int x = 8, y = 15, z = 20; volume1 = CalcVolume (10, … Software Development c | |
[code=C++"] int x[5]; x[4] = 10; *(x + 4) = 10; [/code] Array indexing has a cleaner syntax but (as I've read) pointer arithmetic is faster. My question is, is it worth to use pointer arithmetic? Is there a noticeable difference? Software Development c++ | |
When I include i++; inside this loop I get a runtime error and I have no idea why I get it: Do you have any idea? [CODE] while (i <= 3){ if (tauler[PacMan.y][PacMan.x]==0) xoc = 0; else if (tauler[PacMan.y][PacMan.x]==1) xoc = 1; else if (tauler[PacMan.y][PacMan.x]==2) xoc = 2; else xoc … Software Development c++ | |
Hey guys Need help with the following program. I keep getting compilation error `error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'void' (or there is no acceptable conversion)` Apparently I am not able to pass by reference however it works well when I … Software Development c++ | |
I have got two arrays. One for initializing and another for displaying. The display array always shows nothing if the initializing array has not been called. The problem now though is that if I want to insert something in a certain slot in the array nothing happens and I dont … Software Development java | |
I am just learning Java. I am trying to do a GUI to calculate road trip data. My program compiles, and a window opens, but only the top title line shows. Nothing shows in the center or south areas. What do I need to change? Here is my file. [code=syntax] … Software Development gui java java-swing user-interface | |
any1 know s anything about cr8ting mobile game "go" need ur help Software Development java | |
i want to study the tree view any code or site for help.. i look at the internet and any source code site.. but i havnt find one... any help and comment will be appreciated.. thxx jaa Software Development visual-basic | |
i am bscit student and i am doing one project. so i want to urjently know how to connect vb6.0 to oracle 9i Software Development oracle visual-basic | |
Hi ,I am Sravani. I saw a query in this site that VB6 can be linked with oracle 9i. I am using oracle 10g in my office.what i want t oknow is cant we use oracle 10g to connect to VB6? Pleasse try t oanswer to my query. Its urgent. … Software Development oracle visual-basic | |
i am new to java, i am writing this program so where when the user inputs RGB values the resultant colour should be displayed on a frame. (note that you cann't use the [B]color class in java[/B]) 1.) i have successfully completed coding for where the user inputs the RGB … | |
Hi, Can any experts out there tell me how I can add a WPF form to a class library in C#? Thanks Software Development | |
Has anyone tried and succeeded in Inter JVM method calls within a single machine. What I mean is I have two separate applications running on the same machine using two JVMs. Can they communicate and if so what are the related packages and classes. antaryami Software Development java | |
I have written multiple streams of data to a file the format is like this [CODE] J|1|2|3|4 [/CODE] that would be 1 record and there are more then one record in the file my question is how do i read that data in, deserialize it, extract it and assign each … Software Development c++ | |
I have a base class called ModelFile I have derived classes called ObjFile and VtkFile that I would like both to use << from ModelFile. However, since << is an external function, [code] ostream & operator << (ostream &output, const ModelFile &Model) { output << "Num Vertices: " << Model.NumVertices() … Software Development c++ | |
I am creating a tetris-like game. I have decided to use coordinates (x,y) along with a dictionary. Here is a part of the dictionary: [CODE=Python] gameTable = {(-5,10):0,(-4,10):0,(-3,10):0,(-2,10):0,(-1,10):0,(0,10):0, (1,10):0, (2,10):0, (3,10):0, (4,10):0, (5,10):0, (-5,9):0, (-4,9):0, (-3,9):0, (-2,9):0, (-1,9):0, (0,9):0, (1,9):0, (2,9):0, (3,9):0, (4,9):0, (5,9):0, (-5,8):0, (-4,8):0, (-3,8):0, (-2,8):0, (-1,8):0, (0,8):0, … Software Development python | |
Basically what my program does. It has one main. It has one function. The function is: [CODE]int humhum (unsigned long x, unsigned long y) { unsigned long res; printf("Enter an integer for x:"); scanf( "%ul", &x); printf("\nEnter an integer for y:"); scanf("%ul", &y); res = x ^ y; } [/CODE] … Software Development c | |
I am trying to solve a typical 0/1 knapsack problem (using greedy algorithm). In this problem I have to sort a structure consisting of 2 ints (one that contains the value and their corresponding amount I have to minimize the value to get `n' amounts so i need to sort) … | |
Hi, I need to do some sorting of the XML file. First, group the group_1 first and then sort those group_1 block by SORT_ID and Salary. Second, group the group_2 and then sort those group_2 block by SORT_ID. I just try the below and it works if the XML only … Software Development xml |
The End.