Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live
↧

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 Article


WCF 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 Article


Inheritance 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 Article

Return 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 Article

Password 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 Article


Returning 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 Article

Image may be NSFW.
Clik here to view.

C++ 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 Article

Weird 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 Article


find 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 Article


High 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 Article

High 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 Article

Image may be NSFW.
Clik here to view.

Passing 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 Article

error 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 Article


How 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 Article

Game 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 Article


python 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 Article

python 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 Article


Array 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 Article

3 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 Article

Real 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
Browsing all 51036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>