638 Topics
![]() | |
I know you can create nested classed (or just classes declared outside of the class in the same file) but what is the point of doing this? Why not just create a new class file? | |
⇝ Register your domain name ⇝ Get a domain with your keyword phrase ⇝ Write unique content ⇝ Create a great keyword phrase ⇝ Choose a phrase that is popular, but not too popular ⇝ Use the keyword phrase in your title tag ⇝ Link to previous, succeeding, and related … | |
Hi, I'm new to Python and have a task of reading a user input text file that is tab-delimited and contains 4 columns in each line: Authors, Year, Title and Journal. I currently am just able to open a file, and now I don't know how to begin parsing the … | |
I am checking a couple of textboxes in my datarows. If the first textbox (event association 1) is not blank and it does not contain the word business, but the date of birth mtb is empty, then the statement is true and a messagebox will be displayed. Right now, I … | |
Hi, What is the main aim of the callable statement? How it is differ from prepared statement? | |
Hi Team, I have a file which contain following data like BKP0000032183140217000019 053IGZYEVSDOX .........field 2....... field3.....field4..... BKP0000032284140217000019CCTP1220 ............... BKP0000032384140217000019CA ..................... each line has 5 fields Now using shell script i am trying to extract field 4 based on condition that line start with BKP and contain code 84 and CA … | |
You have been hired by an amusement park company to write a JAVA program that prompts a person to enter their age and height and to find out if they are eligible to ride. A person is eligible to ride if their age is above 9 years and their height … | |
Critically analyze the following statement "Multiple inheritance can be achieved without interface"? | |
HI, my code for search is rec.Open "select * from Body_Markings_new where Part Number like '%" & txtsearch.Text & "%' ", conn, adOpenDynamic, adLockOptimistic after compiling this code getting an error saying syntax error (missing operator) in query expression 'part number like' %1%" please help me I not able to … | |
I want to include a boolean search box in my existing script in the vResume_screen variable. I have altered the table for hte full text search and need your help. if(!empty($_GET)){ $vResume_screen=$_REQUEST['vResume_screen']; $date_screen=$_REQUEST['date_screen']; $vFirstname=$_REQUEST['vFirstname']; $vLastName=$_REQUEST['vLastName']; $vJobTittle_screen=$_REQUEST['vJobTittle_screen']; $vVisa=$_REQUEST['vVisa']; $InterestP=$_REQUEST['InterestP']; $VErecruitername=$_REQUEST['VErecruitername']; $vLastName=$_REQUEST['vLastName']; $where_clause=array(); if(!empty($vResume_screen)) { $where_clause[]="resume_text like '%".$vResume_screen."%'"; } if(!empty($_POST['vIndustry'])) { foreach … | |
This is the project I need to finish. I am fairly new to php and this project has got me confused. Any help would be greatly appreciated The project ask for to validate ISBN 10 Number. There would be 10 digits with 1-9 being Numbers, but Number 10 is an … ![]() | |
I'm having an error when I run this code any ideas? When I run it and enter the code it works if I enter the same numbers I had entered before his turn, but if i enter different numbers I get Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of … | |
HI, I am a beginner at programing and I have to do this project where it is asking me to validate any ISBN 13 number. I know how to set up the input page, but I am having or you could say no Idea how to validate a number if … ![]() | |
 May I know that what is the ACL as shown above doing? Why do we need deny any when we are permitting the specific ip address? Isn't that ACL list has a hidden "deny all" statement? Thank you. | |
//please can someone explain the output 4 8 12,why is it so? Thanks int count = 0; do { for( int i = 0; i < 4; i++ ) count++; cout << count << ‘ ‘; } while ( count < 10 ); | |
Hi All, i have been struggling with getting the "Description" text as an additional search engine meta.Am refering to the "Description" which is displayed below the title of the Blog. The "Meta tag Description" is showing up. please see attachment to better understand what am refering to.   then the second textbox (number)will search based on … | |
Hello guys :) I hope you are well. I have a problem, I am trying to build a 2D platformer and I am stuck when it comes to building the levels. I found a tutorial on how to build a tiling engine and I just got completely confussed. I am … | |
*hi.. i just want to ask those who know to filtering multiple search using SP. My SP is working and the problem came when i want to call the parameter from my sp.can u check what error with my code* public partial class WebForm3 : System.Web.UI.Page { private string GetConnectionString() … | |
I want to send an email only if the field name 'Active' has changed in my database table bus_status.. It is a boolean field (TRUE or FALSE) so if it is False and changes to TRUE upon update I want it to send the email or if is TRUE and … ![]() | |
public class SongIterator<T,L> implements Iterator<Song<T, L>> {} | |
Hi all, Hi i have got a problem with the system i am creating on VB using Microsft Access. I have this error that keeps coming up when I debug my system. I am trying to add data in the database. I cant seem to find the solution to this … | |
see first elif statement for syntax error, where have i gone wrong?? this is only a section of code, help very much appreciated. if dice == dice2 : print ("The scores on both dice remain constant, no changes are made.") elif dice > dice2 : print ("The scores of the … | |
here is *part* of my code: newvalue1 = difference + c newvalue2 = difference + d newvalue3 = difference2 + cc newvalue4 = difference2 + dd if dice == dice2 print ("The scores on both dice remain constant, no changes are made.") elif dice > dice2 print("The scores of the … | |
Alright I apologize for the completely uninformative title but i had no idea what to call it. Basically I have an array with multiple values and I only want information to be sent from certain forms if a certain value is met in the array. <?php if(isset($_POST['cb1'])) { $cb1 = … | |
Create a class called PrintStars. In the main method, use nested-for loops to print 2 diagonal lines of stars accross a 9x9 grid. | |
I'll be completely honest, I haven't googled this very much as I have no idea of how to put it. So a nudge in the right direction will be most appriciated. I have two forms and two tables. The first form has a series of text boxes that collect information … | |
i using this code to display radio buttons for selection. somehow the its not working correctly, plz guide on this issue. thanks in advance. <div class="register-section" id="user-role-section"> <label for="wp_rar_user_role"><?php echo $this->wp_rar_role_label; ?></label> <?php foreach($this->wp_selected_rar_roles as $role) { ?> <input type="radio" name="wp_rar_user_role" id="wp_rar_user_role" class="input select" value="<?php echo $role; ?>" /> <label> … | |
Hi, I have been working on some code in Tkinter - this is my first ever coding in python and have basically copied chunks of code over to see what is possible but I am stuck on one section - I am trying to create a GUI in Tkinter but … | |
I need to create a 2D array that holds the number of family members by the highest numbe of titles of one of the family members, and they input on one line. However, I am having trouble when I call the class in my other code in the main method. … | |
Hi everyone, I'm trying to extract text from between tags but only in certain conditions. <title> and <pos> are both children of <page>, but neither one is nested inside the other (i.e., they're siblings). Each <page> always has one <title> and zero to 5 <pos> sections. What I need to … | |
I'm implementing a generi method that's supposed to traverse a binary tree in PostOrder but when I attempt to use it, the Iterator doesn't work as It should when I attempt to use ot on a Binary Tree, can anyone spot my mistake in the code? Thanks. The method makes … ![]() | |
What is link building? For search engines that crawl the web, links are the streets between pages. Using sophisticated link analysis, the engines can discover how pages are related to each other and in what ways. All Links are Not Created Equal: 10 Illustrations on Search Engines' Valuation of Links … | |
This is the project I need to finish. I am fairly new to php and this project has got me confused. Any help would be greatly appreciated I am trying to do a Web form that is taking an online order form! This is What I have so far: This … | |
I was going to check if a temp table exists and delete the it,since "the temptable already exists" arises if you want to perform another operation. Here's the code i used five statements but it says syntax error in drop table or drop index statement. Any help would be appreciated. … | |
So I'm teaching myself Java. I'm creating a text based game. I have an if statement that i want to check users input so its like this: if(sc.next() = "help"){ System.out.println("info"); } else if(sc.next() = "item"){ System.out.println("info"); } Etc. But it wont work. What would be the proper way to … | |
Hello, I'm trying to calculate the maximum and minimum distance between 10 points. My method to calculate the maximum distance is working fine however my method to calculate the minimum is returning 0.0 and I'm not sure why. Could someone please take a look at my code and tell me … | |
i'm not sure if a pointer can do the job of an iterator, or otherwise, or they are different things? | |
Hi guys I need to make a diamond like this for my lecturer,using nested for statements. I am having troubles. Can you guys give me any tips? ty. ![]() | |
I'm writing a program where the settings of a spreadsheet-like field of textboxes are changed using two for loops, and I can't for the life of me figure out why it's not working.I have tried declaring the txt variable and name variable in different orders using different methods, but nothing … | |
Hello everybody, I was asked by an interviewer the following question. but I was not able to answer. Please get back to me if you know the answer. thank you in advance. Que: What is the exact difference between the "for" loop and "while" loop in C language ? | |
I wanted to display the blue mean value in the text box, but it is giving me an error blue.set(B_mean1) AttributeError: 'numpy.ndarray' object has no attribute 'set' And this is my code: from Tkinter import Tk, Frame, BOTH from Tkinter import * import cv2 from collections import * from CBIR … | |
my problem is how to use if else statement with the use of character type string (char str[40]) for exemple char str[30]; cin>>str; or gets(str) or getline(str,30) if(str=="hello") cout<<"world"; i search this everywhere but every answer could not satisfied me. | |
**This is intented for learning purposes, feel free to study the code** Create a drawing that looks like this (pyramid) The number should be incremented with the modulus. | |
![]() | Hello, Below is a simple gun simulator for the console, but everytime I hit spacebar, I have to hit it twice before the next line will pop up in the console. This started happening after I inserted the last 'if' statement in order to reload the gun. Does anyone know … ![]() |
![]() | I am having trouble finding out if I did the header correctly #include <iostream> #ifndef TREE #define TREE // Node class class Node { int key; Node* left; Node* right; public: Node() { key=-1; left = NULL; right = NULL; }; void setKey(int aKey) { key = aKey; }; void … |
So I am working on a simple assignment for my C class that reads a formatted file and prints information about the file based on the format. The file format looks like this: #Domain Alexa Rank Site Name #------------ ----- ------- --------- amazon.com 13 1177136 Amazon.com google.com 1 4533883 Google … | |
Hi..all I'm newbie in VB.net Please Help me.. How to search data by textbox and datetimepicker access 2003 database in VB.net Exp : I want to search for data based on the Part name and two datetimepicker I try with code like this but the results are not in line … | |
I need to add a nested table to my php page so that when I put it in my browser, just a table will appear with 2 columns and 3 rows. In the top left column I need the word "WIDTH", and right below that it will say "HEIGHT". The … ![]() | |
I have a python code that reads several csv files and writes teh data to a single file but every time it loops back around to the next file it prints the headers again. Is there a way to stop this I can post my code if it is nessisary. |
The End.