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

Iterate Array without using a loop?

My teacher told us to iterate through my Array, but he said we can't use loops. Just a single System.out.print line of code. He said Array's have a special method you can use? Do you guys know what...

View Article


Linear eq. set - solve the system (matrices are recursive)

Please can you help me? I have such a problem: (next text written in tex) There are 4 variables $X_1$-$X_4$, they are part of an polynomial. The coeffiecients of these polynomials $a-d$ are different...

View Article


Image may be NSFW.
Clik here to view.

code not writing out all text in .txt

Hello, I am having an issue with a program I've been working on that is a MTG Deck Builder. What this program specifically does is go to gatherer.wizards.com and reads the source code behind the page...

View Article

Error in codes

Main class #include "List.h" #include "Worker.h" #include <iostream> #include <string> using namespace std; void initWorkerList(List<Worker>); int main() { List<Worker>...

View Article

Error in codes

Main class #include "List.h" #include "Worker.h" #include <iostream> #include <string> using namespace std; void initWorkerList(List<Worker>); int main() { List<Worker>...

View Article


Error in codes

Main class #include "List.h" #include "Worker.h" #include <iostream> #include <string> using namespace std; void initWorkerList(List<Worker>); int main() { List<Worker>...

View Article

multiple if statements?

I have to many if statements!, what techniques, and how can I shorten this? public virtual string MoveRulesGenerator(string move1, string move2) { if (move1.Equals("Rock") &&...

View Article

Best language to create my idea.

Hello all, I am new to this forum and software coding in general but I am interested in pursuing an idea of mine. I would like to create a web based application that will schedule events for lets say a...

View Article


Problem ArrayList< float[ ] > inputting new numbers

Hi, I'm a little baffled by this problem okay my float array contains the right float numbers but when I passed them into my ArrayList that contains a float array the array seems to have new numbers...

View Article


Image may be NSFW.
Clik here to view.

How to write a nicely structured game

Hi. I am new to game scripting, and even scripting itself (mostly object orientated programming, but i have a pretty good understanding of it). I have programmed a little bit in C++, some low level...

View Article

Ternary Conditional Operator Problem

Alright, so i wanted to make a game of tic tac toe . And i wanted to use ternary conditional operators to ease up things .. the problem is it made my life a hell hole. As much as i think it trough it...

View Article

Having few errors in the code

#include <iostream> #include <iomanip> #include <string> #include <stdio.h> /* kt3 y3_2 */ /* programm "Aastaaeg" */ using namespace std; int main() { int K; /* Month K */ int...

View Article

Picture into and out of a Access DB 2003 in VB .net code.

Hi All, I have googled this to death but can not get one that works, or has the three fields I need: 1 = ID 2 = Description 4 = Image And some kind of display of images in the DB to choose from' I am a...

View Article


writing an algorithm in the class that doesn’t contain the main method

My program runs fine but I was wondering if I could somehow change the algorithm (aIncome = aRevenue – aCost) from the main (testClass.java) to the aClass.java. I think I will have to work with Income,...

View Article

VB6 DATAGRID Error

Hi all ! I am using vb6 and Datagrid ! I have an access database and i display those records in datagrid ! For example, there is a column named marks ! Below the datagrid there is a button and textbox...

View Article


Restoring SQL DataBase by Code from VB 2010

Hi guys: Can anyone help please I am working in VB 2010. My program works wit SQL DataBase "dbCARS" . I Open the conections, make my Queries and Close them and Disposed Inmediately. From my program I...

View Article

deployment Error in JBOSS

hello,java developers and experts ihave runtim problem that when i deploy my app in JBOSS 6.x it throw this exception and cannot complete the deployment this is output of console : WARN...

View Article


VB6 SQL Statement confusion

Hi all ! I am using Vb6 ! I have one datagrid named "Datagrid1" and i display certain contents such as subjectname, subjectcode, theory_practical from the table named "subjectcode" in Datagrid1 from...

View Article

How to mask my password with ***?

#include<stdio.h> #include<stdlib.h> int main() { int Pass; printf("Please enter the password: "); scanf("%d", &Pass); if(Pass==123456) { printf("\nHello! Eve. Welcome to Disney...

View Article

Focus And write in webbrowser

when html code like this when i use this code = WebBrowser1.document.Forms(0).document.GetElementById("passwd").InnerText = Textbox1.Text <input type="password" name=" passwd " value=""...

View Article
Browsing all 51036 articles
Browse latest View live


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