Calling Struct Into Function / Returning Double
Hey, basically I'm trying to use a function to manipulate data stored within a struct, then return a double created with that data. #include <iostream> #include <string> using namespace...
View ArticleWCF browser name
How do I get the string name of the browser (Chrome, Mozilla Firefox, ...) which Visual Studio opens when executing a WCF service? I'm using Visual Studio 2012 The problem is that I'm using curl to...
View ArticleInheritance and Method Overriding
Here is all of my code so far: public abstract class MathExpression { public abstract double evaluate(); } public class MathValue extends MathExpression { private double doubValue; public...
View ArticleReturn Values From Functions Not Returning
So I made a function displayed below and the 2 values with not return. I put it in my main funtion and it wouldn't cause any errors but it wouldn't return the values. I have tryed removing 1 of the...
View ArticlePassword Verifier all alphabetic problem?
Hi I am having a problem with my password verifer. Right now, with the code I have, everything works except if the password is all alphabetic characters(the password is supposed to include at least one...
View ArticleReturning Array from a Function
Hey guys, I've worked far long enough so this is kind of a last resort kinda post. I'm having trouble with functions and arrays, I need to write a function that returns an array of userinput (text from...
View ArticleC++ Password Manager prgm error check does not work correctly
I am currently working on a password manager program that is suppose to get login name and password from people who want to create new ones and allow users who already have username and login in file...
View ArticleWeird characters being displayed before results in console.
This is basically what the problem looks like (the characters aren't actual equal signs, but similar): Enter string to reverse: AMAZING Reversed string: ===============GNIZAMA Do you want to insert...
View Articlefind highest values from a file
This program is a sales application that saves sales information to a .txt textfile, I want to know how to find the highest sales figure from the text file method to write to file try{ FileWriter fw =...
View ArticleHigh and Low Test Scores
I am programming an application in VB that allows the user to input test scores and then it automatically calculates the average, high score, low score, and a grade distribution (A, B, C, D, F) for the...
View ArticleHigh and Low Test Scores
I am programming an application in VB that allows the user to input test scores and then it automatically calculates the average, high score, low score, and a grade distribution (A, B, C, D, F) for the...
View ArticlePassing pointer to a function
I'm trying to pass a char pointer from main to a function, where the function will create a replica of the pointer(so as not the manipulate the original) passed to it and reverse it and return it....
View Articleerror in vb 6 with oracal . coloumn not allowed here
i am getting an error while creating database project in VB.6 n oracal combine and the error is column not allowed here and code is rs1.Open "insert into pta (name,fname,phoneno,sex) values(" &...
View ArticleHow to separate string token by white space
public static MathExpression getUserInput(){ int amount; String expression; MathExpression []userAmount; System.out.println("How many math expressions did you want to enter?"); amount =...
View ArticleGame development problems with Windows 8
Hello, First Post - So please don't be hard on me. I recently bought a book ( Beginning DirectX 11 Programming ) and I have been trying it out now. I already know XNA and using it but it has been...
View Articlepython py2app pygame errors, very confusing
Hello there, and I am designing a zombie-shooter in pygame. I am trying to compile it with py2app, which usually works for me. However, when i compile my main script i get an error and it terminates...
View Articlepython py2app pygame errors, very confusing
Hello there, and I am designing a zombie-shooter in pygame. I am trying to compile it with py2app, which usually works for me. However, when i compile my main script i get an error and it terminates...
View ArticleArray of Object ideas
Hi all, I am a teacher teaching java for the first time in a few years. Does anyone have any very basic program ideas for Array of Objects. I'm stuck! Keep it brief, just looking for ideas I can make...
View Article3 way UDP chat program segmentation fault
I am having some difficulty with this program. Right now I am running into a segmentation fault whenever anything is sent to the server. I also need to create a database to store those that enter the...
View ArticleReal Time Video Processing
I'm preparing to do some development involving real time video processing, which is something I have never done before. I have been doing research to find an appropriate model for the data flow. What I...
View Article