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

function should return no values

Could some one help understand how can I make a function return no value:: #include<stdio.h> int main() { int i =12; printf(" value is %d\n, i++"); printf(" value is %d\n, i++"); printf(" value...

View Article


RPG map in pygame?

How do i make a map for an rpg like game in pygame that can allow the screen to move with him where ever he goes.

View Article


java.net.BindException: Address already in use... but it's NOT in

I'm trying to get 2 computers in a Local network (home network) to communicate via Sockets in order for one to request an object and the other send the object to the requesting process. I had a bit of...

View Article

Question about Java packages

Hi there dreamincode.net members, this is my very first question so please bear with me as I am not fully accustomed to the rules and regulations applicable to this forum as of now. I have several...

View Article

Fee Calculator

This is not a homework assignment anymore, just one that I am doing so that I can try to learn how to do this. I would like create an application for an animal-fur trimming service. The business is...

View Article


Stress and Strain Program

Greetings everyone, I'm new to the C Language and currently taking a course for it. I've hit an area that I can't seem to figure out though... Below is my code so far. I don't think the numbers are...

View Article

Problem With Array

My compile time errors are this: "not a statement", and "';' missing", both in reference to line 9 a countless number of times. Here's my class: package Hangman; public class Words { public String...

View Article

Read website's meta tag?

I'm trying to make it read meta tags from a certain website. Tags are keywords. This is how it looks (website's source) <meta name="keywords" content="xxx,yyy, zzz, rrrr etc,..."> This is what I...

View Article


Difference between the two code below

Hello Every one, I am a confused betwwen the below 2 code. Code 1: while ((sCurrentLine = finput.readLine()) != null) { System.out.println(sCurrentLine); } It display me the file content. Code 2: while...

View Article


How to update db on hosting site

I have a program that is access based which I have exported the information I need to publish on a web sited that is being hosted. My question is what is the best way to update the database my CF app...

View Article

[Link] C++ For Cross-Platform Mobile Development

I came across an article advocating C++ as a cross-platform mobile solution. What are your thoughts? Do you use a different cross-platform mobile solution? QuoteWhen it comes to mobile development mind...

View Article

Problem creating an instance(Harder than you think)

I understand that creating an instance of a class is very simple which it is, but I do not understand why I am having this error. The IDE keeps saying quote, "No enclosing instance of type...

View Article

supermarket/grocery code.

can anyone help me to add a input money instead login? and if the money you input insufficient the sub total will not show instead Insufficient Money, something like that. thank you! import java.awt.*;...

View Article


Windows Form Deployment with SQL Database

I need to know : How to include a SQL database with my Windows Form application after deployment ?

View Article

how to assign address of int variable to an entry in array of pointers

Hi, Why would this not work? And what is the right thing to do. int x,y,z; printf("Enter three integers: "); scanf("%d %d %d",&x,&y,&z); p[0]=&x; //syntax error here p[1]=&y; //and...

View Article


Senior Project Computer Science Ideas

So I looked through the senior project threads and I need some more relevant information that applies to what i'm looking for. I need some help coming up with an idea for my senior project for my last...

View Article

Error: Cannot Find or Load Main Class

I'm getting the error that this topic is titled whenever I try to run something. I tried searching D.I.C, and I none of the results helped. It is even giving me this error with things that do not have...

View Article


Application Not Working After Target Framework Change

I changed the target framework for my project from 4.5 to 3.5. I had a few errorr messages about the Microsoft.CSharp reference so I changed the framework back to 4.5. Now when I run the application...

View Article

Image may be NSFW.
Clik here to view.

PLEASE READ! Java, do-while loop

Hello. />/> I was wondering whether anyone could tell me, whether I have written the below program correctly: /> import java.util.*; public class Task5bDW { public static void main(String[]...

View Article

Question About Vectors

Hi all, The following line gives me a "Debug Assertion Failed!" error with "Expression: Vector subscript out of range". This means that I must be using my vector incorrectly. However I cannot use...

View Article
Browsing all 51036 articles
Browse latest View live


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