ProgScripting Languages

ProgScripting Languages

Hello,
I have a small question about OOP. Let me explain:
I have a Grid object:
Code :

    1.import java.util.*;
    2.import java.io.*;
    3.import java.lang.Math;
    4.public class Grid {
    5.private static Cell[][] grid;
    6.private int sizeOfGrid;
    7.public Grid(int size) { // Déclaration d'un tableau de cellules
    8.sizeOfGrid = size;
    9.grid = new Cell[size][size];
   10.}

The grid object is an array of subject Cell:
Code :

  • 1054 views
  • 1 answers
  • 0 votes

Hi all

I want to develop a program in c++ that will take input from the user about the employee record. And will print the record as well. But the issue is this that I want to define the functions outside the class. Whenever I try to define function outside the class, many errors appears. Can any one help me to find out the solution?

I am waiting.

  • 2200 views
  • 6 answers
  • 2 votes

Printing problem on applications that prints directly on LPT1

I have a Visual Basic program that prints directly on LPT1. I use the method “Open LPT1 for output” in my visual basic code to print directly on LPT1. When printing on to a local printer, the program prints, but when printing on Network shared printer, the print doesn’t work. How should I redirect the printer command to the network printer?

  • 1531 views
  • 2 answers
  • 0 votes

I created a plugin that can read the length property of elements. How can I return back to the old line on which the program always points to a certain line where it cannot convert the variable and returns a null variable when I attempt to computer for the length

This is the error that I get

Uncaught TypeError: Cannot read property 'length' of undefined

  • 1084 views
  • 2 answers
  • 0 votes

Why is that when I make a <div> in html the output sometimes changes and separates too far from where I declared it. It is around 50 pixels away from the other div but I didn't add any margin or padding.

How can I fix it to make it stick to the div on top of it.

 

 

  • 999 views
  • 2 answers
  • 0 votes

Hello Everybody,

Why is it that I keep getting this error:

Error: missing ')' in parameter list for main

int main ( {

I am very sure that I have closed the declaration. I re-checked everything and the missing “)” is there. But when I compile the program it keeps on returning the same error. I really need some help on this please help me with this.

Thanks.

  • 1013 views
  • 2 answers
  • 0 votes

Good day!

I have a problem with my program in turbo C.

I created a simple division program but it keeps giving this error:

‘Undefined Symbol’

I already declared it, but it still returns the same error.

I don’t know how to fix this anymore; I keep trying to change the variable but it still doesn’t work.

  • 2292 views
  • 3 answers
  • 0 votes

Hello,

I created two fields for me to able to calculate the grades of the students. Why do I get this error in MS Access?

 “Syntax error (missing operator) in query expression”

My query is Select [Quiz], [Homework] from Student Where [Average] = ([Quiz] + [Homework]);

Is there any other way to compute the average in another type of query? And do you experts have any suggestions on how to do it?

  • 1697 views
  • 1 answers
  • 1 votes

I am making a hotel reservation form with a dropdown menu for the room type and price of the room per night.

I keep getting this error in Visual Basic when I click the button to compute for the total price:

"Error 13: Type mismatch"

I tried to take the value of a textbox and a drop down menu.

I want to get the total when the user selects the room and multiply it with the number of nights they input in the textbox.

  • 1798 views
  • 2 answers
  • 0 votes

Hello All!

I recently got an error while programming in VB. What does it mean when I get this error?

"Ambiguous name detected"

I already used another name but with different capitalization. I used the variables phonenumber and PhoneNumber. I thought VB was not a case sensitive programming language. 

How do I fix this problem?

  • 1349 views
  • 2 answers
  • 0 votes

Latest Articles

Benefits Of Storing And Sharing Documents In The Cloud

Have you ever wished you could access your important documents anytime, anywhere? With cloud document storage, that wish becomes a reality. In today’s fast-paced world, secure and accessible document management is more essential than...

From Lost To Found: Restore Your Data On Windows 11

Are you worried about data you lost during some operation on your Windows 11? Don’t worry; we are here to guide you on how to recover the lost data from your Windows device in...

How To Differentiate Demand Generation From Lead Generation

Lead generation and demand generation are two of the business strategies that help businesses grow. It creates a pipeline of interested customers looking to find out more. Lead generation on the contrary, is able...

Latest Blogs

Top 10 New Laptop Entrants That Shook The Public

The finest laptops are powerful enough to do your daily tasks, comfortable enough to use all day, and power-efficient enough to ensure you don't run out of battery power unexpectedly. Of course, all these...

10 Facts About The Dark Web

Before getting into knowing the facts, let’s have a brief about the Dark Web. The dark web is the data of the World Wide Web that is accessible only through special software, combinations, or...

Top 10 Latest Steam Cleaner Machines

While looking for a chemical-free way to clear and purify both durable and low grounds in your home, a steam cleaner is an excellent solution. With a spurt of superheated steam, this cleaning equipment...

Latest Tips

Top 10 Internet Monitoring Software

Internet monitoring software keeps a log of all internet activities. You can install this type of software on your computer remotely or by the administrator. An operating console controls this software. This type of...

Top 10 Best Partition Manager Software

A Hard Disk Drive is usually partitioned into various smaller drives for optimization. A partition manager helps make this process easier and more efficient. Here, let’s discuss the top 10 best partition manager software. 1....

Top 10 Best Online Music Production Software

Music production is the initial stage of any song. Music production can be done either in studios or at home using an online music production software. Here, let’s discuss the top 10 best online...