199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for joshmac

I am trying to do a check to see if a student meets the prerequisite before they can register for a course section. CourseSecID = 27 (ID of the course section the student wants to register for.) What I am doing is querying the student's acad cred records to see …

Member Avatar for joshmac
0
235
Member Avatar for ram_10

Hello, I'm trying to script a Caesar cipher with the key, I find this exercise too much for me at this moment! I just can't come up with an algorith to get this done. Please advise. key = {'a':'n', 'b':'o', 'c':'p', 'd':'q', 'e':'r', 'f':'s', 'g':'t', 'h':'u', 'i':'v', 'j':'w', 'k':'x', 'l':'y', …

Member Avatar for vegaseat
0
251
Member Avatar for asif49

Example of problem: Pattern one is: 1, 10, 1: 1 Pattern two is: 10, 10, 10: 0 From this extremely simple pattern we will know that a small value followed by a large increase and then a large decrease means it is a 1. Otherwise its a 0. Using something …

Member Avatar for mike_2000_17
0
319
Member Avatar for iamsupreeth

python function that creates automatically a dropdown year selector (that is a "select" element poulated with all years starting from current and dating back to a given year)? I don't need day/month (otherwise i'd have used the datepicker), i just need the year! Thanks in advance

Member Avatar for vegaseat
0
164
Member Avatar for kesh1000

Hi All, I am doing a project whereby I can create and publish websites/landing page to custom domains. However I am a newbie at publishing. Can someone please guide as to how I can take user input for custom domain where site is to be published at, verify that the …

Member Avatar for AMJAlienServers
0
322
Member Avatar for qashnfhkh

don't work this: bg_fon2 = PhotoImage(file='2.GIF') from tkinter import* import random root = Tk() root.geometry("896x626") canv = Canvas(root, height = 626, width = 896) bg_fon = PhotoImage(file='fon.GIF') canv.create_image(0,0,image=bg_fon,anchor='nw') class Fish: image = 0 coor = 0 direct = 0 real_img = 0 obj = 0 canv = 0 def fiish1(): …

Member Avatar for sneekula
0
139
Member Avatar for Amit_25

hii I have a list having m1 m2 m3........ m922 and in each there are a1 a2 a3 a4 are there like m1=a1 a2 a3 a4 a5 a6 m2=a1 a2 a3 a4 a5 a6 m3=a1 a3 a5 a7 a8 a2 etc and i want this as m1=a1 a2 a3 a4 …

Member Avatar for sneekula
0
178
Member Avatar for EdJones

Is this considered good form when writing cross-platform code? #! /usr/bin/env python3 And how about this? if __name__ == "__main__": main() I've reviewed some recent sample snippets and not all of them use the shebang and the conditional main call, so I wasn't sure whether that is still considered good …

Member Avatar for sneekula
0
147
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 …

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; } } …

Member Avatar for Florin_1
0
330
Member Avatar for jorgeftz

Hi, I have the follow select where it display like that using oracle 11g: M<->Note 1<->2 1<->3 1<->4 2<->8 2<->9 I want to display like that in a html table (M once): M<->Note 1<->2 "<->3 "<->4 2<->8 "<->9 $sql = ("SELECT DISTINCT(t1.MIN) AS M, T2.NOTA FROM T1 RIGHT JOIN T2 …

Member Avatar for jorgeftz
0
124
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 …

Member Avatar for reminem
0
238
Member Avatar for Riteman

Am creating an online examination website. I need to store the answers answered by the participants who are given a unique ID. So I will be storing ID, Answers for the question, score. So I think I have two ways to do it. 1. Create a table for every student …

Member Avatar for Riteman
0
203
Member Avatar for jKidz

Hi, I want to show one place in my country on google map in my web page. But currently that page is not in the Google Maps and also I don't want to add it to the google maps. What i want is mark that place temporary in google maps …

Member Avatar for Masterblank
0
299
Member Avatar for Junior999

i'm making table reservations scheduling table with PHP and Mysql. i'm stuck on one thing, dont know how to check every cell i must print,which will indicate a reservation, with every column,which will indicate hours. Can anyone give me an idea ? i will get my reservation info from database …

Member Avatar for Masterblank
0
430
Member Avatar for Borderline

Good evening I've been working on creating a basic admin panel in order to allow a friend to edit the content of her own website. The data is stored in a database, and the plan is to allow her to edit/add content to the database. I've previously used this successfully …

Member Avatar for Masterblank
0
250
Member Avatar for maria_mj

I have problem to copy data from one table to another table in SQL database. I am develop the system using C#.Net. I have searching about it from internet, but it not works. I have two table: 1) Project_Pipeline (company_name, project_name, project_revenue, gross_profit, category_pipeline, status_pipeline, bde_name, deadline, remark, pipeline_id) 2)Proposal_listing …

Member Avatar for wria12
0
6K
Member Avatar for Rizi004

Hello everyone i'm developing facebook app but i want when user reach at the end of the page the content auto load from database. The only problem is that how i can check that user's reach at the end of the page with in iframe. I have used auto load …

Member Avatar for Masterblank
0
231
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 …

Member Avatar for JamesCherrill
0
187
Member Avatar for Ibadullah_1
Member Avatar for ankit.pandey3

Hi Friends, I have tomcat 7 and eclipse. My problem is when I start tomcat without war file it starts successfully but when I am Adding my war file by right clicking on Tomcat Server in eclipse, it gives in following exception : java.lang.RuntimeException: Unable to scan WEB-INF for JAX-RS …

0
370
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 + …

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 …

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 …

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?

Member Avatar for Trle94
0
197
Member Avatar for pelusa

I have two input fields, username, and password. I perform a basic check for empty value for each, if either is empty the return is false and so the .$ajax request does not get executed. That works. I would like to ask for help to enhance the check for empty …

Member Avatar for diafol
0
290
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

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 …

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.

Member Avatar for Gribouillis
0
153
Member Avatar for rgracey

Hi - I am creating a simple PHP Task Request form that will post to an email address. I am fine with everything except one problem. I need this form to generate an ID number which will also display in the Subject line. If someone requests a task and it …

Member Avatar for broj1
0
188
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")

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 …

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 …

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

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 …

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 …

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 …

Member Avatar for Gribouillis
0
310
Member Avatar for Jackyjack21

Hello, I have a webpage which has the follwing source code: <div class=prod_text> <b>Category:</b> <a href='/Games/Xbox-360/Action_Adventure/'>Action Adventure</a><br><br><b>Publisher:</b> <a href='/stores/Ubisoft/'>Ubisoft (click here for our Ubisoft store)</a><br><br><b>Barcode (EAN) No:</b> 3307215794227<br><b>Barcode (EAN2) No:</b> 3307215794234<br><b>Barcode (EAN3) No:</b> 3307215794241<br><b>Barcode (EAN4) No:</b> 3307215801895<br><br><i class='psm'><b>Please Note:</b> Any images are used for illustrative purposes only, actual products and/or …

Member Avatar for almostbob
0
246
Member Avatar for strRusty_gal

Hi, Thanks for viewing my post. I have got a project about developing a website for different user and I am required to draw architecture diagram. Can anyone tell me or show me example of architecture diagram? I need to diagram my 3 tier architecture diagram (Data Layer, Business Logic …

Member Avatar for strRusty_gal
0
295
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: …

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?

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 …

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"? } } …

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; …

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 …

0
69
Member Avatar for soomro_moon
Member Avatar for broj1
0
87
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 …

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 …

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.

Member Avatar for lithium112
0
124

The End.