Hello guys, I am on my revision of my thesis and I am actually stuck on this thing. My thesis is Online Requisition of Document and the panel told me that when the student submits his/her request, the expected date or tentative date release of document will automatically display or popped out on the screen. The expected date of release will be inserted on the database. Now my problem is, I don't know how to do that. I don't find any reference about it. And the date of releasing should also depend on the working days of the university registrar …

Member Avatar
Member Avatar
+0 forum 2

Hi, I've just started learning Python and for my first script I wanted to make something that would make life easier and that I would actually use, so starting small I've began working on a Torrent Search script that uses the ISOHunt API. However I've ran into a problem in the unfinished method that cleans the results from the search: def sanitise(string): a = string.split('{"title":') # split page into parts, a is list for i in range(len(a)): a[i].lower() # lower every char on page index = a[i].find('"enclosure_url":') b = a[i].replace(a[:index], "") print a[i] Here's an example search result: <b>Inception</b>.FRENCH.DVDRip.XViD-DVDFR", "link":"http:\/\/isohunt.com\/torrent_details\/255340617\/inception?tab=summary", …

Member Avatar
Member Avatar
+0 forum 2

Hello I am getting this error: error: expected '=',',',';', 'asm' or '__attribute__' before '.' token I am not sure what is causing it, it's probably something stupid which I have over looked, here is the problem code. This is a mac app btw DataClass *obj=[DataClass getInstance]; obj.str= @"test";

Member Avatar
Member Avatar
+0 forum 1

` import java.io.*; class Mobile { public static void main(String args[])throws IOException { BufferedReader in=new BufferedReader(new InputStreamReader(System.in)); double a;b=0; System.out.println("Enter ICCID or Sim No."); a=double.parsedouble(in.readLine()); if(a=89912507111140687941) b=7277526804; else if(a=89915241100005705108) b=8084698160; else if(a=89912507111140687958) b=7277526805; else if(a=89912502113154600856) b=9852994726; else if(a=89912502113154600989) b=9852999686; else b=121 system.out.println("Your Mobile Number "+b); } } `

Member Avatar
Member Avatar
+0 forum 1

I'm working on a simple encryption/ decryption program for class. When I try to compile, I get a number of "expected areas" directed towards the following segment of code: [code] public static char encrypt(char c, String k) { String fullcrypt = (k + "abcdefghijklmnopqrstuvwxyz"); for (int i = 0; i < fullcrypt.length(); i++) { for (int j = 0; j =< fullcrypt.length(); j++) { if (i == j) { for (j =< fullcrypt.length(); j++) j = j+1; } } } fullcrypt = fullcrypt.substring(0,25); fullcryptA = fullcrypt.toUpperCase(); fullcryptB = fullcrypt.toLowerCase(); char A = fullCryptA.substring(0,1); char a = fullCryptB.substring(0,1); char Z = …

Member Avatar
Member Avatar
+0 forum 3

Holler fellow programmers I have an error that's been bugging me for almost a day now: I keep getting 14 of this error: class, interface, or enum expected Yes, 14 different exact same error message basically for every line of code in the inputGetter method below. Can someone please help... I believe it's a pretty easy solution (maybe)... but I can't find it anywhere. Thanks in advance. [CODE] import java.io.*; import java.util.*; import java.lang.*; public class Driver { public static void main (String[] args) throws IOException { int row = 6; int col = 2; double[][] array = new double[rows][cols]; …

Member Avatar
Member Avatar
+0 forum 3

[CODE]print "creating a text file" text_file = open("write_it.txt", "a") score = 5 name = raw_input("What's your name?: ") score = (score, name) text_file.write(score) text_file.close()[/CODE] getting TypeError: expected a character buffer object Please help. Thanks

Member Avatar
Member Avatar
+0 forum 5

[CODE]#include <iostream> using namespace std; int main( ) { int num1 , num2 , num3; cout << "Please Enter Three Valid Integers Using The Keyboard"; cin >> num1 , num2 , num3; if {num1 => num2} && {num2 => num3} else num1 + num2; if {num2 => num1} && {num1 => num3} else num2 + num1; if {num3 => num1} && {num1 => num2} else num3 + num1; if {num3 => num2} && {num2 => num1} else num3 + num2; cout << " The Maximum Sum Of These Numbers Is: "<< num1 , num2, num3 endl; system("pause"); Return 0 ; …

Member Avatar
Member Avatar
+0 forum 5

Hi, Everyone!! I'm really new in this business and I've been having some trouble with these errors: ====================================================================== Message: Object expected Line: 1 Char: 1 Code: 0 URI: [url]http://www.myblog.com/successblog/[/url] =================================================================== Message: Expected '}' Line: 707 Char: 301 Code: 0 URI: [url]http://www.myblog.com/successblog/[/url] ================================================================== Message: Expected '}' Line: 738 Char: 301 Code: 0 URI: [url]http://www.myblog.com/successblog/[/url] ==================================================================== Also after my latest post my blog become a real mess and it keeps telling that: (1 item remaining) waiting for [url]http://www.myblog.com/successblog/[/url] Can anybody help me with that? I really needs some urgent help Thanks

Member Avatar
Member Avatar
+0 forum 13

Hi, Everyone!! I'm really new in this business and I've been having some trouble with these errors: ====================================================================== Message: Object expected Line: 1 Char: 1 Code: 0 URI: [noparse]http://www.myblog.com/successblog/[/noparse] =================================================================== Message: Expected '}' Line: 707 Char: 301 Code: 0 URI: [noparse]http://www.myblog.com/successblog/[/noparse] ================================================================== Message: Expected '}' Line: 738 Char: 301 Code: 0 URI: [noparse]http://www.myblog.com/successblog/[/noparse] ==================================================================== Also after my latest post my blog become a real mess and it keeps telling that: (1 item remaining) waiting for [noparse]http://www.myblog.com/successblog/[/noparse] Can anybody help me with that? I really needs some urgent help Thanks

Member Avatar
Member Avatar
+0 forum 2

Hi, I'm trying to replace an item in a list I made with 0. [CODE]popdata[0][5].replace(0.02,0)[/CODE] when I run this it gives me the error TypeError: expected a character buffer object. I was wondering what this error meant and how I would go about fixing it. Thanks! Elise

Member Avatar
Member Avatar
+0 forum 17

When i run this, i get an error message saying TYpe expected and it points to the line having a.drive(100)... Any help please? Newbie... [code] class Car { public Car(){ int odometer=0; System.out.println("Car constructed!"); } public void drive(int miles) { System.out.println("Driving....."); odometer+=miles; } public long odometer; } class Guzzler extends Car { public Guzzler(){ System.out.println("Guzzler Creeated!"); } public void guzzle() { System.out.println("Guzzling...."); } } public class InheritanceExample { Car a=new Car(); Guzzler g=new Guzzler(); a.drive(100); g.drive(200); System.out.println("Car mileage : "+c.odometer); System.out.println("Guzzler mileage : "+g.odometer); g.guzzle(); if(g instanceof Car) { System.out.println("Guzzler is a car!!!"); } } [/code]

Member Avatar
Member Avatar
+0 forum 2

I keep getting an object expected error at the start of my <body> I've set a form to value="Accountants" and <body onload="showindex()"> in an attempt to automatically submit this value to a js file whenever the page loads. My aim is to have dozens of html pages all using the same js file to return information based on the contents of that value. Code is below, Any help much appreciated. [B]index.html[/B] [CODE] <head> <script src="AccountantsLoad.js"></script> </head> <body onload="showindex();"> <FORM name="myForm"> <INPUT type="text" readonly name="class" value="Accountants" size="15"> </FORM> </body> [/CODE] [B]AccountantsLoad.js file[/B] [CODE]function showindex() { var xmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert …

Member Avatar
Member Avatar
+0 forum 5

The End.