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

Image may be NSFW.
Clik here to view.

Baseball Simulation Program

Hello, I'm trying to write a Baseball Simulation Program and I need help. The instructions are here http://wikisend.com/download/477216/baseball.doc Instructions OR IN THE Attached Files I have a...

View Article


Image may be NSFW.
Clik here to view.

problems about invoke method ?

I’ve viewed this link http://msdn.microsoft.com/en-us/library/zyzhdc6b.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1 .It talks about Invoke method.And I haven’t got clear about some points of...

View Article


String related issue

i want to compare a String length example String a="1234567" with the elements of String array as in below code. tell me how to solve this. In for loop an error message should be print when String (a)...

View Article

SortedDictionary

I am attempting to follow an example I found online but my SortedDictionary is not working. Also, if you have any better ideas for MP3 song management let me know as well. public...

View Article

Visual basic table fill from mysql database

Goodevening. Firstly i am new in your comunity and appreciate your job! i build an app in visual basic(VS ultimate 2012)..that supposed to manage personal marketing in stores like cafe places! i have a...

View Article


convert

#include <iostream> using namespace std; void decimal2Base(int num, int base, char *result, int offset = 0); void decimal2Base(int num, int base, char * result, int offset) { if (base > 36 ||...

View Article

wrong output

#include <iostream> using namespace std; void swapArray(int array1[], int array2[],int size); void swapArray(int array1[],int array2[], int size) { int temp; for (int i=0;i<size;i++) { temp=...

View Article

main

#include <iostream> using namespace std; IntSLLNode deleteNode( int node, IntSLLNode ptr ); IntSLLNode deleteNode( int node, IntSLLNode ptr ) { if( ptr == 0 ) return ptr; else if ( ptr->info...

View Article


Text Files

One of the exercises in my AS computing class is to have a user enter student information(name,ID,exam mark) and have it be stored in a .txt file. I have got the add part down but when i want to edit...

View Article


Error states: Object reference not set to an instance of an object

Imports System.Data Imports System.Data.SqlClient Imports System.Configuration Partial Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As...

View Article

Image may be NSFW.
Clik here to view.

pictures of hand-drawn sketches / quick survey for developers

Hello, my name is Lukas and i am writing my diploma thesis with the Media Computing Group at RWTH Aachen University. My topic is the connection of hand-drawn sketches and source code. In order to get a...

View Article

How to print a string that is to long for one line

I am new to Visual Basic and am currently taking a class that is teaching me the basics. I have almost completed my final project, but have come to a roadblock when trying to print strings from my...

View Article

My first time using classes

I had this program using a struct but now I have to write it using a class and it must contain atleast one Constructor and one Destructor. Ive read both of the classes documentations on here and my...

View Article


I have a problem printing out when using Iterator

Hi Guys Im new to programming and Java, but im willing to learn and enjoying the ride. But i have a problem i cannot solve, i have tried but failing. So time to ask those in the know for help. Im...

View Article

Accessing variables in main from a custom class?

I was wondering if it is possible to access a variable that is in my main "content" from a custom class to be able to execute the method? I want to be able to take the variable "content" and write it...

View Article


Image may be NSFW.
Clik here to view.

header file functions in c

I am new to C/C++ and i am not able to understand how the header files work in C i have a set of header files being used in various functions in my project and they have functions that are being called...

View Article

Proper Way To Have Class Object Instance Variable

I am not entirely sure how to put what I am trying to do in words, but I can put it in code. I have managed to isolate the problem down to a very simple case, but cannot seemingly make any headway no...

View Article


Card Game Task Using Classes

Ive began to write a Write a program which will represents a standard playing card. Every card has a value and a suit. Every Playing Card Has a Value And A Suit Values are either in the range 2 to 10...

View Article

How do I find the index for each letter in a word?

For example: dim word as string = "apple" dim index as integer index = word.IndexOf("p") This code only returns me with 1 which is only the index for the first p not both of them. What I need the...

View Article

Garbage Return Value

Hello guys I have gotten my program to compile but I am having a problem with my calculations, it is returning garbage. Can someone please look over this and let me know what I am doing wrong in the...

View Article
Browsing all 51036 articles
Browse latest View live


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