good evening,well i'm kinda facing a problem while running my c++ program (run time error!!),the program contains a large number of if statements but all gathering around the same point,,,it's designed to assign values for factors z1f_a1 ,z2f_a1 ,z1r1_a1 , z2r2_a1, if certain conditions of H,A,K1,K2 are met...
the code is attached as a txt file,plz i need help before 40 hours.
thx :)
2 1409
I entered all ones for all questions and it was ok.
ok there's no syntax,but if you try those values:
q=120
E1=400000
E2=20000
E3=10000
h1=6
h2=6
a=4.8
then when the program asks you to enter 0 ir 1 press 1,then the program will stop ,giving a runtime error :(
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Miranda Evans |
last post by:
I noticed several postings about issues related to "run-time error
3061", and I observed that the solutions to these issues appear to
involve correcting something within the SQL code. I'm encountering
the "run-time error 3061" issue, but I'm not sure how to go about
correcting the SQL. My hunch is that I have not properly constructed
things to identify a date field, but I don't know how to correct this
issue. In addition to not...
|
by: Greg Strong |
last post by:
I'm experimenting with using Access 2k2 as a front end to Oracle
Express. I am creating 10 tables using pass through DDL queries. The
PROBLEM is the general format of the VB code WORKS on the 1st 6 tables
created, then an error is thrown which I can't find much help on. I've
compared the code on the 6th table to the 5th which is successful, and
the general format is the same. It seems the more you try, the quicker
the problem is...
|
by: aloksingh1982 |
last post by:
Hi
I am facing an error when i am using crystal report in vb.
the error is as follows:
Run-Time Error-20534
Error Detected By database Dll.
I m using Ms-Access n VB6.
The Query i m using is running successfully in Ms-Access but the same query is not executing in VB Crystal report.
|
by: CliffPrince |
last post by:
I am getting a C++ run time error when running crystal reports through a report viewer. The problem does not occur when running the reports in crystal reports. It is not consistent. The same report will run fine several times and then that message will appear the next time you run it. I can run a report with multiple sub-reports and have no problem and then have a simple report come back with the error.
The run-time error does not return...
|
by: indhu |
last post by:
Hi
its not working, i want only distinct record. here its repeated records coming.
accdb = "SELECT DISTINCT sequence FROM scene WHERE sceneid = '" & myquery & "' "
and when i select the first record in combo it says run time error:
item cannot be found in teh collection corresponding to the requested name or ordinal. but not for second records
| |
by: richardhodge |
last post by:
I am a VB6 database programmer and have run into a small problem. The company I work for primarily uses Microsoft Access 2000 for the database that is the back end for our software. Well the functionality that I am currently working on creates a table in one database and then links it into the primary database that is used by the program to store and retrieve data from.
Here's the problem. I can create the table fine but when I go to link the...
|
by: techgirl |
last post by:
Hi All-
I was wondering if anyone could help me with this issue. I am trying to run this 3rd party application called "CoreFTP.exe" from within C#. I have tested my code with "Notepad.exe" and that opens up fine. I've tried it with another program executable and it works as well. When I go to run coreftp.exe, it will not work. I have even tried putting code into a .bat file and trying to execute that and it executes, but I get the same...
|
by: prakashwadhwani |
last post by:
I have a button on my (continuous) form which when pressed performs
the foll 2 actions:
1) it resets the field "Init_Bal" to 0
2) it computes the closing balances & stores them in the field
"Init_Bal"
Now ... the 1st time I run "Cmd_Compute_Click", the program works
perfectly. However, If I run "Cmd_Compute_Click" again immediately, I
get the foll error:
|
by: hussainiyad |
last post by:
Dear ADezii
i,m totlally new for vb 6.0 and i,m doing a invoice project and i,m facing a issue , can you plz tell me solution
i,m trying to retrive some datas from sql Product table
it contains following fields
ItemNo int,Descrption varchar(20),Supid int,SupName varchar(20),Purprice float,SalPrice float,QtyIn int,QtySold int
i,m trying to retrive some datas from sql Product table
|
by: hussainiyad |
last post by:
Dear All
i,m totlally new for vb 6.0 and i,m doing a invoice project and i,m facing a issue , can you plz tell me solution
i,m trying to retrive some datas from sql (Product table)
it contains following fields
ItemNo varchar(10)
1.N1001
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |