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

Image may be NSFW.
Clik here to view.

Creating a game launcher with patching

Hello everyone Ok so I made a launcher and I want to implement patching for it so if the user is not on the right version then it will detect it and patch it. Here's the code I have currently WebClient...

View Article


Pickling Error

I am trying to make a simple pickling program but i can't figure out the error. Can someone please enlighten me. I have checked this thing over and over, i am running Python 3.3.0 so i think that it is...

View Article


Provide different range for each thread

I am trying to make each thread works in a particular range. So for the below example- Number of Threads is 2 Number of Tasks is 10 Then first thread should work on 1 - 10 and second thread should work...

View Article

Executing Error

Hello, I just started learning Java and I'm having trouble executing a simple "hello" command. I don't think the error is code related. After creating a simple "Hello World" .java file and compiling it...

View Article

Working with StringTokenizer

Hello, I keep getting this error, but I have no idea why! What I am attempting to do is read a file name from the user, then put it into one long string separated by a space (' '). Then as I go through...

View Article


cpp: parse error before `)' token

#include<stdio.h> #include <stdio.h> #include <iostream> #include <stdlib.h> #include <getopt.h> #include<cctype> #include<iostream> using namespace std; int...

View Article

Test Program syntax issue

Hi I'm writing a couple classes for a programming project for school but am having some problems with the program to test all of them. Below is the first class: public class FoodV4 { private String...

View Article

hello

If TextBox1.Text = "" Then MsgBox("Please enter your Username.", MsgBoxStyle.Critical) End If If TextBox2.Text = "" Then MsgBox("Please enter your Password.", MsgBoxStyle.Critical) End If...

View Article


translating Qbasic code to C++

hello! i've got a code from QBasic which i need translating to C++ i've tried a somewhat code by code translation as to what i understand in C++ here is my Qbasic program sq = 50 t1 = .1 ’ tfac = .95...

View Article


Binary Trees

Is it possible to sort an unsorted binary tree not using BST and AVL?

View Article

Greater and Less Than.

So part of my assignment, i've been told to 'show the first and last name of each employee who is paid more than X but less than Y' The closest I've gotten in LINQ/SQL is var emps = from e in Employees...

View Article

Unresponsive SDL Buttons

I am making a game using SDL, on the main menu all my buttons work fine but in the game itself you need to click the buttons a lot (20+ times) before they respond. My button class looks like this:...

View Article

Image may be NSFW.
Clik here to view.

Qbasic running on windows7 through DOSbox but not running output graph

hello! i have been programming using qbasic through the dosbox in my windows 7 32bit. it's been good at the codes so far, correcting errors and fine debugging but somehow when you run the program and...

View Article


[QUESTION] Avira Antivirus User Interface

Is it possible to make a GUI like antivirus? Actually, I just want to get the idea on how to make the left side buttons as toolbar/navigation. Please give me hints on making this. Thanks.

View Article

Synatx error

Hi, I am a newbie to C and I have been trying to compile a program of the of the DSP-Kernel: interger scaling FFT. The following is the main program. #ifdef __PROF56__ #include <stdio.h> #endif...

View Article


Removing Duplication from Regular Expression String declaratio in Java

The following regex is used to extract hex values from a .cap file. final String theRegex = "[a-f0-9]{4}:\\s[a-f0-9]{2}\\([a-f0-9}{2}\\s)?([a-f0-9}{2}\\s)?([a-f0-9}{2}\\s)?([a-f0-9}{2}\\s)?; ...etc....

View Article

Factorial Calculator - N! being displayed as 1?

Hey guys, I've been working on an assignment creating a factorial calculator with the psuedo code given. I have followed the following comments and psuedo code given (Basically a factorial calculator...

View Article


Fork ,excel and time

Hello everyone. I use in my programme a fork() and excel() to call another programme. In my main programme i want to know the time it needs to run (including the programme i call with excel ) but i...

View Article

Image may be NSFW.
Clik here to view.

C# reading multiple results to an ?array? (vs 2010, mysql database)

Hey there guys. Just a quick question, I'm working in a good project (for me) in my spare time whilst I'm going through uni. I have however encountered a problem. I'm sure i know of a solution, just...

View Article

automatically display the whole keyword ?

for example, suppose that i've got the following code line: char c = cvWaitKey(40); when i type "cha", i'd like to see a pop up menu that content the whole keyword "char" ! how can i config this in...

View Article
Browsing all 51036 articles
Browse latest View live