ProgScripting Languages

ProgScripting Languages

This is making me go nuts. I am developing an onClick deployment desktop application. The application uses a local SQL Express data file.

Whenever I do a new build and release it, the old data gets obliterated! How can I save the data and then still use the program?

  • 977 views
  • 9 answers
  • 23 votes

 

I am using a EJB project to access my MySQL database.  I keep getting an error, "more than one row returned" when I run a select * from budget table.

 

  • 1121 views
  • 10 answers
  • 23 votes

I have a set of files saved as MHT. I need to programmatically process them and extract the information. How do I go about this? 

  • 6429 views
  • 9 answers
  • 24 votes

I am having trouble with amount calculation in C#. I am doing an invoice program in C#. When I store a value and retrieve it back, the decimal values get rounded or an additional cent come in! I can not figure it out. I think the problem is with the data types that I am using.

  • 1325 views
  • 9 answers
  • 24 votes

Hi,

I have taken an assignment on C++ which at first glance looked very simple. Just multiply 2 numbers! The teacher smiled at me. But now I realized why!

The numbers I have to handle are more than 30 digits. So I won’t be able to just use * !

Looks like I am in big trouble. How do I do such big number multiplication in C++.

  • 1880 views
  • 6 answers
  • 24 votes

Hi there,

I am learning coding in C++. I would like to start, by making a full functional calculator.  All of them are pretty done but I want some more options which are present in a scientific calculator, like binary calculation.  I don't see any function for this. So I guess I have to make one.

I have been trying to add the binary to decimal conversion. I know that the basic process is:

But how do I take the digits 1 at a time.  Should I take the binary number as a string or by integer? Please help.

  • 1072 views
  • 7 answers
  • 23 votes

Hello Everyone,

I have created a connected graph, where each node represents some fact. The centre is the point of start. You may think of it as a mind map. I want to search the map in a Depth First Manner. I understand the concept but don't know how to apply it. Here is a pseudocode

dfs(vertex v)
    {  
  visit(v);
    for each neighbour w of v
        if w is unvisited
        {
        dfs(w);
        add edge vw to tree T
        }

  • 1277 views
  • 8 answers
  • 23 votes

Hi,

I am doing some analytical program in C++ involving a lot of prime numbers. I don't think checking a number every time, whether it is prime or not would be a good idea.

So I just thought that if I could pre generate all the prime numbers in a list.

But it is taking too much. Time.

vector<int> prmn;
For (int i=2; I<100000; ++i)
If (isprime (I)) {
prmn.push_back(i);
}

Almost 4-5 second. I hate to find it upto 1000,000.

Is there any better way?

  • 1360 views
  • 7 answers
  • 14 votes

Write a class to input the name of student and marks of three subjects, calculate the total marks as well as average marks. Each subject has a maximum of 100 marks.

  • 960 views
  • 8 answers
  • 26 votes

We are currently developing a web application. This application allows the facility for a user, to compare documents side by side. There is a requirement to open the document inside Internet Explorer itself. Is this possible?

  • 1219 views
  • 8 answers
  • 29 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...