132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lucyfersdaddy

Hi, I am a newby and am surprised I made it this far. My program is a TicTacToe program. I am having troubles with checking the validity of each move. I have tried multiple things, but could not figure it out. If someone could help point me in the right …

Software Development c c# c++
Member Avatar for lucyfersdaddy
0
914
Member Avatar for Florin_1

This is what I have so far :/ #include <iostream> using namespace std; int main() { int i; for (i = 1; i <= 12; i++) { cout << i; if ((i = 4) && (i = 9)){ cout << " \n"; } else { cout << endl; } } …

Software Development c++
Member Avatar for Florin_1
0
330
Member Avatar for reminem

Hello everyone I can export texblock.text and label.text to word. But there is no styling found back in the word document For example the background-color won't export. I use this as a conformation document. How can you also export the style of the form and can you export a table …

Software Development
Member Avatar for reminem
0
238
Member Avatar for erictheonly1

Hello i need some help on what to add to the following if statement for the out put to read the value of sum times the actual number of sum: public class ICMA42 { /* instance variables */ private int alpha; private int bravo; private int sum; /** * Constructor …

Software Development display java
Member Avatar for JamesCherrill
0
187
Member Avatar for Ibadullah_1
Member Avatar for Daemon_CC
0
105
Member Avatar for erictheonly1

public class ICMA42 // instance variables - replace the example below with your own private int alpha; private int bravo; private int sum; /** * Constructor for objects of class sum which initialises sum to 0. */ public ICMA42() { this.alpha = 0; this.bravo = 0; this.sum = alpha + …

Software Development java
Member Avatar for erictheonly1
0
2K
Member Avatar for andrehernandes

Title : Monument Budi wants to build a monument on the land of size N x M (3 <= N, M <= 500) plots the square. Monument to be built has a square base that is rotated 45 degrees and the monument occupies a plot located in the middle of …

Software Development c++
Member Avatar for ddanbe
0
188
Member Avatar for Doogledude123

I am creating lots of PictureBox's on my Form but they will not display. I have tried to debug it to see if its trying to show in the wrong location and stuff like that however everything seems to be correct. I have tried to call Show() but that did …

Software Development display vb.net
Member Avatar for Richard Mon
0
153
Member Avatar for Trle94

Hey guys, anyone know if it is somehow possible to grab in picturebox image from website by its id? Its simple captcha i want to show it in picturebox?

Software Development vb.net
Member Avatar for Trle94
0
197
Member Avatar for mnparikh

I need to write a shell script that will filter out all files/directroies in a directory that are more than two months old and then copy those files to a new target location

Software Development shell-scripting
Member Avatar for rubberman
0
459
Member Avatar for Simon180

Am looking for a little bit of help to convert the following Visual C++ code into a delphi if its possible #define MARGINX 24 // this much for "mon" #define MARGINY 24 // this much for "00" char *dayNames[7] = { "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" }; #define …

Software Development c++ delphi pascal
Member Avatar for Simon180
0
223
Member Avatar for EdJones

I'm learning python (and programming in general) through Runestone Interactive. What do people think of that site as a place for beginners to learn python? Also, is there any harm in trying to learn perl and web design languages at the same time? I'm concerned about becoming confused.

Software Development perl python web-design
Member Avatar for Gribouillis
0
153
Member Avatar for Jatin_2

Following Error is shown well going to DGFT India Site. How to Resolve ERROR WHILE SENDING OUTPUT access denied ("java.net.SocketPermission" "164.100.128.143:8100" "connect,resolve")

Software Development java
Member Avatar for JamesCherrill
0
118
Member Avatar for H

Hey there guys, Im looking for a nifty trick in VB.NET that will help me with an error that is constantly Reoccuring. This is some example code: Dim array as Textbox() = {txt1, txt2, txt3} 'Array of textbox's For loop = 0 to 3 If Array(Loop).text = Data_In_Database then 'Do …

Software Development vb.net
Member Avatar for Santanu.Das
0
176
Member Avatar for infiniteloop56

Hey Guys, I am building app using a huffman tree, and am building this java program to just test a few things and I am having some trouble. I have everything working except that I am having troble decompressing a huffman string back into the original string. I would appreciate …

Software Development data-structure java
Member Avatar for Taywin
0
973
Member Avatar for Aizaz
Member Avatar for Qazi143

write a program in basic which takes marks of 5 subjects as input. calculate the sum,percentage and assign grade on following criteria: A=90+ B=80-90 C=70-90 D=60-70 F=below 60 condition: if student fails in more than one subject his/her admission will be cancelled

Software Development visual-basic
Member Avatar for imti321
0
190
Member Avatar for OMER AHMED

i want to make my own splash screen. which appear on start of my program and after it finish my login screen come. i write one program based of 3 timers which is working fine but it not loading my form2 the code is Public Class Form1 Private Sub Timer1_Tick(ByVal …

Software Development display vb.net
Member Avatar for Santanu.Das
0
394
Member Avatar for 111ron222

Hi everybody, I have this XML file,, [code] <users type="array"> <user> <id>12345567</id> <name>Ronsna Stedinberg</name> <screenname>Donnsax</screenname> <location>New York</location> </user> <user> <id>12345568</id> <name>Sonsna Dtedinberg</name> <screenname>Nonnsax</screenname> <location>Las Angeles</location> </user> </users> [/code] and I wonder how can I read all the id's info in the xml? (the <user> </user> is repeat 50 times, so …

Software Development c# xml
Member Avatar for shwetawaghmare
0
925
Member Avatar for ram_10

Hello again :) I'm trying to define a simple "spelling correction" function that takes a string and sees to it that 1) two or more occurrences of the space character is compressed into one, and 2) inserts an extra space after a period if the period is directly followed by …

Software Development python
Member Avatar for Gribouillis
0
310
Member Avatar for Deepesh_1

Dear all, If i have a vector inside a vector creating a matrix, how do I delete a specific column in that matrix. I have already populated the 2d vector now i need a method to delete a specific column in that vector, for example my vector would look like: …

Software Development algorithm c++
Member Avatar for Maritimo
0
2K
Member Avatar for yaya1234

Hey, I know how to read from file.. I would to save it and send it to another function that can print it out that is in a different c file .. how can i do that?

Software Development c++
Member Avatar for Maritimo
0
286
Member Avatar for aplee

hello Masters, How are you all doing? I just have a question. I am building this simple quiz application using asp.net/vb.net and sql server for the database. Now what I want to happen is that when I click on submit button, it will count all the correct answers of the …

Software Development vb.net
Member Avatar for k99rs
0
210
Member Avatar for RikTelner

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication5 { class Program { enum _objID_1 { Name = "Lorem Ipsum" } static void Main(string[] args) { int ChosenDataID = 1; Console.WriteLine(_objID_ + ChosenDataID + _["Name"]); // How about "Lorem Ipsum"? || Well, how about "no"? } } …

Software Development display
Member Avatar for tinstaafl
0
166
Member Avatar for poketad

#include <cstdlib> #include <iostream> #include <string.h> #include <cstdlib> using namespace std; int main(int argc, char *argv[]) { int airp[13][6], row[2]; string t; char airc[13][6], s; for(int i = 0; i < 13; ++i) { for (int z = 0; z < 6 ;++z) { airc[i][z] = '*'; airp[i][z] = 0; …

Software Development c++
Member Avatar for Maritimo
0
191
Member Avatar for Sphinx'LostNose

How much of a source language's characteristics and ways of doing things is seen in a compiled executable? Let's say you use C++ and BASIC (compiled) to write 2 programs that functionally do the same thing. You compile them both on the same computer(and OS of course). How different will …

Software Development
0
69
Member Avatar for matrixdevuk

I am trying to get the following ENUM to work, but it's not working. Any help is appreciated. class Colour(Enum): WHITE = (255,255,255) BLACK = (0,0,0) RED = (215,45,45) BLUE = (45,87,214) YELLOW = (230,223,48) GREEN = (45,194,64) Using it: `Colour.BLACK` Error: /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 "/Users/blooop/main.py" Traceback (most recent call last): File …

Software Development python
Member Avatar for matrixdevuk
0
353
Member Avatar for Krazykado

I am having problems with it continuous loop at the end of the program. Any help would be appreciated. Thank you. Below is the coding so far. [CODE]import static java.lang.System.out; import java.util.Scanner; import java.io.*; public class Investment { public static void main(String[] args) { double principal = 0; double interest …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for lithium112

I am facing an issue and am hoping there is an easy way to do this. Is there any possible way to invoke a method from another project without a reference to it? I am unable to reference the project due to circular referencing.

Software Development
Member Avatar for lithium112
0
124
Member Avatar for Johnny Blaz

num = int(input("Enter a number: ")) if num==0 or num<0: continue else: if num > 1: if (num % i) == 0: print(num,"is not a prime number") print(i,"times",num//i,"is",num) break else: print(num,"is a prime number")

Software Development python
Member Avatar for sneekula
0
182
Member Avatar for ram_10

I've to write a function that takes a list of English words and returns a list of Swedish words. For example, {"merry":"god", "christmas":"jul", "and":"och", "happy":gott", "new":"nytt", "year":"Ã¥r"} used to translate English into Swedish. def translate(a): a = {"merry":"god", "christmas":"jul", "and":"och", "happy":"gott", "new":"nytt", "year":"Ã¥r"} for k, v in a.iteritems(): print k,v …

Software Development python
Member Avatar for snippsat
0
440
Member Avatar for matrixdevuk

I'm a beginner to Python and I decided to make a permutation finder program. Have fun and don't question the name. :)

Software Development python
Member Avatar for matrixdevuk
0
187
Member Avatar for monaya.ash

hey , i'm having a problem with a LINK error i keep getting the same error although deleted the line with the flushall_ also i copyed the code in a new project but it still gives me the same error the error : Error 1 error LNK2019: unresolved external symbol …

Software Development c
Member Avatar for rubberman
0
238
Member Avatar for Pyler

Is there are an easier way of serializing a vector attribute of an object in c++ using sqlite3?

Software Development c++ sqlite
Member Avatar for deceptikon
0
228
Member Avatar for GoneGirl

Hi, If you look trough my code you can see that i have tried to print out some values (the mean value) with a scanner from a csv file with the help of an enhanced for loop (the absolut last loop) and it gives me NaN (not a number). And …

Software Development java
Member Avatar for GoneGirl
0
622
Member Avatar for Roger_2

I have tried with the algorithm below but it does not generate the results i am looking for and i am a bit stumped. I have tried swapping the elements in the array, unless you know there is a less trouble sum alternative example: 1,2,3,4,5 becomes 5,4,3,2,1. i have searched …

Software Development algorithm assembly
Member Avatar for nullptr
0
1K
Member Avatar for ram_10

Hello, I'm trying to define a function that takes an integer 'n' and a character and returns a string, 'n' characters long. I'm totally lost and I've nothing. I read in a forum "".join might help. But that too is beyond perceivable for me at this moment. I do have …

Software Development python
Member Avatar for ram_10
0
426
Member Avatar for OMER AHMED

i write this code in my program to encrypt my files but it showing me warning Warning 1 Variable 'csCryptoStream' is used before it has been assigned a value. A null reference exception could result at runtime please guide me. when i run the software it work fine but i …

Software Development vb.net
Member Avatar for OMER AHMED
0
174
Member Avatar for EarhawkPH

Hi! Newbie Java Programmer here! I've done a cash register program. this error's pretty unusual to me. i dont know how to fix this. import java.text.*; import javax.swing.*; import java.awt.*; public class CashRegisterV1 { public static void main (String[] args) { DecimalFormat fix = new DecimalFormat("0.00"); //QUANTITIES int Nido = …

Software Development java java-swing
Member Avatar for JamesCherrill
0
241
Member Avatar for itslucky

Hi, Dear Friends im new with Crystal Report, i have created the crystal report by using the step by step procedure from the following link: [URL="http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-stepbystep.htm"]http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-stepbystep.htm[/URL] Now When i run it it always asking me the username and Password, i am using MS ACCESS Database, and i didn't set any …

Software Development
Member Avatar for S.L.KEER
0
2K
Member Avatar for ram_10

Hello, I've been trying to write a function that takes a value (i.e. a number, string, etc) x and a list of values a, and returns True if x is a member of a, False otherwise. This is the script I could think of. I'm not even sure what might …

Software Development python
Member Avatar for Gribouillis
0
823
Member Avatar for Xiao_1

If String.IsNullOrWhiteSpace(txtadmno.Text) Or String.IsNullOrWhiteSpace(txtcard.Text) Then MessageBox.Show("Please complete the on the box.", "Authentication Error", MessageBoxButtons.OK, MessageBoxIcon.Error) Exit Sub End If Using conn As New System.Data.OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb") Dim Result As Integer ** Dim sql As String = "INSERT [Date Select] From tbl_studentadm values (@DateSelect) "*****in here shold i key in the admin …

Member Avatar for Xiao_1
0
124
Member Avatar for Ian_5

I'm trying to Write a Console application that will read in an unknown number of integers (up to 100) from data.txt, a comma-delimited text file in the current directory. The program should show the numbers as they are given in the file, and it should also show the numbers in …

Software Development vb.net
Member Avatar for Reverend Jim
0
181
Member Avatar for itsthewendigo1111

I"ve been working on this dice game for the past few days. I made sure the game itself worked properly then I added a draw dice function that would show you the dice that were rolled on the canvas. I needed a continue button to make the rest of the …

Software Development perl python tkinter
Member Avatar for itsthewendigo1111
0
263
Member Avatar for stephen.hare.7503

so i need help on Modifying the source code to sort on the Title (in ascending order) and display the book title, comma space, author’s first name, comma space, author’s last name. Ensure all your variable names are appropriately named. and i also need help Modifying the source code to …

Software Development java
Member Avatar for stultuske
0
130
Member Avatar for premkiran

Hi all, I'm new in PERL, and trying to set up code that will allow me to create a new Table (Table 2) from Table 1: Table 1 No. Time Person 1 9:42 AM A 2 9:42 AM B 3 9:42 AM A 4 9:42 AM C 5 9:42 AM …

Software Development perl
Member Avatar for 2teez
0
1K
Member Avatar for Roger_2

Generally, my professor's assignments are vague with limited constraints. while this allows the opportunity to become resourceful and creative, there are some like i who are blindly lost without a push in the right direction, this is my assignment please any insight is much appreciated. We are going to work …

Software Development assembly
Member Avatar for sbesch
0
1K
Member Avatar for Suzie999

Although I've been programming as a hobby for a while, most of it has been procedural and I've done very little OOP, and not very competent with the inheritance hierarchy of classes, which is the reason for my post here, to get a bit of advice as to whether im …

Software Development oop
Member Avatar for Suzie999
0
257
Member Avatar for Florin_1

Here is what I have so far: #include <iostream> using namespace std; int main() { int i; for (i = 1; i <= 12; i++) { cout << i << endl; } if (i = 4) cout << "My lovely month in which I've been born! \n"; system("pause"); return 0; …

Software Development c++
Member Avatar for Maritimo
0
189
Member Avatar for dimitris.dimitri.73

Dear forum, i have created an application for speech to text using windows speech recognition. My question is regarding custom grammar and training the words since it is in my native language and are not supported at first place. I came up with a solution to dock windows speech recognition …

Software Development gui vb.net visual-basic
Member Avatar for Begginnerdev
0
262

The End.